Home   Help Search Login Register  

Author Topic: special "Flying"  (Read 544 times)

0 Members and 1 Guest are viewing this topic.

GingaWRATH

  • Guest
special "Flying"
« on: 01 Oct 2004, 08:08:34 »
I have 4 parachutes set on the map as special = none. (not flying)

I want to teleport them wich i can do no probs, but i also wanna make em start in the air soon when they teleport. using script in an sqs file.

Any ideas?

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:special "Flying"
« Reply #1 on: 01 Oct 2004, 08:19:26 »
Have a look at setPos.

SetPos select 2 is the height of an object, and you can set it to what you want.
« Last Edit: 01 Oct 2004, 08:22:52 by THobson »

GingaWRATH

  • Guest
Re:special "Flying"
« Reply #2 on: 01 Oct 2004, 08:43:44 »
Sweet thanx m8

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:special "Flying"
« Reply #3 on: 01 Oct 2004, 08:57:43 »
I must have been half a sleep when I replied above.  It should be

setPos[x,y,z]

where z is the height.

getPos select 2 gives you the height of an object

DBR_ONIX

  • Guest
Re:special "Flying"
« Reply #4 on: 01 Oct 2004, 23:16:47 »
Code: [Select]
para01 setpos [getpos this select 0, getpos this select 1, height]
para01 is the parachute name
;)
- Ben