Start work adding documentation for builtins.

This commit is contained in:
JezuzLizard
2024-02-21 00:48:43 -08:00
parent 23115982fe
commit 2ab3179a84
5 changed files with 152 additions and 23 deletions

14
zm_ai_pack/sys.gsc Normal file
View File

@ -0,0 +1,14 @@
// T6 Script Builtins
/@
Adds <fx_name> as a configstring to the fx configstring pool.
Returns an index that can be used in many different functions and methods to play an fx.
The fx configstring pool is limited to 195 entries before fx configstring overflow occurs.
On Plutonium addonfx pool was added to bypass this limit so functions add to this configstring pool
have another 256 entries.
USAGE: level._effect[ effect_alias ] = loadfx( <fx_name> );
PARAMS: <string>
@/
loadfx( fx_name )
{
loadfx( fx_name );
}