SRL Archive - OSR Help

player experiance and levels


Shuttleu

2010-06-17 07:46:41

ok well im probably going to sound stupid, but how do you find the players skill experience and skill level with reflection in simba.

i have been trying to find out for the last hour looking through all the includes and i cant find it anywhere

i used to use GetMe in scar but it isnt in GetMe in simba :(

~shut

EDIT: ok another thing i cant find, how do you get the ID of what i am weilding?
so if im holding a sword, how would i get the ID?

masterBB

2010-06-17 10:50:54

{*******************************************************************************
function GetEquppedIDAt(spot: integer): Integer;
By: Drags111
Description: Returns a the ID of the item in the slot.
*******************************************************************************

GetEquppedIDAt(EQUIPMENT_WEAPON);

^^ question 2

And I can't find the xp and lvl either, maybe we don't have it yet. In the old reflection we had GetMe.Levels but not anymore, unless level is the new levels?

Method

2010-06-17 11:08:14

The fields for skill levels and experience haven't been added yet. I think I saw Drags mention that he would work on getting them added, so keep an eye out for them shortly.

Shuttleu

2010-06-17 11:13:55

From: masterBB
{*******************************************************************************
function GetEquppedIDAt(spot: integer): Integer;
By: Drags111
Description: Returns a the ID of the item in the slot.
*******************************************************************************

GetEquppedIDAt(EQUIPMENT_WEAPON);

^^ question 2

And I can't find the xp and lvl either, maybe we don't have it yet. In the old reflection we had GetMe.Levels but not anymore, unless level is the new levels?

ahh thank you, for somereason i didnt check equipment.simba :duh:
From: Method
The fields for skill levels and experience haven't been added yet. I think I saw Drags mention that he would work on getting them added, so keep an eye out for them shortly.


ah ok, thanks for clearing that up for me :)

~shut