• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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