Home   Help Search Login Register  

Author Topic: "teleporting" soldier  (Read 799 times)

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