OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Sakato on 28 Aug 2002, 22:05:20

Title: Need an object parachute script!
Post 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.
Title: Re:Need an object parachute script!
Post by: Cedaie on 29 Aug 2002, 06:55:23
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"
Title: Re:Need an object parachute script!
Post by: Fishion on 29 Aug 2002, 13:11:30
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"
Title: Re:Need an object parachute script!
Post by: Pow3r on 29 Aug 2002, 19:52:53
:booty:  :)
Title: Re:Need an object parachute script!
Post by: ste150 on 29 Aug 2002, 22:35:24
this is a script ive used b4,
  it doesnt allways work tho
http://members.lycos.co.uk/bloodmixer/Parachute_Dropping_v1-1.zip
Title: Re:Need an object parachute script!
Post by: DeusRich on 31 Aug 2002, 12:01:09
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..
Title: Re:Need an object parachute script!
Post by: OPF FREAK on 02 Sep 2002, 01:19:53


[attachment deleted by admin]
Title: Re:Need an object parachute script!
Post by: Captain Winters on 04 Sep 2002, 21:18:55
how come u cant just use this command:?
<ammocratename> moveInCargo <paraname> ??
Title: Re:Need an object parachute script!
Post by: OPF FREAK on 04 Sep 2002, 22:05:05
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