Page 1 of 1

Expose Unit Spawner Attributes

Posted: Thu Jan 10, 2019 6:03 pm
by Muppet9010
Could the unique attributes of the Unit Spawner prototype be exposed as read only within the API under LuaEntity.

It was the "call_for_help_radius" attribute that I was trying to get, but after a discord discussion with Bilka I also notice that a number of other Unit Spawner specific attributes aren't exposed, i.e. spawning_radius

Re: Expose Unit Spawner Attributes

Posted: Mon Oct 07, 2019 9:31 am
by Bilka
Added LuaEntityPrototype::call_for_help_radius, max_count_of_owned_units, max_friends_around_to_spawn, spawning_radius and spawning_spacing read for the next version.