Builder Bob
Live free or don't
- Reaction score
- 249
Let's say I have a function like this:
How can I make the IsHandleATrigger() and IsHandleATimer() functions? Are there any possibilities?
JASS:
function DestroyHandle takes handle h returns nothing
if IsHandleATrigger(h) == true then
DestroyTrigger(h)
elseif IsHandleATimer(h) == true then
DestroyTimer(h)
endif
endfunction
How can I make the IsHandleATrigger() and IsHandleATimer() functions? Are there any possibilities?