Home   Help Search Login Register  

Author Topic: 2 guns on heli script  (Read 538 times)

0 Members and 1 Guest are viewing this topic.

CODY2622

  • Guest
2 guns on heli script
« on: 10 Apr 2003, 00:14:43 »
ok guys. I found this mgcarry script over at editors depot and I cant seem to get it to move around a vehice. It just stays in the same spot on the car or heli. Can someone please help?

_hammy_

  • Guest
Re:2 guns on heli script
« Reply #1 on: 10 Apr 2003, 02:30:40 »
It may be a outdated script, if you would post a link to the script download, or paste the script here, then maybe we could help you.

Yahoo

  • Guest
Re:2 guns on heli script
« Reply #2 on: 11 Apr 2003, 23:18:54 »
Same problem here and here is the script i am using ps not mine


Quote
_carrier   = _this select 0
_cargo      = _this select 1
_height         = _this select 2

endCargoSession = false

goto debug

#carrier

_x = (getPos _carrier) select 0
_y = (getPos _carrier) select 1
_z = ((getPos _carrier) select 2)+_height

_cargo setPos [_x, _y, _z  ]
_cargo setDir (getDir _carrier)

~.01

? (!endCargoSession) : goto "carrier"

@ endcargosession
_cargo setpos [_x,(_y)-1.5,0]

exit