• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help for a Tringer

Status
Not open for further replies.
Level 4
Joined
Feb 28, 2020
Messages
48
Hey hey, i would like to make something simple to say, but i have no idea how to do this !

I would like to use a region, that can be pass by a hero only if he had X level (level 10 or 15 in my situation) i really dont know how to do this.

If someone can help THX A LOT :D
 
This is a very basic trigger that'll do the job. It will move your hero back (Assuming the pathway moves from left to right) when he tried to enter it. Adjust the degrees angle appropriately depending on from which direction your hero will come from.

Also add some memory leaking cleanup if you care about that sort of thing.

vFFHoO8.png
 
i know how to do this event and this action, but i dont find this condition "hero level of triggering unit", im a bit noob i have many hour on the editor but i have kid, now i just start to use trigger
 
It's under "Integer Comparison".

Idk if im retard, if i miss something, if i havent all the option of condition, but in my cause its condition of item, im not sure i can do that with item comparasion lel
 

Attachments

  • Sans titre.png
    Sans titre.png
    21.3 KB · Views: 32
Idk if im retard, if i miss something, if i havent all the option of condition, but in my cause its condition of item, im not sure i can do that with item comparasion lel

Integer comparison is right there in your image, above Item comparison.
From there, your default option will be "(Number of units in (Units in (Playable map area)))". Click that to open a new window, and from that window use the dropbox next to the "Function" tick to scroll up to "Hero - Hero Level".

9GKGkLi.png
 
@DrunkenDirt Instead of trigger screenshots (when possible) use: How To Post Your Trigger

Both you and @Nosiaz should read Things That Leak to avoid some location leaks in this trigger.

I'm aware that the trigger leaks, hence why I pointed it out. I just thought that bringing it up further with variables and custom scripting would confuse matters even more. Cheers for pointing out the trigger posting, I'll try to keep it in mind for the future.
 
so that work, but it will be better if the action is not a tp, and just a way back of the unit, so the unit go back of the region anyway the angle it come, no idea if that possible
 
i know how to do this, but this is not the perfect way, my map would have many zone, with many change, like a forret a mountain ect, i would like to all neutre passif, the animal giving soul to the zone doesnt move to a other, shave do a png of my idea
 

Attachments

  • ui.png
    ui.png
    13.5 KB · Views: 45
Status
Not open for further replies.
Back
Top