- Joined
- Sep 11, 2013
- Messages
- 467
Hi there!
I want to make a new item, but is seems very impossible to me
..
The item description sound like this: When activated, this item will search for 10 seconds each second in 3000 range around you for enemies and will put a red ping on minimap on each enemy in that range. If you move in these 10 seconds the position of searching (3000 range) must update with your position and must red ping the new units (if there any) and will close the red ping for units that are no longer in your range. Also, when the spell start a green 360 grades green pings will show on minimap updating each second with your position and in the same time a special effect "TalkToMe.mdl" will fliker to your head each second until the spell end(10 seconds). (I think the spell must be MUI)
In my map I have 2 teams( team1 & team2 ) and i have 1 Player Group(PG) for team1 & 1 for team2. Also i have 1 Unit Group(UG) for team1 & 1 for team2.
I am still a noob with triggers, but here is what i've tried. (I know if shouldn't work, but i don't know how to fix that)
..
The Help will be appreciated!
I want to make a new item, but is seems very impossible to me
The item description sound like this: When activated, this item will search for 10 seconds each second in 3000 range around you for enemies and will put a red ping on minimap on each enemy in that range. If you move in these 10 seconds the position of searching (3000 range) must update with your position and must red ping the new units (if there any) and will close the red ping for units that are no longer in your range. Also, when the spell start a green 360 grades green pings will show on minimap updating each second with your position and in the same time a special effect "TalkToMe.mdl" will fliker to your head each second until the spell end(10 seconds). (I think the spell must be MUI)
In my map I have 2 teams( team1 & team2 ) and i have 1 Player Group(PG) for team1 & 1 for team2. Also i have 1 Unit Group(UG) for team1 & 1 for team2.
I am still a noob with triggers, but here is what i've tried. (I know if shouldn't work, but i don't know how to fix that)
The Help will be appreciated!
-
Wraithwatcher Use
-
Events
-
Unit - A unit Uses an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to Book of the Dead
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Hero manipulating item)) is in PG_Team2.) Equal to True
-
-
Then - Actions
-
Set VariableSet UG_Wraithwatcher1 = (Units within 3000.00 of (Position of (Triggering unit)) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit)).) Equal to True).)
-
Countdown Timer - Start PingTimer1Wraith as a One-shot timer that will expire in 10.00 seconds
-
Trigger - Turn on PingTeam1Wraith <gen>
-
Game - Display to (All players) the text: z1
-
-
Else - Actions
-
Set VariableSet UG_Wraithwatcher1 = (Units within 3000.00 of (Position of (Triggering unit)) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit)).) Equal to True).)
-
Countdown Timer - Start PingTimer2Wraith as a One-shot timer that will expire in 10.00 seconds
-
Trigger - Turn on PingTeam2Wraith <gen>
-
Game - Display to (All players) the text: z2
-
-
-
-
-
PingTeam1Wraith
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 0.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 45.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 90.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 135.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 180.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 225.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 270.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 315.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Game - Display to (All players) the text: zzz1
-
Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit Group - Pick every unit in UG_Wraithwatcher1 and do (Actions)
-
Loop - Actions
-
Set VariableSet TempLoc6 = (Position of (Picked unit))
-
Cinematic - Ping minimap for PG_Team2 at TempLoc6 for 1.00 seconds, using a Simple ping of color (100.00%, 0.00%, 0.00%)
-
Custom script: call RemoveLocation(udg_TempLoc6)
-
-
-
-
-
PingTeam2Wraith
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 0.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 45.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 90.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 135.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 180.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 225.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 270.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Cinematic - Ping minimap for (Player group((Triggering player))) at ((Position of (Triggering unit)) offset by 3000.00 towards 315.00 degrees.) for 3.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
-
Game - Display to (All players) the text: zzz2
-
Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit Group - Pick every unit in UG_Wraithwatcher1 and do (Actions)
-
Loop - Actions
-
Set VariableSet TempLoc6 = (Position of (Picked unit))
-
Cinematic - Ping minimap for PG_Team1 at TempLoc6 for 1.00 seconds, using a Simple ping of color (100.00%, 0.00%, 0.00%)
-
Custom script: call RemoveLocation(udg_TempLoc6)
-
-
-
-
-
PingTeam1TimerWraith expires
-
Events
-
Time - PingTimer1Wraith expires
-
-
Conditions
-
Actions
-
Trigger - Turn off PingTeam1Wraith <gen>
-
Game - Display to (All players) the text: turn off 1
-
-
-
PingTeam2TimerWraith expires
-
Events
-
Time - PingTimer2Wraith expires
-
-
Conditions
-
Actions
-
Trigger - Turn off PingTeam2Wraith <gen>
-
Game - Display to (All players) the text: turn off 2
-
-
Last edited: