OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Resources Beta Testing & Submission => Topic started by: GeneralCoder on 02 Sep 2003, 22:22:11

Title: Object mover system.
Post by: GeneralCoder on 02 Sep 2003, 22:22:11
Hi, once I made a base wich had opening doors and hatches so I just though it could be usefull to other people too. Even AI doesn't know how to use them (well in ofp they just run thru! :) ) they are usefull in multiplayer and lot of fun!

So go ahead and try thoes door's at the base...
Title: Re:Object mover system.
Post by: Sniper_Kyle on 19 Oct 2003, 18:39:33
Very nice idea, would be good for some missions.  One suggestion would be to change the time it take before you setpos something.  Maybe choose a time that makes it look smoother.

ChEeRs,
      Sniper_Kyle ;D
Title: Re:Object mover system.
Post by: O Neil on 26 Oct 2003, 23:05:31
Hey

Do you recon you could make objects move ? Soz, dunno if it's off topic, but I was wondering if you could say, get a light object (Runway lights) to move like, down the street or soemthing ;) Get me  ???

O'Neil

PS: Just wondering
Title: Re:Object mover system.
Post by: Blanco on 27 Dec 2003, 04:00:34
Very, very nice script!  :cheers:

I tried to make an scripted elevator with it (with the mapfact BauelementenV1 addon, floors, walls...), but I forgot that units fall through when they're standing on a moving object. Not always, but not always is not good enough...  :'(
Title: Re:Object mover system.
Post by: HuNtA on 19 Feb 2004, 15:02:02
then y not setPos thye player with teh elevator, like so

#move
_z1 = getPos man select 2
_z2 = getPos elevator select 2
man setPos [getPos man select 0, getPos man select 1, _z1 +1]
elevator setPos [getPos elevator select 0, getPos elevator select 1, _z2 +1]
~1
goto "move"
Title: Re:Object mover system.
Post by: dmakatra on 20 Feb 2004, 20:54:22
I get crashed back to desktop! ???

:beat: *Gets Shot* :beat:
Title: Re:Object mover system.
Post by: Blanco on 20 Feb 2004, 21:39:31
then y not setPos thye player with teh elevator, like so

because I want the player be able to move & turn when he's going up...