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: "teleporting" soldier  (Read 1269 times)

0 Members and 2 Guests are viewing this topic.

front-soldier

  • Guest
"teleporting" soldier
« on: 29 Nov 2005, 20:47:32 »
hi!
i have a question, i'm working since four days on my ofp 1.45 map and now i have a big problem:

the main object in my story is to come to morton but on the way there you'll be shot and so on .. and now i've made a animation, where the whole group jumps out of the destroyed uh60. The problem is that after the animation, i want me (player1) not on this position, where i landed!!! because i want to make something like: to be like unconscious (only black fade out, with text: "some hours later", and then fade in again) so that after this script the main player have to be on an other place ...

That's it ...

P.S.: I've tried all things like creatunit(x,y,z) and so on but i never made it correctly ...
« Last Edit: 29 Nov 2005, 20:49:39 by front-soldier »

LoTekK

  • Guest
Re:"teleporting" soldier
« Reply #1 on: 29 Nov 2005, 20:53:06 »
Code: [Select]
player setpos [x,y,z]or place a gamelogic (named dummy for this example) where you want to teleport the player:
Code: [Select]
player setpos getpos dummy

front-soldier

  • Guest
Re:"teleporting" soldier
« Reply #2 on: 30 Nov 2005, 17:05:42 »
yeah i'll try it ... thanks....