OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: front-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 ...
-
player setpos [x,y,z]or place a gamelogic (named dummy for this example) where you want to teleport the player:
player setpos getpos dummy
-
yeah i'll try it ... thanks....