sevensc
New Member
- Reaction score
- 8
Can a trigger condition leak?
Should I be setting GetUnitTypeId and GetTriggerUnit to local variables, or is it fine this way since I am not manipulating them in anyway?
Any help with this would be fantastic.
function Trig_Left_Regions_Conditions takes nothing returns boolean
return GetUnitTypeId( GetTriggerUnit() ) != ( 'u000' )
endfunction
Should I be setting GetUnitTypeId and GetTriggerUnit to local variables, or is it fine this way since I am not manipulating them in anyway?
Any help with this would be fantastic.