• 🏆 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!

Help to noob =) {setting a unit variable to last created unit, in JASS}

Status
Not open for further replies.
Level 8
Joined
Apr 24, 2008
Messages
151
hi all please tell my how its works
if i use a local variables but i understand how its works than global variables
i global i can create:
  • Set unit = (LastCreatedUnit)
But in local i set :
JASS:
local unit = u
how to set u to "LastCreatedUnit"?
 
Status
Not open for further replies.
Top