Jump to content

Daodan DLL: Difference between revisions

m
(custom res. is not a feature of the current Daodan DLL)
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 is returned, barring any programming oversight by Gumby.
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]