• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Nullify triggers locals ?

Status
Not open for further replies.
Level 18
Joined
Sep 14, 2012
Messages
3,413
[SOLVED] Nullify triggers locals ?

Ok my question is simple, here's the code :

JASS:
function Init takes nothing returns nothing
    local trigger t = CreateTrigger()
    // Do some Stuff !
    set t = null
endfunction

Do i need to nullify the trigger local or not ?
I saw many people nullify it and some other saying it's not useful.
What's the best ?
 
Last edited:
Status
Not open for further replies.
Top