Page 1 of 1

How do I play a simple 2d sound?

Posted: 31 Jul 2017, 05:38
by sLoPpYdOtBiGhOlE
Hi again,
Sorry, please disregard, found an example in dynamic_news_helper.script
All good

How do I play a simple 2d sound not specific to a npc or world object?
eg: create a sound object from a string path and pass play() on the sound object, destroy sound object when finished?

To think I actually wrote a c wrapper for IrrKlang so I could use the sound engine for 2d/3d sounds in my fav script language (AutoIt).
And yet I can't even wrap my mind around a simple play 2d sound on a key press in scripts for