This mod contains contains a bunch of Lua functions that can be easily used through the console menu, allowing you to do your everyday tasks,
such as testing, debugging or just messing around for fun.

To access the Lua console in-game use the ~ key (in some keyboards it's the key to the left of the number 1 , over the Tab key).


###################
How to use:

Type the name of the function followed by a set of parenthesis:

SpawnActor()

All the functions have default values in case you don't give them arguments (or set them as nil).
For example, SpawnActor() has a total of 5 arguments (presetname, position, team, amount, inventory). You must set the arguments in the correct
correlative order.

SpawnActor(Vector(100,0),0,"Dummy","SMG",1) will NOT work because the argument order is wrong.

SpawnActor("Dummy",Vector(100,0),0,1,"SMG") will work, because the argument order is correct.

You can omit arguments or set them as nil if you'd prefer to use their default value.

SpawnActor("Ronin Heavy") will simply spawn a Ronin Heavy actor. You'd usually use the function like this if you want to test how strong an actor
is, or if you want an actor to test guns on.

SpawnActor("Ronin Heavy",nil,nil,10) will spawn 10 Ronin Heavy actors. Notice the nil; you MUST put the arguments in the correct order, if you
would have tried instead SpawnActor("Ronin Heavy",10) it would return an error since the second value must be a vector. Nil will effectively
set the argument as default. Notice how the last argument was omitted; omitting arguments works exactly the same as setting them as nil, though
you must be careful of not changing the argument order when you omit one.

For example,

SpawnActor("Ronin Heavy",nil,nil,nil,nil) is the same as SpawnActor("Ronin Heavy")
SpawnActor("Ronin Heavy",nil,nil,10,nil) is the same as SpawnActor("Ronin Heavy",nil,nil,10)
SpawnActor("Ronin Heavy",Vector(250,300),nil,nil,nil) is the same as SpawnActor("Ronin Heavy",Vector(250,300))

###################
An extensive list of functions is found in Functions.txt
It includes functions' arguments, description, default values and what it returns (in case it does return something).