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: Mortar 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 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






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
Aus10=M=
Private


Avatar



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!
View user's profile Visit user's homepage View All Posts By User U2U Member
Iceman
Owner/Admin
*********

Avatar

Avatar


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

Mood: Very happy

[*] posted on 4-12-09 at 07:04


This is single player only. Most of the wac files only cater for single play.

Iceman






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

  Go To Top





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