Home   Help Search Login Register  

Author Topic: Is it bossible to know angle of object?  (Read 619 times)

0 Members and 1 Guest are viewing this topic.

GeneralCoder

  • Guest
Is it bossible to know angle of object?
« 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? :)

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:Is it bossible to know angle of object?
« Reply #1 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
« Last Edit: 13 Jan 2003, 08:03:21 by toadlife »
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:Is it bossible to know angle of object?
« Reply #2 on: 13 Jan 2003, 19:05:14 »
actually use camcreate, not createvehicle
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

GeneralCoder

  • Guest
Re:Is it bossible to know angle of object?
« Reply #3 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!