Quantcast New Warden functions - LoTROInterface
Search Downloads

Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

Thread Tools Display Modes
Unread 10-02-2011, 01:19 AM
MrJackdaw's Avatar
MrJackdaw MrJackdaw is offline
The Undying
Interface Author - Click to view interfaces
Join Date: Feb 2009
Location: Lancaster, England
Posts: 249
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;
Player = Turbine.Gameplay.LocalPlayer.GetInstance()
Then the listener;
*What you want to happen*
PlayerAttributes:GetGambitCount() returns the count of current gambits
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!
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta
Reply With Quote
Unread 10-04-2011, 04:53 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
Join Date: Oct 2010
Posts: 245
There are also a pair of new events:

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.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
issue with functions inside of a class SanDBoX Lua Programming Help (L) 18 10-08-2010 07:44 PM
LUA REQ: Warden Gambit Helper Valdacil Interface Requests (L) 5 09-28-2010 09:15 AM

All times are GMT -5. The time now is 12:39 AM.

Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | VGInterface | LoTROInterface | MMOInterface | Swtorui