Posts: 1272
Registered: 2-4-06
Location: Adelaide South Australia
Member Is Offline
Mood: Very happy
posted on 29-5-09 at 17:23
Event Command Script
The Event command is a very convenient command to use. It will allow a command to execute when an event has occurred. The example below uses event 2
to execute a wave command.
If event (2) and never then
wave("dfm141.wav", 100)
endif
Baldo_the_Don
Administrator
Posts: 945
Registered: 12-5-08
Member Is Offline
Mood: Nervous, but cheerful.
posted on 29-5-09 at 18:18
I don't know about convenient, but it is a quick and easy way to trigger a .wac event.
I question its convenience 'cause if you move the events around in the .bms, you have to edit the .wac.
I prefer to trigger .wac events using the same thing that triggers the .bms event, but that's not always possible. Sometimes I'll have the .bms
event change a mission variable that then triggers the .wac event.
But the event trigger is great for testing a .wac event quickly just to see if it works before you spend a lot of time constructing a more reliable
trigger.