4
Fork 0
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.
 
 
 

43 lines
1.3 KiB

Scriptname _00E_A1_StOilImpactRealScript extends ObjectReference
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnInit()
PlacedOil = self.PlaceAtMe(_00E_TrapOilpool_UseThisForTraps)
PlacedOil.PlayAnimation("playAnim01")
_00E_MAGShadowOilOoze.Play(PlacedOil)
PlacedOil.SetScale(1.2)
PlacedHazard = PlacedOil.PlaceAtMe(_00E_A1_ShadowtongueOil_SlippingHazard,1)
RegisterForSingleUpdate(60)
Utility.Wait(2)
self.Delete()
EndEvent
Event OnUpdate()
PlacedOil.playanimationandwait(oilAnim, oilDisappearEvent)
PlacedHazard.Delete()
PlacedOil.Delete()
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
Form OilBase
ObjectReference Property OilRef01 Auto
ObjectReference PlacedOil
ObjectReference PlacedHazard
Hazard Property _00E_A1_ShadowtongueOil_SlippingHazard Auto
Sound Property _00E_MAGShadowOilOoze Auto
float Scale
Activator Property _00E_TrapOilpool_UseThisForTraps Auto
string oilAnim = "stopeffect"
string oilDisappearEvent ="end"