Home   Help Search Login Register  

Author Topic: Rspawning with parachute  (Read 1148 times)

0 Members and 2 Guests are viewing this topic.

sgt. fury

  • Guest
Rspawning with parachute
« on: 02 Jul 2003, 22:04:12 »
Hi Folks!

I want respawning players to respawn falling out of the sky in a parchute. How can I make this work? I've looked all over this MB, but I can't find a proper answer anywhere.

F.

Logic

  • Guest
Re:Rspawning with parachute
« Reply #1 on: 12 Sep 2003, 01:36:11 »
I've used this script to respawn players over a town. TownCenter is a game logic object I used to mark the center of the town and attach the script to.

#makealive
@(alive player)
player setpos [((getpos TownCenter) select 0)+(random 440)-220,((getpos TownCenter) select 1)+(random 440)-220,100]
_plane="parachute" camcreate (getpos player)
player moveindriver _plane
@(!alive player)
goto "makealive"