Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
703 B
35 lines
703 B
Scriptname _00E_PlayIdleTrigg extends ObjectReference
|
|
|
|
Idle Property IdleToPlay Auto
|
|
Actor Property Actor01 Auto
|
|
Actor Property Actor02 Auto
|
|
Actor Property Actor03 Auto
|
|
Actor Property Actor04 Auto
|
|
Actor Property PlayerREF Auto
|
|
Sound Property LaughingSound Auto
|
|
Sound Property LaughingSound02 Auto
|
|
int doOnce
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
while AkActionRef == PlayerREF && doOnce == 0
|
|
Actor01.PlayIdle(IdleToPlay)
|
|
Actor03.PlayIdle(IdleToPlay)
|
|
Actor04.PlayIdle(IdleToPlay)
|
|
LaughingSound.Play(Actor01)
|
|
Utility.Wait(13)
|
|
Actor02.PlayIdle(IdleToPlay)
|
|
LaughingSound02.Play(Actor02)
|
|
endwhile
|
|
|
|
EndEvent
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
doOnce =1
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
|
|
|