Thread: [DFX] Wac limits? :( (DFX/JO)
View Single Post
  #4  
Old 05-17-2018, 06:37 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Here is a small section triggering events using the vars.
Note that actions for v18 are set in the MEd event editor.

Code:
// ***MassAttack***
if past(200) and eq(v9,6) and never() then
set(v18,1)
endif

// ***ShootersInTheHills***
//
if area(27) and lt(v50,0) and not eq(v34,2) or eq(v34,3) and never() then
	set(v34,1)
endif
if previous() and waveready() and never() then
	wave("ALPH554.wav")
	text("Shooters In The Hills!")
endif
//
if area(27) and eq(v50,0) and not eq(v34,1) or eq(v34,3) and never() then
	set(v34,2)
endif
if previous() and waveready() and never() then
	wave("ALPH554.wav")
	text("Shooters In The Hills!")
endif
//
if area(27) and gt(v50,0) and not eq(v34,1) or eq(v34,2) and never() then
	set(v34,3)
endif
if previous() and waveready() and never() then
	wave("ALPH554.wav")
	text("Shooters In The Hills!")
endif
Reply With Quote