Forum Jump :

Author Message


Posts: 3
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2013-05-12 21:22        
     
I need to remove all items/ weapons from AI in the mission editor, however I don't know the command for it, I understand how to remove singular items, but cannot find the command to remove all. The AI I need to remove the weapons from is a 'Commander' , and the init command I have tried doesn't work:( unit removeallweapons "Commander"; )
It would be appreciated if someone could correct me with this.

This post was edited by Foxhound (2013-05-12 22:23, ago)


Author Message


Posts: 20255
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 41
In-game name: Foxhound

 
#2 Posted at 2013-05-12 22:23        
     
Proper syntax usually helps:
http://community.bistudio.com/wiki/removeAllWeapons
In this case "removeAllWeapons this".

Visit my family webshop desteigerhoutshop.nl.

Advertisement


Author Message


Posts: 3
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2013-05-13 09:12        
     
Ok! Thanks for your help!


Author Message

ESPI  



Posts: 71
Rank:


Level: Member

Country: es
Location: andalucia
Occupation: modelador 3d y programador
Age: 42
In-game name: ESPI

 
#4 Posted at 2013-05-13 11:52        
     
remove weapons vehicle?






Tags: Commands, Init