FED2 ADVANCED WORKBENCH
SCRIPT REFERENCE
CHECKRANK
Checks the player's rank and calls a different event depending on the outcome of the check.
Parameters:
Rank to test - The rank you want to check for
Higher - The event to call if the player is at a higher rank
Equals - The event to call if the player is the same rank
Lower - The event to call if the player is at a lower rank
If you do not want an event to be called for one of the possibilities, leave the parameter blank.
Examples:
checkrank script: level merchant: lower moves.trader.2
checkrank script: level founder: lower po.check.3: equals po.check.4: higher po.check.5
For the level, type in the name of the rank in full, ie commander, captain etc.