Home   Help Search Login Register  

Author Topic: unassign not working  (Read 562 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
unassign not working
« on: 11 Jul 2005, 09:34:05 »
okay ive been using the unassigncargo command but it doesnt seem to be working (im not even sure if its the right command to use)
im trying to get all the men get out of a truck when a trigger is activated so i thought unassign would work obdviously not im the leader of one of the squad does that make a difference ?
i just want the whole squad to get out of the rucks without using waypooints as im not sure when the truck will be when the trigger will be acivted

im not to sure how i used the command as im at school and are aloud on the internet but  its something like

{_x unassign truckalpha} foreach units group player

that might not be exactly how i used it but thats as close as i can rememeber whats wrong withit ?

ProudPotter2490

  • Guest
Re:unassign not working
« Reply #1 on: 11 Jul 2005, 09:42:17 »
That command hates me too. Try making a workaround using the following script: http://www.ofpec.com/editors/resource_view.php?id=195. You may need to do a little editing such as changing the action from 'EJECT' to 'GET OUT' etc... You may be able to figure out the correct syntax also! Good luck with this :)!
ProudPotter2490 :afro:

Offline 456820

  • Contributing Member
  • **
Re:unassign not working
« Reply #2 on: 11 Jul 2005, 09:46:15 »
ah thanks ill have a go with that

oh wait i just remembered some function wich should unload all men out of a helicopter i may be able to get it to work with trucks

anyway thanks ill have a look

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:unassign not working
« Reply #3 on: 11 Jul 2005, 15:26:52 »
try this:

{unassignvehicle _x} foreach units group player
{_x action ["eject",vehicle _x]} foreach units group player

Offline 456820

  • Contributing Member
  • **
Re:unassign not working
« Reply #4 on: 11 Jul 2005, 16:53:39 »
thanks ill try that ina bit

Offline 456820

  • Contributing Member
  • **
Re:unassign not working
« Reply #5 on: 11 Jul 2005, 18:01:58 »
seems to work thanks alot