Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
44 lines
1.5 KiB
44 lines
1.5 KiB
3 years ago
|
Scriptname _00E_SmokePipe_Wall_SC extends ObjectReference
|
||
|
|
||
|
Import Utility
|
||
|
Import Debug
|
||
|
|
||
|
;=====================================================================================
|
||
|
; EVENTS
|
||
|
;=====================================================================================
|
||
|
|
||
|
Event OnActivate(ObjectReference akActionRef)
|
||
|
|
||
|
akSelfActor = akActionRef as Actor
|
||
|
akSelfActor.TranslateToRef(Self, 100.0)
|
||
|
|
||
|
If __Config_isSittingMarker
|
||
|
_00E_QuestFunctions.PrintDebugMessage("Is sitting marker, add spell.")
|
||
|
akSelfActor.AddSpell(_00E_Smoking_abSmokingSitting)
|
||
|
Else
|
||
|
akSelfActor.AddSpell(_00E_Smoking_abSmoking)
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
;=====================================================================================
|
||
|
; FUNCTIONS
|
||
|
;=====================================================================================
|
||
|
|
||
|
|
||
|
;=====================================================================================
|
||
|
; PROPERTIES
|
||
|
;=====================================================================================
|
||
|
|
||
|
bool Property __Config_isSittingMarker = False Auto
|
||
|
{This has to be set to true in order for the animation to play from a cross-legged-pose rather than a standing one. Default = FALSE.}
|
||
|
|
||
|
bool bIsSmoking
|
||
|
|
||
|
Actor akSelfActor
|
||
|
|
||
|
visualeffect property _00E_Smoking_PipeSmokingFlameEffect auto
|
||
|
visualeffect property _00E_Smoking_PipeSmokingSmokeExhaleEffect auto
|
||
|
|
||
|
Spell Property _00E_Smoking_abSmoking Auto
|
||
|
Spell Property _00E_Smoking_abSmokingSitting Auto
|