OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: 70gunner on 12 Jun 2007, 18:28:43

Title: delay spawn empty units
Post by: 70gunner on 12 Jun 2007, 18:28:43
How to delay spawn an empty tank,hummer by trigger. I can put them there in advance but realy would like to do it by delay spawn so nobody goes first to take the equipment and then starts doing objectives.
Title: Re: delay spawn empty units
Post by: LeeHunt on 12 Jun 2007, 18:34:17
Here's two potential solutions, someone might have a better one.  You could...

1) have a script that runs from init.sqs after the delay you want (say ~30 or whatever)

so in init.sqs

~30
[] exec "createtank.sqs"

and then in the script create the vehicle at the location

2) have the tank on an island to teh side of the map and then setpos it to the location you want. you could leave an empty game logic or pallet there and setpos the tank on top of it
Title: Re: delay spawn empty units
Post by: 70gunner on 12 Jun 2007, 22:40:57
2 option works Thx  :good:
Title: Re: delay spawn empty units
Post by: LeeHunt on 13 Jun 2007, 18:30:34
cool. its quite common too. i think that's why they made those side islands, just to park stuff for later in everyone's missions!