Home   Help Search Login Register  

Author Topic: delay spawn empty units  (Read 1284 times)

0 Members and 1 Guest are viewing this topic.

Offline 70gunner

  • Members
  • *
delay spawn empty units
« 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.

Offline LeeHunt

  • Former Staff
  • ****
  • John 21:25
Re: delay spawn empty units
« Reply #1 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

Offline 70gunner

  • Members
  • *
Re: delay spawn empty units
« Reply #2 on: 12 Jun 2007, 22:40:57 »
2 option works Thx  :good:
« Last Edit: 12 Jun 2007, 23:19:07 by 70gunner »

Offline LeeHunt

  • Former Staff
  • ****
  • John 21:25
Re: delay spawn empty units
« Reply #3 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!