Hello.
So I'm working on gameScripts for some abilities I'm creating and I've come across ITEM parameters for some of the ON "trigger functions" (or w/e they're called) that are unclear to me.
I'm unsure what the ITEM:source parameter seen in the call OnTurnEnded() or the ITEM:defenderItem/ITEM:attackerItem parameters seen in OnCharacterStartAttackObject() are used for. Why would there need to be an ITEM in the parameter for OnTurnEnded() when all it does is "throw when the character's turn ended?"
Example:
EVENT MyModsTurnEffect
VARS
CHARACTER:_Caster
CHARACTER:_Target
ITEM: _Dummy
ON
[i]OnTurnEnded(_Target, _Dummy)[/i]
ACTIONS
...
Could anyone here enlighten me as to what these ITEM parameters are used for? Thanks!