ScriptName <ScriptName> extends Quest conditional
Event OnInit()
registerforupdate(0.1)
gotostate("s")
EndEvent
state s
Event OnUpdate()
if(xx == xx) ; Bedingung
Actor Ac = game.findrandomactorfromref(game.getplayer(), 1000)
if(ac.haslos(game.getplayer())
if(ac.getcombattarget() != game.getplayer())
ac.startcombat(game.getplayer())
endif
endif
endif
endEvent
endstate