Anderen2 / RTS

An 3D LAN-Multiplayer (R)eal (T)ime (S)trategy game (C&C Generals style) made in Python.
0 stars 0 forks source link

Consolemodule Addcommand function #21

Closed Anderen2 closed 12 years ago

Anderen2 commented 12 years ago

Add it! So its not necessary to put every command into debug.py

Anderen2 commented 12 years ago

Added. Function name is debug.ACC(cmdname, functionpointer, commanddescription, argumentsneeded) Giving -1 in argsneeded makes the command run at any number of arguments