Account
News
Downloads
Community
Wiki
Walkthrough

Xirethard02TrigZonePLAYER01SCRIPT

Editor ID:
Xirethard02TrigZonePLAYER01SCRIPT


Form ID:
0005516B


Type:
Object


Script:
scn Xirethard02TrigZonePLAYER01SCRIPT

; Activates linked Parent object once

short triggered
short counter
ref target
ref mySelf01
ref mySelf02
float timer

begin onTrigger player
set triggered to 1
if triggered == 1 && (timer >= 0 && timer <=0.25) && counter == 1
set mySelf01 to Xirethard02StatueHungerTarget01REF.getSelf
set mySelf02 to Xirethard02StatueHungerTarget02REF.getSelf

Xirethard02StatueHungerTarget01REF.activate mySelf01 1
Xirethard02StatueHungerTarget02REF.activate mySelf02 1

set counter to 2
endif

if triggered == 1 && (timer >= 1 && timer <=1.25) && counter == 2
set mySelf01 to Xirethard02StatueHungerTarget03REF.getSelf
set mySelf02 to Xirethard02StatueHungerTarget04REF.getSelf

Xirethard02StatueHungerTarget03REF.activate mySelf01 1
Xirethard02StatueHungerTarget04REF.activate mySelf02 1

set counter to 3
endif

if triggered == 1 && (timer >= 2 && timer <=2.25) && counter == 3
set mySelf01 to Xirethard02StatueHungerTarget05REF.getSelf
set mySelf02 to Xirethard02StatueHungerTarget06REF.getSelf

Xirethard02StatueHungerTarget05REF.activate mySelf01 1
Xirethard02StatueHungerTarget06REF.activate mySelf02 1

set counter to 4
endif

if triggered == 1 && (timer >= 3 && timer <=3.25) && counter == 4
set mySelf01 to Xirethard02StatueHungerTarget07REF.getSelf
set mySelf02 to Xirethard02StatueHungerTarget08REF.getSelf


Xirethard02StatueHungerTarget07REF.activate mySelf01 1
Xirethard02StatueHungerTarget08REF.activate mySelf02 1

set counter to 0
endif

if triggered == 1 && timer > 5
set counter to 0
endif

end


begin gameMode

if triggered == 1 && counter == 0
set triggered to 0
set counter to 1
set timer to 0
endif

if timer >= 0 && triggered == 1
set timer to timer + getSecondsPassed
endif
end


begin onReset

set triggered to 0

end


Mit der Nutzung dieser Website erklären Sie sich damit einverstanden, dass wir Cookies verwenden. Weitere Informationen hierzu finden Sie in unserer Datenschutzerklärung.
OK