ShadowRanger24 50 Posted February 22, 2017 So after using allowDamage on created units, it seems to be causing some issues where it stops working. So basically I create a unit with createUnit, call 'allowDamage false' on it and then put them inside the vehicle. They seem to occasionally lose their 'god mode' when they get into vehicles. Is this to do with locality? If so, would I just need to re-execute it on wherever the unit is local to? I read into unit locality and couldn't find much that states how their locality changes etc so I'm not 100% sure. Thanks in advance. Share this post Link to post Share on other sites
feldruebe 12 Posted February 22, 2017 I think your problem is, that your vehicle is still vulnerable. Try to make it invincible too. Share this post Link to post Share on other sites
Nikander 123 Posted February 23, 2017 On 2/22/2017 at 9:38 AM, ShadowRanger24 said: seem to occasionally lose their 'god mode' when they get into vehicles. Is this to do with locality? allowDamage description in the wiki suggests that it has global effect as long as it doesn't change locality so, as feldruebe points out, the command might affect the current vehicle of the unit only and when that is changed the command should be re-applied. Share this post Link to post Share on other sites