Prometheus
Everything is mutable; nothing is sacred
- Reaction score
- 589
Trying to get "Selected Unit by Player". Any ideas?
Right click left side, New > Variable. Or simply, Ctrl + B.
I wonder if there are leaks.
native unitgroup UnitGroupSelected (int inPlayer);
native bool UnitIsSelected (unit inUnit, int inPlayer);
Trigger:
- Untitled Trigger 003
- Events
- UI - Player 1 clicks Left mouse button Down.
- Local Variables
- Conditions
- Actions
- Unit - Order Zuk'rah [109.25, 33.00] to ( Move targeting (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))) (Replace Existing Orders)
- Environment - Create a Small Protoss explosion at (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))
To move to the clicked position, effect is there so you can see where you clicked.
Transferring data from map to another, which works in multiplayer maps.
Just look how the workers data fields are set-up and there you go.To attack a nearby unit using C, had to go through so much to find the value within the editor to turn auto-attack off.
Right now, I set agility to give him movement and attack speed... Instead, when he gains an agility point he loses pretty much all of his stats..Pretty sweet. I've never liked making object data...
"The data editor can literally edit all of the game files, . . ." -BlizzardThe Data editor looks ridiculously complicated...