Jump to content
Sign in to follow this  
Mok Sith

Jump script

Recommended Posts

hello all, I am wondering if anyone has made or know of a useraction to make an object jump....somewhat like the "Wanzar" jumps...just not lift off and float around....more like a grasshopper, jump up and forward up to a set height the come back down....i have read through all 93 pages of this topic and, while finding alot of useful answers to other question i found nothing on jumping. i am not wanting to make a man jump but a vehicle.

thanks in advance

Share this post


Link to post
Share on other sites

this addaction ["jump","jump.sqs"]

; jump.sqs

_c=_this select 0

?player != driver _c:exit

?(getpos _c select 2)>0.2:exit

_v=velocity _c

_v set[2,(_v select 2)+10]

_c setvelocity _v

exit

It doesn't work for soldiers in OFP.

Share this post


Link to post
Share on other sites

many thanks Pulverizer!!!!

will test this out as soon as i get home and back on the project!!!!

i will make sure to credit you as the sqs author when i release the addon, sometime in the next few days......thanks again

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×