OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: GeneralCoder on 05 Jan 2003, 18:14:14

Title: Is it bossible to know angle of object?
Post by: GeneralCoder on 05 Jan 2003, 18:14:14

Hi

So is it bossible to know objects angle, not direction?
I was doin parachute script but it looks stupid if the unit doesnt swing whit the chute, u know?
Or is there simplier way to jump of the buildings using parachute? :)
Title: Re:Is it bossible to know angle of object?
Post by: toadlife on 13 Jan 2003, 08:00:33
First Question: No
Second Question: Yes, create a parachute with "creatvehicle" and move the person who is jumping into it.

Code: [Select]
_chute = "parachute" createvehicle getpos player
player moveindriver _chute
Title: Re:Is it bossible to know angle of object?
Post by: toadlife on 13 Jan 2003, 19:05:14
actually use camcreate, not createvehicle
Title: Re:Is it bossible to know angle of object?
Post by: GeneralCoder on 17 Jan 2003, 01:36:41
First Question: No
Second Question: Yes, create a parachute with "creatvehicle" and move the person who is jumping into it.

Code: [Select]
_chute = "parachute" createvehicle getpos player
player moveindriver _chute

Heh so simple, and i was doin parachute script. :)

Thanks Toadlife!