Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Come and join our gamer community by
registering for free here
Other Gaming Forum
PC games
WarCraft III Modding
Tiny Trigger Problem
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="killzerker" data-source="post: 124227" data-attributes="member: 6694"><p>I recently have a problem with my trigger, basically its supposed to detect the number of <strong>enemy</strong> heroes near the casting the unit; when that does happen it creates a unit for the casting unit. The number of units made for the casting unit is determined by the number of <strong>enemy</strong> heroes near the casting unit, ex. 2 <strong>enemy</strong> heroes near the casting unit makes 2 units for the casting unit. This is what I got so far and its not really working can anybody help on what to fix?</p><p></p><p>Zealous Confidence</p><p> Events</p><p> Unit - A unit Begins casting an ability</p><p> Conditions</p><p> (Ability being cast) Equal to Zealous Confidence </p><p> Actions</p><p> If (All Conditions are True) then do (Then Actions) else do (Else Actions)</p><p> If - Conditions</p><p> (Level of Zealous Confidence for (Casting unit)) Equal to 1</p><p> (Number of units in (Units within 10000.00 of (Position of (Casting unit)) matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) belongs to an ally of (Owner of (Casting unit))) Not equal to True)))) Greater than or equal to 1</p><p> Then - Actions</p><p> Unit - Create 1 Footman for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees</p><p> Else - Actions</p><p> If (All Conditions are True) then do (Then Actions) else do (Else Actions)</p><p> If - Conditions</p><p> (Level of Zealous Confidence for (Casting unit)) Equal to 2</p><p> (Number of units in (Units within 10000.00 of (Position of (Casting unit)) matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) belongs to an ally of (Owner of (Casting unit))) Not equal to True)))) Greater than or equal to 2</p><p> Then - Actions</p><p> Unit - Create 2 Footman for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees</p><p> Else - Actions</p><p> Do nothing</p></blockquote><p></p>
[QUOTE="killzerker, post: 124227, member: 6694"] I recently have a problem with my trigger, basically its supposed to detect the number of [b]enemy[/b] heroes near the casting the unit; when that does happen it creates a unit for the casting unit. The number of units made for the casting unit is determined by the number of [b]enemy[/b] heroes near the casting unit, ex. 2 [b]enemy[/b] heroes near the casting unit makes 2 units for the casting unit. This is what I got so far and its not really working can anybody help on what to fix? Zealous Confidence Events Unit - A unit Begins casting an ability Conditions (Ability being cast) Equal to Zealous Confidence Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Level of Zealous Confidence for (Casting unit)) Equal to 1 (Number of units in (Units within 10000.00 of (Position of (Casting unit)) matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) belongs to an ally of (Owner of (Casting unit))) Not equal to True)))) Greater than or equal to 1 Then - Actions Unit - Create 1 Footman for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Level of Zealous Confidence for (Casting unit)) Equal to 2 (Number of units in (Units within 10000.00 of (Position of (Casting unit)) matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) belongs to an ally of (Owner of (Casting unit))) Not equal to True)))) Greater than or equal to 2 Then - Actions Unit - Create 2 Footman for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees Else - Actions Do nothing [/QUOTE]
Verification
Post reply
Other Gaming Forum
PC games
WarCraft III Modding
Tiny Trigger Problem
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top