Blitz Commands
Over 471 Blitz3D Commands are Supported, however, there are some slight differences.
1) Parameter(s) must be enclosed within Parenthesis. Missing Parenthesis will result in error.
Example: positionentity(camera,0,0,-3,0)
2) BlitzScript3D accounts for ALL Parameters of the Blitz Command, thus, you cannot omit a Default Parameters. Absense of any Parameters will result in error.
Example: cone=createcone(8,1,0)
BlitzScript3D Commands
BlitzScript3D Commands are Hardcoded BlitzScript3D Functions that effect the load and execution of a script. The same rules apply to them as with Blitz Commands.
BlitzScript...EndBlitzScript BlitzScript {scripthandle}
{statements}
EndBlitzScriptCreates a Sub-Script and stores into scripthandle_ variable. All variables and arrays created in a Sub Script are accessible to all scripts and sub scripts. Scripthandles are not protected so be careful not to overwrite them.
BlitzScriptLoad BlitzScriptLoad("scriptfilename",forceRecompile)
Loads a scriptfile into the VM. The forceRecompile is set True or False. If True, the script is recompiled prior to load. If False, the VM will load the compiled *.bso script. The scriptfilename extension must be omitted.
BlitzScriptExec BlitzScriptExec(scripthandle,forceRecompile)
Loads a scriptfile into the VM and sets the run duration to infinite. The forceRecompile is set True or False. If True, the script is recompiled prior to load. If False, the VM will load the compiled *.bso script. The scriptfilename extension must be omitted.
BlitzScriptRun BlitzScriptRun(scripthandle, duration)
Sets a loaded script's running duration to specified number. The duration value of -1 = infinite.
BlitzScriptExecute BlitzScriptExecute(scripthandle)
Immediately Executes the Script regardless of duration, schedule, or halt.
BlitzcSriptSchedule BlitzcSriptSchedule(scripthandle,schedule)
Schedules a script to execute after a specified number of updates.
BlitzScriptHalt BlitzScriptHalt(scripthandle)
Stops a script from executing.
BlitzScriptKill BlitzScriptKill(scripthandle)
Removes a Script from VM Processing.
Goto Goto(labelhandle)
This commands branches the flow of the script to a designated labelhandle.