Last active: Never
Not logged in [Login - Register]
Portal Portal   Search the forums Search   Frequently Asked Questions FAQ   View member list Member List   Staff Staff List   View Topic Activity Topic Activity   Forum Stats Stats   Board Rules Board Rules   Downloads Downloads
Go To Bottom

Printable Version | Subscribe | Add to Favorites  
Author: Subject: Event Command Script
Iceman
Owner/Admin
*********

Avatar

Avatar


Posts: 1272
Registered: 2-4-06
Location: Adelaide South Australia
Member Is Offline

Mood: Very happy

smug.gif 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






http://www.dfreload.com/eagle/sigs/16.gif

http://www.dfreload.com/sigs/doc_bar.gif

http://www.dfreload.com/sig/teamreload3.gif

View user's profile Visit user's homepage View All Posts By User U2U Member
Baldo_the_Don
Administrator
********

Avatar



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.




View user's profile Visit user's homepage View All Posts By User U2U Member

  Go To Top





Powered by XMB
Developed By The XMB Group © 2001-2008