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

Post Reply
robot256
Filter Inserter
Filter Inserter
Posts: 596
Joined: Sun Mar 17, 2019 1:52 am
Contact:

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

Post 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.

robot256
Filter Inserter
Filter Inserter
Posts: 596
Joined: Sun Mar 17, 2019 1:52 am
Contact:

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

Post by robot256 »

I see this was moved to Implement Mod Interface Requests. Thanks for taking care of it!

Post Reply

Return to “Implemented mod requests”