Level Scripts
level scripts are associated with maps in defs/mapInfo.txt
todo: discuss game/level modules and shared entities
$script <ID>
declares a function that can be invoked via its ID by an event sector, kGame::CallDelayedMapScript(), or the puke console command
$script 0 gets invoked once automatically during level startup
$restart
when called from inside a $script, restarts that $script on the next tick
void delay( float t )
pause execution for t seconds, or 1 tick, whichever is longer
