Hi guys,
I'm trying to attach custom flute music to the FlutePlaying Idle Marker when used by NPCs which, used as it is in the CK, seems to be silent.
I've created a sound marker linked to the idle marker and attached the script to the idle marker. Here's what I've tried so far:
EVENT onTriggerEnter (objectReference akActionRef) if (akActionRef != game.GetPlayer()) ObjectReference MyLink01 = GetLinkedRef() MyLink01.Enable() endifendEVENTEVENT onTriggerLeave (objectReference akActionRef) if (akActionRef != game.GetPlayer()) ObjectReference MyLink01 = GetLinkedRef() MyLink01.Disable() endifendEVENT
NPCs do use the idle but the sound never plays.
I'm quite new at scripting though other scripts I've wriiten seem to work but I cannot get this one right. Can anybody give me a hand?
Many thanks in advance .
Hoamaii