Jump to content

Checking for fallen ranger/paladin via script


Caedwyr

Recommended Posts

Is there any way to check if a character is a fallen ranger or paladin by script?. I couldn't find anything in the kitlist or kittable or class .2da files in the IESDP.

 

Second question, would it be possible to apply a kit over top the fallen ranger/fallen paladin status?

Link to comment

Fallen(Paladin|Ranger)(O:Object*) should work. !FallenPaladin(Player1) will return true only if Player1 is not a paladin who's fallen.

 

Make sure you check trigger.ids (I may have gotten the trigger names wrong; can't remember exactly). This may work in IWD; it won't work in BG/TotSC, but should work in both SoA and ToB.

 

Cam or somebody might know about fallen + kits. I would just try it out and see what happens.

Link to comment
Fallen(Paladin|Ranger)(O:Object*) should work. !FallenPaladin(Player1) will return true only if Player1 is not a paladin who's fallen.

Maybe its me, but i'm confused by that sentence :)

 

!FallenPaladin(Player1) should return true for any non paladin (they cannot fall) and any paladin who isn't fallen.

This is because FallenPaladin(Player1) will return true only for Fallen Paladin.

Link to comment

Fallen(Paladin|Ranger)(O:Object*) should work. !FallenPaladin(Player1) will return true only if Player1 is not a paladin who's fallen.

Maybe its me, but i'm confused by that sentence :)

 

!FallenPaladin(Player1) should return true for any non paladin (they cannot fall) and any paladin who isn't fallen.

This is because FallenPaladin(Player1) will return true only for Fallen Paladin.

That is what the sentence says... I also had to read it a few times, though.

Link to comment
Maybe its me, but i'm confused by that sentence :)
Weep before the power of my English! :D

 

!FallenPaladin(Player1) should return true for any non paladin (they cannot fall) and any paladin who isn't fallen.
!Fallen() will return true only if Player1 is not a paladin who's fallen -- if Player1 hasn't fallen, it doesn't matter whether <CHARNAME> is a paladin (i.e., !PALADIN_ALL || !Fallen()) -- it's all about the position of the not.

 

I should have stayed away from the negative, sorry (i.e., FallenPaladin(Player1) will return true only if Player1 is a paladin who's fallen).

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...