Jump to content
Sign in to follow this  
Huntersbutt

Editing a units inventory from description.ext

Recommended Posts

I know you can edit a unit's inventory via its init field by adding such commands as 'this addweapon' etc. However I am trying to write up a script that will define load outs for a unit template so that my communities missions can base themselves off of this structure. But I have one fundamental problem. such commands as '*unit's name here* addweapon "*addweapon name here*" don't work. When I try to load the mission up it kicks me out of the game and gives me an error I don't understand.

Could someone please let me know what I need to be writing, or direct me somewhere that would help.

Thanks

EDIT

Don't worry i figured it out myself.

Edited by Huntersbutt
Discovered what I have to do

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×