LuaEntityPrototype sounds
-
AverseMoon
- Burner Inserter

- Posts: 7
- Joined: Wed Oct 23, 2024 3:07 am
- Contact:
LuaEntityPrototype sounds
atm only EntityPrototype (data stage) has entity sounds (mining, mined, walking, etc) in it, i would like a way to access these at runtime for a specific LuaEntityPrototype
Re: LuaEntityPrototype sounds
Those sounds can be played using the SoundPath.
Or do you want to do something else with the sounds?
Or do you want to do something else with the sounds?
-
AverseMoon
- Burner Inserter

- Posts: 7
- Joined: Wed Oct 23, 2024 3:07 am
- Contact:
Re: LuaEntityPrototype sounds
i would like to get the mining sounds for any arbitrary entity but will not work as entity.prototype is a LuaEntityPrototype (runtime prototype) and the mining_sound property is only available in EntityPrototype (data stage)
Code: Select all
entity.prototype.mining_soundRe: LuaEntityPrototype sounds
Ah, I see what you mean.
Re: LuaEntityPrototype sounds
Why?AverseMoon wrote: Wed Mar 11, 2026 6:59 pm i would like a way to access these at runtime for a specific LuaEntityPrototype
If you want to get ahold of me I'm almost always on Discord.
