I've created an 'Easter Egg' scene for my game, as part of the background story.
What happens is this;
The player lifts an an entity up, carries it to another entity, drops it, and it disappears, then re-appears at the other side of the room. I've successfully created the destroying and spawning script, but I need to make a sound play, when the entity being carried is destroyed.
Here's the script so far, with a 'plrsound' action, which doesn't work (the rest of the script does work), I've also tried the 'sound' action, which doesn't work either;
:state=0:state=1
:state=1:settargetname=Teleporter IN,state=2
:state=2,reachtarget:plrsound=audiobank\scifi\scenery\lifts\teleport.wav,destroy,state=3
:state=3:activateifused=1,state=4
Can anyone tell me what I'm doing wrong?