Untitled Trigger 001
Events
Game - Map initialization
Local Variables
A = No Dialog <Dialog>
B = No Dialog <Dialog>
Conditions
Actions
Dialog - Create a Modal dialog of size (500, 400) at (0, 0) relative to Left of screen
Variable - Set A = (Last created dialog)
Dialog - Show (Last created dialog) for (All players)
Dialog - Create a Modal dialog of size (500, 400) at (0, 0) relative to Right of screen
Variable - Set B = (Last created dialog)
Dialog - Show (Last created dialog) for (All players)
General - Wait 2.0 Game Time seconds
Dialog - Move A to (0, 0) relative to Left of B (from Right)
Try "((Text (Name of player p) with color (Color((Current player p color)))" for the "Text" field, and ignore the "Color" field under the create dialog and see if that works.
I'm in class now, I'll check my editor later. My guess though: You can also have multiple events, the trigger can have property changed for players 1-x (x copies). And then triggering player should work in the body.
You first create a dialog, then a dialog item (button) and store these to global variables. Then you need to make a trigger the fires when the dialog item is used.
Take a look at the Xel-Naga watch tower ability. You might also want to look at the item tutorials, they have ability buttons available to multiple players on a neutral building.
0
@Aneth0r: Go
It worked for me... Can you post your trigger?
Untitled Trigger 001
Events
Game - Map initialization
Local Variables
A = No Dialog <Dialog>
B = No Dialog <Dialog>
Conditions
Actions
Dialog - Create a Modal dialog of size (500, 400) at (0, 0) relative to Left of screen
Variable - Set A = (Last created dialog)
Dialog - Show (Last created dialog) for (All players)
Dialog - Create a Modal dialog of size (500, 400) at (0, 0) relative to Right of screen
Variable - Set B = (Last created dialog)
Dialog - Show (Last created dialog) for (All players)
General - Wait 2.0 Game Time seconds
Dialog - Move A to (0, 0) relative to Left of B (from Right)
0
@Aneth0r: Go
Dialog A is at the center of the screen, and you attach B to A's center... Then B will be at the center of the screen as well.
0
@siege911: Go
Try "((Text (Name of player p) with color (Color((Current player p color)))" for the "Text" field, and ignore the "Color" field under the create dialog and see if that works.
0
@Sprigint: Go
"Warning on THIS element"
Whats the warning?
0
@Sprigint: Go
I'm in class now, I'll check my editor later. My guess though: You can also have multiple events, the trigger can have property changed for players 1-x (x copies). And then triggering player should work in the body.
0
@Sprigint: Go
Triggering player cannot be used in an event. Use "Any Player" instead.
But, did you delete the code or did the editor?
0
@Jackolas: Go
Did you duplicate the "Phoenix Attack" action actor?
0
I'm thinking...
Make an effect that sets energy to xx; (When morph finishes) apply effect in the Info+ field in the ability. Not sure which section to use.
0
@Zomon: Go
You first create a dialog, then a dialog item (button) and store these to global variables. Then you need to make a trigger the fires when the dialog item is used.
0
@James7285: Go
Yeah, I believe that was the issue.
0
@James7285: Go
" (Any units in Scoring Zone owned by player 1 matching No Unit Filter, with at most 1))"
Give it a filter for non-dead units.
0
@MaNtEc0r: Go
Can you post the trigger that you used?
0
Take a look at the Xel-Naga watch tower ability. You might also want to look at the item tutorials, they have ability buttons available to multiple players on a neutral building.
0
@SuzuQQ: Go
"Selection Radius" in the unit's actor's model is working for me.
0
@lordnk: Go
Use "Events+" in the unit's actor. Take a look at the marine's shield for details (use scaling instead of animation play for the action).