Page 1 of 1

SetCannotControl function

Posted: Tue Sep 18, 2012 10:11 am
by rf900
I want to show up some friendly units but not let the player control them until a given turn.

I was using this function but I can still move the units, am I missing something?

//set the flag for player control of a unit. 0 for off, anything
else for on
SetCannotControl(id, value)

Re: SetCannotControl function

Posted: Tue Sep 18, 2012 3:53 pm
by pipfromslitherine
Yeah - I don't think that ever got implemented - I was actually looking to use it the other day! I will add it to the bug list (and update the docs!) as it would definitely be useful, but there are a goodly number of issues with it (e.g. not including them in the next unordered unit, etc).

Cheers

Pip