PDA

View Full Version : Triggers: events and tasks help please!!!


samedi
10-04-2009, 11:48 AM
Hello everyone i have a question about events, first of all how do u use them and make them work, i can only use events with reinforcements so please explain how i can use them with other things as well, also how do you add objectives to your game, i cant seem to do it pleease please help!

Manic_Mechanic
10-31-2009, 12:59 AM
You can use events for things other than reinforcements by using the "event" command in a trigger.

The event command has three properties:

Event: where you select the event you want the command to influence.
Mode: let's you choose to turn the event on or off
Delay: adds a time delay so the event isn't activated until the delay has passed.


Now that you've set a trigger to activate an event you can use the condition "event" to make the event in question control other triggers.

The event condition only has two properties:

Mode: The options here are kind of confusing. I'm still not sure what the "on" or "off" selections do, but if you choose "work" the condition will be met when the event has been activated by another trigger, but won't be met before then or after an "event" command with the mode "reset" has deactivated the event.
ID: Allows you to select the event the condition is refering to.




As for objectives, you need to go to the missions properties window (press F9 while in mission editor mode) and choose tasks. Here you can right click and choose "add" to create an objective, just like creating events in the event section of the mission properties window.


Tasks don't do anything on their own, theyneed to be controlled by triggers.



I hope that helps, if you still have any questions feel free to ask me.

samedi
11-07-2009, 12:13 AM
are u a map editor cos that really helped thanks

Manic_Mechanic
11-10-2009, 06:00 AM
I'm not a professional map editor, but because I like to play the game single player I use the GEM editor quite often to make new challenges for myself.

Because I learned to write in BASIC awhile back it's been pretty easy to figure out most of the scripting commands in the editor.


Most of them There's still a few options which elude me. :grin: