OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: RujiK on 01 Oct 2005, 03:21:31

Title: setpos off ladder bug
Post by: RujiK on 01 Oct 2005, 03:21:31
Recently I have found some bugs in OFP that are going to make my mission faulty unless they can be fixed. Appearently when you are climbing a ladder you CANNOT setpos yourself off. It simply setposes you and then an instand later, it setposes you back to the ladder.

And the second bug is if you are on a ladder during a cutscene (any cinematics) you can move up and down during the camera scene. That isnt really too much of a problem however not being able to setpos yourself off the ladder can cause some major bugs. This may need to be reported to codemasters or whoever if no answer can be found.

If anyone can find a loop around it please give me some info. Thanks!




(changed title to make it more descriptive... bedges)
Title: Re:setpos off ladder bug
Post by: THobson on 01 Oct 2005, 10:47:48
Interesting.  You can also create some problems for yourself if you setPos units out of vehicles during cut scenes.  Now you have found a problem with ladders I suggest you just avoid them in cutscenes.

It is BIS not Codemasters that need to be told, but my experience of trying to do that is not a happy one.  Put it on the Bugged Command thread here at ofpec.

http://www.ofpec.com/yabbse/index.php?board=8;action=display;threadid=24887;start=15
Title: Re:setpos off ladder bug
Post by: RujiK on 01 Oct 2005, 19:03:15
Yes, I have already tried avoiding it however there are several towers at the area I am using and if the player for some reason decides to climb one it will destroy the whole mission.
Title: Re:setpos off ladder bug
Post by: macguba on 01 Oct 2005, 19:19:26
Make the towers setDammage 1.  Think up an excuse for blown up towers and put it in the mission somewhere.   Maybe blow up some other buildings too and say there was an unsuccesful air strike or something.

Work with the game engine, and its limitations.    If you want to stop the player from doing something, its much better to make that prevention part of the mission.    
Title: Re:setpos off ladder bug
Post by: The-Architect on 04 Oct 2005, 12:35:00
What about unassigning your player?

Also, use the disableuserinput for your cutscene.