Guest User

Untitled

a guest
Jan 24th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. #****************************************************************************
  2. #**
  3. #** File : /cdimage/units/UAB0301/UAB0301_script.lua
  4. #** Author(s): David Tomandl
  5. #**
  6. #** Summary : Aeon Land Factory Tier 3 Script
  7. #**
  8. #** Copyright © 2005 Gas Powered Games, Inc. All rights reserved.
  9. #****************************************************************************
  10.  
  11. local AWalkingLandUnit = import('/lua/aeonunits.lua').AWalkingLandUnit
  12.  
  13. local UAL0001OLD = UAL0001
  14.  
  15. UAL0001 = Class(UAL0001OLD) {
  16.  
  17. OnExtraToggleClear = function(self, ToggleName)
  18. UAL0001OLD.OnExtraToggleClear = function(self, ToggleName)
  19. if toggleName == 'RULEETC_TechToggle' then
  20. --do my stuff here
  21. end
  22. end
  23.  
  24.  
  25. OnExtraToggleSET = function(self, ToggleName)
  26. UAL0001OLD.OnExtraToggleClear = function(self, ToggleName)
  27. if toggleName == 'RULEETC_TechToggle' then
  28. --do my stuff here
  29. end
  30. end
  31.  
  32.  
  33. }
  34.  
  35. TypeClass = UAL0001
Add Comment
Please, Sign In to add comment