| Author |
Message |
Geoffrey S Gamorrean
Joined: 29 Jan 2005
|
Posted: Jun 27, 2005 13:21 Post subject: Trouble with triggers |
|
|
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

Joined: 25 Sep 2003
|
Posted: Jun 27, 2005 18:24 Post subject: |
|
|
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
|
Posted: Jun 28, 2005 02:20 Post subject: |
|
|
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
|
Posted: Jun 28, 2005 12:34 Post subject: |
|
|
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
|
|
Tom Manning Trandoshan
Joined: 27 Sep 2003
|
Posted: Jul 01, 2005 01:37 Post subject: |
|
|
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 |
|
|