Skip to content

Creating a kit with a "Fallen" option

GreenerGreener Member Posts: 430
I'm interested in creating an option to have my Kensai "fall" to an ordinary fighter if the parties reputation drops to a certain level. I've managed to compile the following reading through various other mods, but I have no idea where to place it or how to use it, nor if its even complete. Any advice would be appreciated...

IF
Kit(Player1,KENSAI)
ReputationLT(Player1,8)
Global(“FallenKensai”,”GLOBAL",0)
THEN
RESPONSE #100
SetGlobal(“FallenKensai”,”GLOBAL",1)
ActionOverride(Player1,AddKit(FIGHTER))
Wait(1)
DisplayStringNoName(Player1,~You've become dishonoured, and are no longer a Kensai~)
PlaySound("REPDOWN")
END

Comments

  • GreenerGreener Member Posts: 430
    Furthermore is it possible to code it so that they keep all of the abilities gained up to the point at which they've fallen?
  • elminsterelminster Member, Developer Posts: 16,317
    edited March 2016
    Baldur.bcs (or baldur25.bcs in the case of ToB) would be where something like this would go.
  • GreenerGreener Member Posts: 430
    Thank you...
Sign In or Register to comment.