OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Sakato on 28 Aug 2002, 22:05:20
-
Hy guys, I'm looking for a script for making things (as an ammo crate for my mission) fall from the sky with a parachute.
-
worms style huh, i dunno if this'll work but try, in the ammo crates init field type this moveindriver para
para being the empty parachute name
empty/air/parachute
name it para
like I said I dunno if it works, I hope so, else, in a script put
#loop
crate setpos getpos para
goto "loop"
-
Don't forget a delay in the script:
and the height probably needs to be adjusted
#loop
~0.1
crate setpos [(getpos para select 0), (getpos para select 1),(getpos para select 2) - 2]
goto "loop"
-
:booty: :)
-
this is a script ive used b4,
it doesnt allways work tho
http://members.lycos.co.uk/bloodmixer/Parachute_Dropping_v1-1.zip
-
parachutes are a bit weird, sometimes, when there is none in them, they collapse and hurtle down to the ground.... mayb if they are set to flying rather than just created in the air it mite work.... otherwise that script is fine, should mke sure the ammo box stays 1 metre below the parachute
only thing is, it wont rotate, I think using cos, sin and tan you can set the angles the same... neway, try it and post any problems with it here..
-
[attachment deleted by admin]
-
how come u cant just use this command:?
<ammocratename> moveInCargo <paraname> ??
-
I think you can only put soldiers or men into the parachute and youd have to put <ammocratename> moveIndriver <paraname> but it would only work with men