Difference between revisions of "Manual:DIL Manual/addaff()"
Jump to navigation
Jump to search
(XML import) |
|||
Line 2: | Line 2: | ||
<span id="bpaddaff"></span> | <span id="bpaddaff"></span> | ||
− | + | addaff( u : unitptr, id : integer, duration : integer, beat: integer, | |
− | + | data0 : integer, data1: integer, data2: integer, | |
+ | tif_first : integer, tif_tick : integer, tif_last : integer, apf : integer, ) | ||
+ | |||
u : Unit to add affect to. | u : Unit to add affect to. | ||
id : Affect id to add, see ID_* in values.h and/or vme.h | id : Affect id to add, see ID_* in values.h and/or vme.h | ||
result: Adds affect 'id' at 'u' with first, tick, and last TIF_XXX's | result: Adds affect 'id' at 'u' with first, tick, and last TIF_XXX's |
Revision as of 07:02, 31 January 2022
addaff( u : unitptr, id : integer, duration : integer, beat: integer, data0 : integer, data1: integer, data2: integer, tif_first : integer, tif_tick : integer, tif_last : integer, apf : integer, )
u : Unit to add affect to. id : Affect id to add, see ID_* in values.h and/or vme.h result: Adds affect 'id' at 'u' with first, tick, and last TIF_XXX's