Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scriptname Bulwark_ThaneChest_Summon extends ObjectReference
- ;VisualEffect Property Bulwark_Chest_Effect Auto
- EffectShader Property Bulwark_Chest_FXS Auto
- ObjectReference myGlow
- ObjectReference Property BulwarkStashQasmoke Auto
- Event OnEffectStart(Actor akTarget, Actor akCaster)
- akTarget = Game.GetPlayer()
- akCaster = Game.GetPlayer()
- BulwarkSpell()
- ;iBulwarkStashQasmoke = BulwarkStashQasmoke
- ;float myScale = BulwarkStashQasmoke.getScale()
- ;myGlow = Bulwark_Chest_Effect.play(BulwarkStashQasmoke, -1)
- ;myGlow.setScale(myScale)
- ;BulwarkStashQasmoke.Moveto(Game.GetPlayer(), 0, 0, 0)
- ;Bulwark_Chest_FXS.Play(BulwarkStashQasmoke, 8.0)
- ;Utility.Wait(8.0)
- ;BulwarkStashQasmoke.Disable()
- BulwarkSpellCleanup()
- EndEvent
- Function BulwarkSpell()
- BulwarkStashQasmoke.Moveto(Game.GetPlayer(), 0, 0, 0)
- Bulwark_Chest_FXS.Play(BulwarkStashQasmoke, 8.0)
- EndFunction
- Function BulwarkSpellCleanup()
- Utility.Wait(8.0)
- BulwarkStashQasmoke.Disable()
- EndFunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement