Activator to start script to start music

Post » Mon Feb 02, 2015 9:36 am

I created a floor rug as an activator

I created a script that should run when the rug is walked over

However it does not, I did the auto-fill on the script properties

I am thinking the rug is not being triggered, but if the Player walks across it that should trigger it correct

Scriptname DPDAddMusicOnActivateOn extends ObjectReference

{plays music when player enters trigger}

MusicType property MUSTownTest auto
{Music to play when player enters trigger}

Auto STATE Listening
EVENT OnActivate (objectReference triggerRef)
gotoState ("done")
MUSTownTest.Add()
endEVENT
endState

STATE done
; do nothing
endSTATE

User avatar
bimsy
 
Posts: 3541
Joined: Wed Oct 11, 2006 3:04 pm

Return to V - Skyrim