$qcassert <condition> <arguments> <bool>
If the result of the condition is not equal to the boolean specified, the compile will fail, informing the user of the result of the assert.
Currently, there are only 2 conditions.
- boneexists (takes bone name and model source name)
- importboneexists (takes bone name)
To do: What, exactly, does importboneexists do?
$qcassert boneexists "whatifgaming" "official.dmx" false
If there is a bone in the DMX file "official.dmx" named whatifgaming, compiling will cease. Otherwise, the model will compile as normal.