jkEnableSaber


Enables the saber with the given settings. Remember that just enabling the saber will not allow it to collide. The 0x2 JK Flag must be assigned to the creature holding the saber. This flag is assigned while saber fire anims are played. Syntax:

jkEnableSaber(player, flex_damage, length, unknown_flex);

flex_damage: This is the health that will be taken away from any creature the saber strikes. Remember that the actor class cogs often double the damage of the saber "for single player gameplay reasons."

length: This is the length of the saber in JKUs. This setting has nothing to do with the visual length of the saber.

unknown_flex: It is unknown what this fourth parameter does.