Open madmaxoft opened 8 years ago
Perhaps we can improve the Info.lua
file to include the parameter combinations?
That is a possibility, but that would be already a bit too "chatty" for a description file. If we can auto-detect the param usage, that should be enough.
It's still possible to test individual commands using the Scenario file's playerCommand
action, after all.
Command fuzzing could be made much more intelligently:
cRoot:GetWorld()
-> the param is a world namecWorld:GetPlayer()
,cWorld:DoWithPlayer()
-> the param is a player nametonumber
-> a number is expected for this param