So I found that, by default, tags are off. And I need to write in Rules.yaml, for light infantry, for example :
Code: Select all
light_inf:
ScriptTags:
I already found function for Lua:
AddTag(string tag) - Add a tag to the actor.
Code: Select all
light_inf:
ScriptTags:
Really. In that case, Lua returns error:Otherwise the engine will think you're trying to pass a color as an integer, which won't work.