enderalse/scripts/source/_00e_fs_environmentscene03_sc.psc

65 lines
1.4 KiB
Plaintext
Raw Normal View History

Scriptname _00E_FS_EnvironmentScene03_SC extends Quest
Event OnUpdateGameTime()
KillBandits()
EndEvent
Function KillBandits()
FS_EnvironmentScene_Bandit_01_REF.Disable()
FS_EnvironmentScene_Bandit_02_REF.Disable()
FS_EnvironmentScene_CorpseParent_REF.Enable()
EndFunction
Function TakeMoney(int iAmout)
PlayerREF.RemoveItem(Gold001, iAmout)
EndFunction
Function StartSC01()
FS_SC_EnvironmentScene03.ForceStart()
EndFunction
Function StopSC01()
FS_SC_EnvironmentScene03.Stop()
EndFunction
Function StartCombatPlayer()
FS_SC_EnvironmentScene03.Stop()
FS_EnvironmentScene_Bandit_01_REF.AddToFaction(BanditFaction)
FS_EnvironmentScene_Bandit_02_REF.AddToFaction(BanditFaction)
FS_EnvironmentScene_Bandit_01_REF.SetGhost(False)
FS_EnvironmentScene_Bandit_02_REF.SetGhost(False)
FS_EnvironmentScene_Bandit_01_REF.setAv("Aggression", 2)
FS_EnvironmentScene_Bandit_02_REF.setAv("Aggression", 2)
FS_EnvironmentScene_Bandit_01_REF.StartCombat(PlayerREF)
FS_EnvironmentScene_Bandit_02_REF.StartCombat(PlayerREF)
EndFunction
Function RegisterForMurder()
RegisterForSingleUpdateGameTime(24.0)
EndFunction
Actor Property PlayerREF Auto
MiscObject Property Gold001 Auto
Scene Property FS_SC_EnvironmentScene03 Auto
Actor Property FS_EnvironmentScene_CorpseParent_REF Auto
Actor Property FS_EnvironmentScene_Bandit_01_REF Auto
Actor Property FS_EnvironmentScene_Bandit_02_REF Auto
Faction Property BanditFaction Auto