Thread: [DFX2] Some kind of WAC Builder
View Single Post
  #8  
Old 11-10-2012, 09:05 AM
Dashie is offline Dashie
Registered User

Join Date: Jun 2008
Posts: 46

Quote:
Originally Posted by stompem View Post
Wow!
Does that run alongside the editor and list the currently open map events?

This is all I can manage...

You mean like having the editor check the mis file and say what events someone has added on there? Sounds like a good idea. I can just get that info from the .mis file.

Quote:
Originally Posted by stompem View Post
Here is a working DFX2 WAC script that gives a distant flash and rumble then the thunder hits 4 or so seconds later. The low RGB count is to keep the overall light effect subtle and it seems to have a more realistic effect.

//
if past(3) and elapse(27) and random(30) then
lightning(25,25,35)
farflash()
endif
if chain(4) and waveready() then
wave("thdrdst4.wav")
endif
//
Nice, thanks! You just reminded me I also forgot to add lightning color and farflash as selectable events. I was also planning on maybe having wac code snippet files, so you could share code snippets like that and import them into the program.
Reply With Quote