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

Trigger and Variable help: how to assign the unit to the Variable?

Status
Not open for further replies.
Level 4
Joined
Feb 21, 2021
Messages
40
I'm trying to learn things messing around with the Main Campaign but I already faced a problem. I'm scratching my head around since an hour.
For context it's Mission 01 of Human Campaign.
I'd like to change the bandits units that ambush you. I found units they are just hidden between the trees so they are already present in the map. But the editor doesn't order to the sepcific unit to attack: it has a variable. "Abusher01", "Ambusher02" and so on...


1617457911516.png


So I went to look what it consisted of and I found out this that to my noobie mind means nothing.

1617458183138.png


The game just knows this name is a Unit, but how does he know it's the Bandit? And how can i change it?

Please don't tell me a shortcut to do it: I know i could just put dryades between the tree and select them as units to make the ambush... but i want to understand how the variables work.

This is something happeing in all the campaign. So my question actually is: HOW do i assign a specifi unit to the variable, and how can i understand who it is on the map once is done?

Thank you very much to whoever will take some min for me.
 
Last edited:
Status
Not open for further replies.
Top