Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-23-22, 05:40 PM   #1
Walkerbo
A Cobalt Mageweaver
 
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 233
Brand new character test

Hi all

I want to determine if a character is brand new or not.

I can see that there is;
Lua Code:
  1. OpeningCinematic() -- Shows the opening cinematic for a player's race. Only works as long as the player has earned zero exp.

I have not been able to find a way to confirm if the opening cinematic has just played or been skipped, nor have I been able to find a way to get the amount of experience a character has.

I cannot see an experience tracker in the character statistics, even if I did I have no idea of how to get hold of various statistics.

I can access the time played and see it the time played is less than 30 seconds but I wonder if this is the best solution.

Is there a way to correctly identify if the opening cinematic has just played\skipped?

Is there a way to correctly access the character experience so I can test to positively determine if the character is newly minted?

How do I get access to character statistics, such as total deaths?
__________________
"As someone once told me, frames are just special types of tables, and tables are special types of pointers."
Fizzlemizz
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Brand new character test


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