Simple spawn script

VTE - The most detailed and comprehensive Vietnam modification for ArmA 2

Moderators: Lone Wolf, Snake Man

Post Reply
sup3rSam3r
Recruit
Posts: 11
Joined: 2011-08-17 20:40:31
Gaming Interests: ArmA 2 (Armed Assault 2)
Editing Interests: Missions
Location: Paris

Simple spawn script

Post by sup3rSam3r » 2011-09-04 18:24:20

Hello,

Here is a script that spawn a NVA Force Recon team with a few parameters as origin, distance, ability and destination of that team.
That script is launchable from any waypoint or trigger. You can create as much teams as you need.
The skillest unit is the leader, the second one has 1/5 less hability, the third has 1/4 less, ...etc.

Optionnal settings :
null = [Origin, Spawn_Distance, Leader_Ability, Destination] execVM "NVAreconSpawn.sqf"


null = [player, 300, 1] execVM "NVAreconSpawn.sqf"
=> means it will spawn a NVA recon Squad (high skilled) 300 meters random east/west/north or south of the player
with a Seek&Destroy waypoint destination on the player

null = [tank5, 5, 0.3, soldier153] execVM "NVAreconSpawn.sqf"
=> means it will spawn a NVA recon Squad (low skilled) 5 meters random east/west/north or south of tank5
with a Seek&Destroy waypoint destination on the soldier153

default values :
null = [] execVM "NVAreconSpawn.sqf"
=> means it will spawn a NVA recon Squad (middle skilled) 100 meters random east/west/north or south of player
with a Seek&Destroy waypoint destination on the player

Feedbacks will be appreciated, I choose these parameters because they are useful to me but other one could be welcome.
I do not notice any bug in it, if you finde some, please tell me.
If a demo mission is needed, just ask!

download :
http://www.megaupload.com/?d=MIYU9TVS => with hint showing you what happnes

http://www.megaupload.com/?d=3YWT7LVM => without hints

requirements:
Arma 2 (CO)
VTE

Post Reply

Return to “Vietnam: The Experience (ArmA 2)”

Who is online

Users browsing this forum: No registered users and 12 guests