New Warden functions
I managed to access the new warden functions yesterday and thought it may be useful to show the code here;
First, set the player and playerattributes; Code:
Player = Turbine.Gameplay.LocalPlayer.GetInstance() Code:
PlayerAttributes.GambitChanged=function() PlayerAttributes:GetGambit(i) returns which gambit (fist,shield,spear) is in slot i PlayerAttributes:GetGambit(PlayerAttributes:GetGam bitCount()) returns the last used gambit - will throw an error if it is zero. Have fun! |
There are also a pair of new events:
MaxGambitCountChanged GambitChanged which I think were fired for the Player object, but might have been on the Attributes - I haven't played with it much but they might be useful. |
All times are GMT -5. The time now is 11:05 PM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI