Jump to content

function that returns the armor value


Recommended Posts

(GetArmorType)

 

Returns as;

 

-1 == unarmoured

0 == Light

1 == Medium

2 == Heavy

 

Sooooo....

 

If (GetArmorType, 1 == 0)

 

Do stuff here. This guy is wearing a light cuirass

 

Endif

 

 

Helmet

0

Cuirass

1

Left Pauldron

2

Right Pauldron

3

Greaves

4

Boots

5

Left Gauntlet

6

Right Gauntlet

7

Shield

8

Left Bracer

9

Right Bracer

10

 

 

 

There is also a GetWeaponType as well

Edited by RubberMan01
Link to comment
Share on other sites

(GetArmorType)

 

Returns as;

 

-1 == unarmoured

0 == Light

1 == Medium

2 == Heavy

 

Sooooo....

 

If (GetArmorType, 1 == 0)

 

Do stuff here. This guy is wearing a light cuirass

 

Endif

 

 

Helmet

0

Cuirass

1

Left Pauldron

2

Right Pauldron

3

Greaves

4

Boots

5

Left Gauntlet

6

Right Gauntlet

7

Shield

8

Left Bracer

9

Right Bracer

10

 

 

 

There is also a GetWeaponType as well

 

thats not what I meant, I meant the armor value that is listed in your inventory under the image of your character.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...