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

Simple INF Questions

 
Post new topic   Reply to topic    DF-21 Forums Forum Index -> Dark Forces Levels & Editing
View previous topic :: View next topic  
Author Message
Tom Manning
Trandoshan

Joined: 27 Sep 2003

PostPosted: Nov 25, 2004 17:34    Post subject: Simple INF Questions View user's profile Send private message Send e-mail Reply with quote

Okay, so first, I have a class: trigger and it works like trigger toggle. I want it to only work the first time you shoot it, until it gets a message to start again, which I thought was a message done, but it works like a trigger toggle even with that INF in there.

Second, I know when an elevator sends a message, the syntax is this:

message: [stop} [sectorname[(wallnum)] [msg] [parameters]

what I don't know is what to do when the message is part of a triggers INF? in Jereth Kok's INF guide, he says you need to keep the client in the trigger's INF but, then I don't know if I need to again tell what sector the message is going to, and I don't know what to do about the [stop]

if this makes sence, I could really use some help.
Thanks

_________________
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

Patrick Haslow
Trandoshan

Joined: 25 Sep 2003

PostPosted: Nov 26, 2004 06:14    Post subject: View user's profile Send private message Reply with quote

I don't think anyone can help you with the first problem without knowing the full situation surrounding it.

Messages sent by triggers use:

class: trigger
event_mask: n
client: [sector name]
message: [msg] [parameters]

Fenwar
Admiral Ackbar
Admiral Ackbar

Joined: 15 Sep 2003

PostPosted: Nov 26, 2004 10:04    Post subject: View user's profile Send private message Reply with quote

A couple of tips which might help with the 1st problem (because I think Patrick's wrong old skool winker ) :

If you're trying to have the switch delay for a certain amount of time before you send the done message, you need to use trigger switch1.

Alternatively, if you want the switch to stop working completely, one way is to send it a master_off message (from whatever elevator it triggers). Then send it a master_on message when you want it to start working again.

Any help?

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