Page 1 of 1

Destroy unit function?

Posted: Tue Jun 11, 2013 12:33 pm
by GottaLove88s
Where is the code for the 'DestroyUnit' function called multiple times from MoraleTools.BSF?
Is this moddable... or is it just an animation call?

Re: Destroy unit function?

Posted: Tue Jun 11, 2013 3:11 pm
by pipfromslitherine
It's an inbuilt function - find the details in the autodocs.

Cheers

Pip

Re: Destroy unit function?

Posted: Tue Jun 11, 2013 6:26 pm
by GottaLove88s
Sorry Pip, where are the autodocs on the Mac version?

Re: Destroy unit function?

Posted: Tue Jun 11, 2013 7:31 pm
by pipfromslitherine
Should be in the same place, ~/Documents/My Games/BBCBA/AUTODOCS

Re: Destroy unit function?

Posted: Wed Jun 12, 2013 12:14 am
by GottaLove88s
Thanks Pip, Found it. Battlescript.txt is a useful list of BA commands and control variables. Very handy!