Iceman
|
posted on 24-5-09 at 07:13 |
|
|
Mortar Script
This script Sets the variable for a mortar attack if player is in area trigger #2 and group #3 is alive.
If ssnarea (10000,2) and groupalive (3) and never then
set (v1,1) // variable set to activate the mortars.
endif
This script starts a mortar attack at area #1 if group #3 is alive.
if eq (v1,1) and groupalive (3) then
ammoarea AMMO_60MM_MORTAR (1) //start the mortars.
endif
This script ends a mortar attack if group #3 is dead.
if eq (v1,1) and groupdead (3) and never and elapse 1 and waveready then
text("The Bad Guys have been taken out.")
Wave("happy1.wav",100)
set (v1,0) //ends the mortars.
endif
|
|
Aus10=M=
Private
Posts: 24
Registered: 8-3-07
Location: California, USA
Member Is Offline
Mood: Motivated & Dedicated
|
posted on 3-12-09 at 22:06 |
|
|
Does this work in Multiplayer (MP) or just Single Player (SP)?
I have noted that far too many of JO's functions work only for the Game-Host (SP Mode).
Aus10=M= sends regards, great idea, this WAC Forum!
|
|
Iceman
|
posted on 4-12-09 at 07:04 |
|
|
This is single player only. Most of the wac files only cater for single play.
Iceman
|
|