Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Rspawning with parachute  (Read 1787 times)

0 Members and 1 Guest 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"