CreateClass - JohnodonCode/EasyEvents GitHub Wiki
CreateClass
CreateClass is a command that allows you to create custom classes. If you don't know what custom classes are yet, take a look here. Here's how you use the command:
createclass customClassId classId
The first argument (customClassId
) can be anything. Its purpose is to be a unique identifier for your custom class. The second part of the argument (classId
) is the ID of the role that the custom class should spawn in as.
Examples
Here is how to use custom classes to make 20% of players spawn in as Scientists in HCZ, while the rest spawn in as normal Scientists:
roundlock
createclass HCZScientist 6
spawn g:HCZScientist,20 6
teleport g:HCZScientist,HCZ_ARMORY