Advertisement
GrandBulwark

Untitled

Feb 22nd, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. Scriptname Bulwark_ThaneChest_Summon extends ObjectReference
  2.  
  3. ;VisualEffect Property Bulwark_Chest_Effect Auto
  4. EffectShader Property Bulwark_Chest_FXS Auto
  5. ObjectReference myGlow
  6. ObjectReference Property BulwarkStashQasmoke Auto
  7.  
  8. Event OnEffectStart(Actor akTarget, Actor akCaster)
  9. akTarget = Game.GetPlayer()
  10. akCaster = Game.GetPlayer()
  11. BulwarkSpell()
  12. ;iBulwarkStashQasmoke = BulwarkStashQasmoke
  13. ;float myScale = BulwarkStashQasmoke.getScale()
  14. ;myGlow = Bulwark_Chest_Effect.play(BulwarkStashQasmoke, -1)
  15. ;myGlow.setScale(myScale)
  16. ;BulwarkStashQasmoke.Moveto(Game.GetPlayer(), 0, 0, 0)
  17. ;Bulwark_Chest_FXS.Play(BulwarkStashQasmoke, 8.0)
  18. ;Utility.Wait(8.0)
  19. ;BulwarkStashQasmoke.Disable()
  20. BulwarkSpellCleanup()
  21. EndEvent
  22. Function BulwarkSpell()
  23. BulwarkStashQasmoke.Moveto(Game.GetPlayer(), 0, 0, 0)
  24. Bulwark_Chest_FXS.Play(BulwarkStashQasmoke, 8.0)
  25. EndFunction
  26. Function BulwarkSpellCleanup()
  27. Utility.Wait(8.0)
  28. BulwarkStashQasmoke.Disable()
  29. EndFunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement