Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [script]Parachute function  () 1 Vote
Re: Parachute function [message #311782 is a reply to message #301225] Thu, 17 January 2008 20:28 Go to previous messageGo to previous message
Genesis2001
Messages: 1397
Registered: August 2006
Karma:
General (1 Star)
Going off what reborn said.. (but @wittebolx)

(I'm not entirely sure how to code this tbh...)

What you'd do is if a player is if the player is in a VOTL vehicle and they exit the vehicle, use reborn's Get_Random_Building() function and get the position of that building. Take the z-axis value from post positions of the object and building and subtract them. If the values are more than 8.0f meters off the ground, then deploy parachute.

Again, I'm NOT sure how to exactly code that but that is how I would rig it if I did know.

~MathK1LL


P.S. (@anyone)

I'm not doing anymore Renegade scripting so, if you ask me to do coding for you, I will say NO.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [script]AirStrike function
Next Topic: [script]!sellveh
Goto Forum:
  


Current Time: Fri Nov 22 16:29:16 MST 2024

Total time taken to generate the page: 0.01056 seconds