Page 1 of 1

[1.0.0] LuaEntity "spider-vehicle" does not support selected_gun_index

Posted: Sun Aug 16, 2020 9:34 pm
by robot256
LuaEntity::selected_gun_index does not work for spider-vehicle entities. Accessing it crashes with the error message given: "Entity is not a character nor a car."

Presumably this is an oversight since you can tab between multiple weapons on Spidertron just like any other vehicle.

Re: [1.0.0] LuaEntity "spider-vehicle" does not support selected_gun_index

Posted: Tue Aug 25, 2020 3:25 pm
by robot256
I see this was moved to Implement Mod Interface Requests. Thanks for taking care of it!