This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I've been trying to activate a trigger when a player enters a region on the map.
While it should be pretty straight forward I have problems finding the condition and and event.
For example the only event that has anything to do with a region is : TriggerAddEventUnitRegion
while the one I need which is +/- when any unit of player (x) enters region > shoot.
Is it posible to auto train units with right clicking them a bit simulair to how medics heal ability work.
So for example if I want to train marines I just right click the marines at the barracks which will keep training them.
So not a auto train buff but really being able to auto train them?
- How to activate a trigger once the player enters a region with any unit?
- How make it so you can auto train units instead of having to do it manually 1 by 1?
Thanks
Use a Unit Enters/Leaves Region event. You then have a Comparison condition that uses an Owner Of Unit function to compare the triggering player.
So you want to modify the Train type ability to have the Auto Cast flag enabled like the Swarm Host does for the locusts?
Use an Order Set Flag action to toggle auto cast to active.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Quote from Forge_User_76430247 >> - How to activate a trigger once the player enters a region with any unit? Thanks
My projects : The Hammer of Dawn, Noir : Automata, Noir : Evolution, Noir : Ascension, Hammer of Dawn Revamp
Many awesome projects : Custom Campaign Initiative
Something for the community : A Small Letter of Thanks, SC2mapster Classic Skin - Alevice
I've been trying to activate a trigger when a player enters a region on the map.
While it should be pretty straight forward I have problems finding the condition and and event.
For example the only event that has anything to do with a region is : TriggerAddEventUnitRegion
while the one I need which is +/- when any unit of player (x) enters region > shoot.
Is it posible to auto train units with right clicking them a bit simulair to how medics heal ability work.
So for example if I want to train marines I just right click the marines at the barracks which will keep training them.
So not a auto train buff but really being able to auto train them?
- How to activate a trigger once the player enters a region with any unit?
- How make it so you can auto train units instead of having to do it manually 1 by 1?
Thanks
Use a Unit Enters/Leaves Region event. You then have a Comparison condition that uses an Owner Of Unit function to compare the triggering player.
So you want to modify the Train type ability to have the Auto Cast flag enabled like the Swarm Host does for the locusts?
Use an Order Set Flag action to toggle auto cast to active.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
My projects : The Hammer of Dawn, Noir : Automata, Noir : Evolution, Noir : Ascension, Hammer of Dawn Revamp
Many awesome projects : Custom Campaign Initiative
Something for the community : A Small Letter of Thanks, SC2mapster Classic Skin - Alevice