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"