- Joined
- Jul 1, 2012
- Messages
- 188
I've made an trigger to work similar to this, if Player X have Hero Y and Hero Y have Item Z if true do Trigger if not do nothing. here it is.
The Link
Sorry for noob question but I got to get help somewhere.
Thanks in Advance even if you coulden't provide any help but atlast tryed.
[Edit] I hope you can ''read'' it now.
The Link
- Events
- Player - Player (X) types a chat message containing -(x) as An Exact match
- Conditions
- (Substring((Entered chat String), 1, 10)) Equal to -(x)
- Actions
- Set TheLinkGroup = (units owned by (Triggerin Player))
- Unit Group - Pick every unit in TheLinkGroup and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Picked unit) is A hero)Equal to True
- (The Link 0052 <gen> is owned) Equal to True
- Then
- Player Group - Make (All players) treat (All players) as an ally
- Trigger - Turn off Unally system <gen>
- Trigger - Turn off Unally all <gen>
- Cinematic - Send tranmission to (all players) from No units named The Link :Play No Sound and Display (Text) Modify duraction: Set to 300 seconds and Wait.
- Trigger - Turn on Unally system <gen>
- Trigger - Turn on Unally all <gen>
- Trigger - Turn off (This Trigger)
- Else - Actions
Sorry for noob question but I got to get help somewhere.
Thanks in Advance even if you coulden't provide any help but atlast tryed.
[Edit] I hope you can ''read'' it now.
Last edited: