Home   Help Search Login Register  

Author Topic: cannot board vehicle after transport unload...  (Read 861 times)

0 Members and 1 Guest are viewing this topic.

kevind2003

  • Guest
cannot board vehicle after transport unload...
« on: 16 Feb 2003, 13:38:57 »
Any ideas? I found

"_x assignascargo A1" foreach units grp; "[_x] ordergetin true" foreach units grp

doesn't work after transport unload, any script available to force AI controlled group to board a vehicle?  ???
« Last Edit: 16 Feb 2003, 15:29:31 by kevind2003 »

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:cannot board vehicle after transport unload...
« Reply #1 on: 16 Feb 2003, 14:18:16 »
If you want a group to get into the back of a vehicle, isnt it "AssignAsCargo" ?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:cannot board vehicle after transport unload...
« Reply #2 on: 16 Feb 2003, 14:37:59 »
I think so

kevind2003

  • Guest
Re:cannot board vehicle after transport unload...
« Reply #3 on: 16 Feb 2003, 15:31:57 »
sorry typing mistakes, should be assignascargo, it doesn't work after transport unload, but work if the soldiers aren't inside the chopper at start

junkie-xL

  • Guest
Re:cannot board vehicle after transport unload...
« Reply #4 on: 22 Feb 2003, 15:19:48 »
same problem here

what's wrong with the following, they don't board

_grp = _this select 0
_vehicle = _this select 1
_vehicle2 = "c130_1"

_aunits = units _grp

_i = 0
_j = count _aunits

#Here
(_aunits select _i) action ["EJECT",_vehicle]
unassignvehicle ( _aunits select _i)
(_aunits select _i) setbehaviour "CARELESS"
(_aunits select _i) assignascargo c130_1
[(_aunits select _i)] ordergetin true

_i=_i+1
~1
?_j>_i:goto "Here"

exit