Jump to content


Photo

LevelParty[GT/LT] trigger, how does it work?


  • Please log in to reply
3 replies to this topic

#1 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 15 July 2015 - 07:39 AM

Can someone enlighten me, please.

 

I understood from IESDP that the LevelParty[GT/LT] trigger checks for the highest party member level.

 

The trigger at hand is LevelPartyGT(4)

 

I have a single class thief at level 5

The PC, a monk, is level 5

Two single class NPCs are level 4

The cleric/fighter character has both classes at 4

 

The trigger does not fire.

Is that to be expected (all other conditions are clearly fulfilled)?


The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*

 


#2 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 15 July 2015 - 09:01 AM

Edit

I assume it is meant to be the highest party member level for the LT condition and the lowest for the GT, i.e. all party members must be above or below the level. Mathematically expressed.


The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*

 


#3 Argent77

Argent77
  • Administrator
  • 1397 posts

Posted 15 July 2015 - 09:18 AM

IESDP states for LevelPartyGT():
Returns true only if the average level of the party is greater than the number specified. Only the highest level of dual/multi-class characters is taken into account.

In your example the average party level is 4.4, which is truncated or rounded to 4 by the engine, and therefore returns false for LevelPartyGT(4).

Edited by Argent77, 15 July 2015 - 09:18 AM.


#4 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 15 July 2015 - 10:18 AM

IESDP states for LevelPartyGT():

Returns true only if the average level of the party is greater than the number specified. Only the highest level of dual/multi-class characters is taken into account.

In your example the average party level is 4.4, which is truncated or rounded to 4 by the engine, and therefore returns false for LevelPartyGT(4).

Thank you, this is pretty clear now.


The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*