DF-21 Forums Forum Index DF-21 Forums
The Dark Forces Community
 
DF-21.net Home | FAQ | Search | Memberlist  | Register 
Profile | Log in to check your private messages | Log in

Trouble with triggers

 
Post new topic   Reply to topic    DF-21 Forums Forum Index -> Dark Forces Levels & Editing
View previous topic :: View next topic  
Author Message
Geoffrey S
Gamorrean

Joined: 29 Jan 2005

PostPosted: Jun 27, 2005 13:21    Post subject: Trouble with triggers View user's profile Send private message Reply with quote

Another minor INF problem; the idea is that the player walks into a room, which triggers a spawning command for a stormtrooper in an adjecent room. Here's what I've got for coding.

The logic for the spawned stormtrooper:
Quote:
LOGIC: GENERATOR STORM1
NUM_TERMINATE: 1
DELAY: 0
INTERVAL: 0
MAX_ALIVE: 1
MAX_DIST: 4
MIN_DIST: 1
MASTER: OFF




The INF for the triggering room:
Quote:
item: sector name: officerroom
seq
class: trigger
event: 4
event_mask: 4
client: spawnmaster1
seqend



The INF for the dummy sector giving the spawn command:
Quote:
item: sector name: spawnmaster1
seq
class: elevator move_floor
sound: 1 0
sound: 2 0
sound: 3 0
stop: 0 hold
stop: 1 1
message: 1 spawn1 master_on
message: 1 spawn2 master_on
message: 1 spawn7 master_on
stop: 2 hold
seqend[/i]



The awkward thing is that I've used this kind of INF before and it worked perfectly; this is an almost complete copy of said INF. I'm guessing the problem is something to do with the officerroom INF, as I've been having some earlier trouble with similar triggers, but as before this is a direct copy of INF that worked fine earlier in similar situations.
Anyone got any idea on what it is I'm doing wrong?

The MAZZTer
Death Star
Death Star

Joined: 25 Sep 2003

PostPosted: Jun 27, 2005 18:24    Post subject: View user's profile Send private message Send e-mail Reply with quote

Give the dummy elevator sounds, make it a floor moving elevator and give it a close location to the officeroom and see if you can hear it moving when it should.

_________________
http://www.mzzt.net/ | I am a respectable admin with a respectable sig.

Tom Manning
Trandoshan

Joined: 27 Sep 2003

PostPosted: Jun 28, 2005 02:20    Post subject: View user's profile Send private message Send e-mail Reply with quote

If you are using BBedit on a Mac, put a return or two after seqend if that is the last bit of INF in your file right now. If that solves it, don't feel dumb, it took me several hours to figure it out.

_________________
Tom Manning
For all that you hold dear on this good Earth, I bid you, Stand, Men of the West!
Aragorn: Return of the King

Geoffrey S
Gamorrean

Joined: 29 Jan 2005

PostPosted: Jun 28, 2005 12:34    Post subject: View user's profile Send private message Reply with quote

I gave the dummy elevator sounds, and it appeared they weren't doing anything. I've been busy editing the triggers and they seem to be triggering the elevators properly now, so it's all working.

Patrick Haslow
Trandoshan

Joined: 25 Sep 2003

PostPosted: Jun 28, 2005 12:57    Post subject: View user's profile Send private message Reply with quote

Tom Manning wrote:
If you are using BBedit on a Mac, put a return or two after seqend if that is the last bit of INF in your file right now. If that solves it, don't feel dumb, it took me several hours to figure it out.



I have never had to put returns before seqend. I suspect something else was wrong that you corrected without being aware of it.

Tom Manning
Trandoshan

Joined: 27 Sep 2003

PostPosted: Jul 01, 2005 01:37    Post subject: View user's profile Send private message Send e-mail Reply with quote

No, after seqend, and I dunno, but thats the only thing that I know I changed.

_________________
Tom Manning
For all that you hold dear on this good Earth, I bid you, Stand, Men of the West!
Aragorn: Return of the King

Display posts from previous:   
Post new topic   Reply to topic    DF-21 Forums Forum Index -> Dark Forces Levels & Editing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group