The newbie
New Member
- Reaction score
- 0
I want it to show information about that unit/hero when a player selects it and then choose that hero when he clicks twice/second time. But Ill focus on the description first.
I found this from a map, but I don't know how/why it would work as Im (VERY) bad at integers.
I can't seem to find the explanation(s) for "TempInt Equal to x", but that must obviously be the "event" equal to selecting a unit. Right?
Reason im not just "Event: player selects Warrior, action: show text" is that then Ill hafta use player Red, player Blue etc. coz I can't do it with a playergroup or anything. Right?
Any suggestions are welcome, thanks in advance
I found this from a map, but I don't know how/why it would work as Im (VERY) bad at integers.
Code:
Hero Descriptions
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TempInt Equal to 1
Then - Actions
Game - Display to (Player group(TempPlayer)) for 99999.00 seconds the text: |cff008000Warrior|r...
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TempInt Equal to 2
Then - Actions
Game - Display to (Player group(TempPlayer)) for 99999.00 seconds the text: |cff008000Wizard|r - ...
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TempInt Equal to 3
Then - Actions
Game - Display to (Player group(TempPlayer)) for 99999.00 seconds the text: |cff008000Assassin|r -...
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)... ETC.
I can't seem to find the explanation(s) for "TempInt Equal to x", but that must obviously be the "event" equal to selecting a unit. Right?
Reason im not just "Event: player selects Warrior, action: show text" is that then Ill hafta use player Red, player Blue etc. coz I can't do it with a playergroup or anything. Right?
Any suggestions are welcome, thanks in advance