Instructions
1) create "binds" directory under your Lua folder
2) copy the formations.Lua into the "binds" directory
Start the script - /lua run binds/formations
Usage -
/formation <name> [parameters]
Example -
/formation halfmoon 25 on
Adding formations -
Add your function to the formations table -
1) create "binds" directory under your Lua folder
2) copy the formations.Lua into the "binds" directory
Start the script - /lua run binds/formations
Usage -
/formation <name> [parameters]
Example -
/formation halfmoon 25 on
Adding formations -
Add your function to the formations table -
INI:
-- this would add an "example" formation
-- Usage: /formation example [dist] [someRandomizeValue] [debug]
formations.example = function(dist, someRandomizeValue, debug, etc...)
-- write the calculations here (reference halfmoon for sending commands to group members)
end