How do I make it so that I can use these integers in another trigger?
I mean, a trigger like the second trigger I'm about to post.
Integers
Events
Conditions
Actions
Set Red = 10
Set Blue = 10
Set Teal = 10
Set Purple = 10
Set...
Before I say anything, I'd like to note that I wasn't sure which prefix to choose, so I picked ''Other''.
:)
Little bit of Information
I based this map off the Zergling Blood map from Starcraft. It is quite the same thing, except for the units and stats. The storyline is basically about a...
Hey, can anyone tell me if this trigger contains any leak?
Restr2
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Exterminator
(Unit-type of (Attacked unit)) Not equal to Fiend
Actions
Unit - Replace...
I want to make it so that the unit type Exterminator can't damage any unit type other than fiend, but I can't seem to get it right.
Here's my trigger...
RestrictExterminator
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to...
If I use the Unit - Replace option, will it count as a death?
Example
RulerDead
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Ruler
Actions
Game - Defeat (Owner of (Dying unit)) with the message: You lost! Your Rule...
Hey, I tried to display a text to a specific player, but it doesn't seem to be working. I tried this:
Assassin
Events
Unit - A unit enters Buy Assassin <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If...
How do I make it so that if X player has more than X units of type Fiend, it will not create units for him anymore? Here is the trigger I'm using to spawn.
Spawn
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Set Temp_Point = (Center of RedB...
Can anyone tell me if they see a leak in the following triggers please (That is, if you have free time)? I'm only a beginner at mapmaking. Post it if you see any leaks in one of those triggers, post it if you don't, I'll remove it from my to-check list. Thanks in advance!
LeaderBoard
Events...
Untitled Trigger 001
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
If ((Player 1 (Red) controller) Equal to User) then do (Unit - Create 1 Footman for Player 1 (Red) at (Center of Region 000 <gen>) facing Default building facing degrees) else do (Do...