Advertisement
Guest User

AddTrigger transparent param

a guest
Aug 21st, 2013
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.92 KB | None | 0 0
  1. ;defines would be shared by UI code elsewhere
  2. #define _EQ1_ICECLAD 1
  3. #define _EQ1_SHMHASTE 2
  4. #define _EQ1_HPTEMP 3
  5. #define _EQ1_SHMCANNI 4
  6. #define _EQ1_NECCANNI 5
  7.  
  8. function main()
  9. {
  10.     AddTrigger EQ1_BuffDuration "[@trash@] You feel the preservation of the Iceclad surround you." _EQ1_ICECLAD
  11.     AddTrigger EQ1_BuffDuration "[@trash@] You feel much faster." _EQ1_SHMHASTE
  12.     AddTrigger EQ1_BuffDuration "[@trash@] Vines and foliage protect your body." _EQ1_HPTEMP
  13.  
  14.     AddTrigger EQ1_Cooldown "[@trash@] Your body aches as your mind clears.@IgnoreStuff@" _EQ1_SHMCANNI
  15.     AddTrigger EQ1_Cooldown "[@trash@] The embrace fades.@IgnoreStuff@" _EQ1_NECCANNI
  16.    
  17.     while 1
  18.     {
  19.         wait 5
  20.         ;someObject:updateUI
  21.     }
  22. }
  23.  
  24. atom EQ1_BuffDuration(string _Line, string _DateTime, string _buffId)
  25. {
  26.     ;someObject:addBuffTimer[_buffId]
  27. }
  28.  
  29. atom EQ1_Cooldown(string _Line, string _DateTime, string _buffId)
  30. {
  31.     ;someObject:addCooldownTimer[_buffId]
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement