19,287
edits
(custom res. is not a feature of the current Daodan DLL) |
m (→Added BSL functions: typo) |
||
Line 360: | Line 360: | ||
===Added BSL functions=== | ===Added BSL functions=== | ||
Any time a function can both get and set a value, and you set the value, the old value should be | Any time a function can both get and set a value, and you set the value, the old value should be returned, barring any programming oversight by Gumby. | ||
====Math==== | ====Math==== | ||
* int '''int32mul''' n1:int n2:int | * int '''int32mul''' n1:int n2:int | ||
Line 372: | Line 373: | ||
* int '''int32rand''' start:int end:int | * int '''int32rand''' start:int end:int | ||
:Returns a pseudo-random number between two numbers (inclusive). | :Returns a pseudo-random number between two numbers (inclusive). | ||
====Characters==== | ====Characters==== | ||
* int '''d_getkills''' [ai_name:str | script_id:int] | * int '''d_getkills''' [ai_name:str | script_id:int] |