SlashCo Wiki

SlashCo.RegisterSlasher

  SlashCo.RegisterSlasher( Slasher table, string name )

Description

Registers a SLASHER table as a playable slasher, assigning it a unique ID.
Can only be called while slashers are being loaded, calling it afterwards raises an error.

Arguments

1Slasher table

The SLASHER table to register

2string name

Name to register the slasher under. Defaults to table.Name