AceLegend90
New Member
- Reaction score
- 6
...if that struct is returned, will the value be null?
For example, I'm trying to do something like this:
If the struct doesn't exist, does spell = null after this piece of code?
For example, I'm trying to do something like this:
JASS:
local BoneRend spell
if GetTriggerEventId() == EVENT_UNIT_SPELL_EFFECT then
set spell = GetCSData(GetSpellTargetUnit())
else
set spell = GetCSData(GetTriggerUnit())
endif
If the struct doesn't exist, does spell = null after this piece of code?