Give the unit a dummy ability that requires no target, and set up a trigger so that when the dummy ability is used, the casting unit will use Creep Tumor on a random point in range which is on creep. Once you have this no-target ability to randomly place creep tumors, you can create an "Issue Order" effect that will give the order to activate this ability without a target. Then, create a behavior that uses the "Issue Order" as a periodic effect, add the behavior to your creep tumors, and you are good to go. Whenever the periodic effect goes off, the creep tumor will start the trigger, picking out a random creep spot in range and dropping a tumor there.
If you could make a map that I can look at that would be great.
Is it possible to set which ability you would like to use by pressing a key, for example, "F1"
In order to set a hotkey, you need a command (preferably unique) for the ability, and then you need to set that command to the abilities Execute function. Then, in the command, change Hotkey to whatever you want.
Unit - Order (Triggering unit) to (High Templar - High Templar - Psionic Storm targeting (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))) (Replace Existing Orders)
I haven't tested to see if this will work, but instead of giving the location of the unit itself, have the zombies attack move:
Unit - Order (Triggering unit) to ( Attack targeting (Position of Marine2 (Unknown) [132.45, 121.61])) (Replace Existing Orders)
You go to Actors > Marine, and copy paste that, then go into Marine Copy (The Actor) > Events, and for every event that refers to Marine (The Unit), change it to Marine Copy (The Unit).
You're right about the game mechanics, but I'm still having trouble. I've done the triggers, and data editing, but it won't auto create. I tried creating a trigger in place of the behavior, but that didn't work either.
EDIT
I also added the dummy ability to the command card so I can use it to test the trigger, and it's not working.
The Trigger:
Event:
Unit - Nydus Worm (Canal) [127.50, 120.50] uses dummyAbility at Generic1 - Any stage (Include shared abilities)
Action:
Unit - Order (Triggering unit) to (Creep Tumor - Creep Tumor targeting (Random point in (Playable map area))) (Before Existing Orders)
I modified the Nydus Worm to see if I could, and I can manually create creep tumors. Any theories on why it's not working?
I'm trying to have a creep tumor auto-build other creep tumors (using triggers). In order to give the 'order' to build creep, I need to provide a 'point'. What I want is to be able to place a creep tumor anywhere,and have it build an infinite amount of tumors on creep (and rebuild them if they die). I edited the ability so infinite builds is possible (in a reasonable time period), but I can't get the tumor to auto-build, without a direct order (with exact point).
0
If you could make a map that I can look at that would be great.
0
Ok, its an Action:
0
In order to set a hotkey, you need a command (preferably unique) for the ability, and then you need to set that command to the abilities Execute function. Then, in the command, change Hotkey to whatever you want.
0
Try this:
Unit - Order (Triggering unit) to (High Templar - High Templar - Psionic Storm targeting (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))) (Replace Existing Orders)
0
I haven't tested to see if this will work, but instead of giving the location of the unit itself, have the zombies attack move: Unit - Order (Triggering unit) to ( Attack targeting (Position of Marine2 (Unknown) [132.45, 121.61])) (Replace Existing Orders)
You use Target Point instead of Target Unit.
0
@Preyed: Go
http://forums.sc2mapster.com/development/map-development/647-difficulty-getting-units-in-a-region-to-move-and-attack/#p9
0
You go to Actors > Marine, and copy paste that, then go into Marine Copy (The Actor) > Events, and for every event that refers to Marine (The Unit), change it to Marine Copy (The Unit).
0
@MasterDinadan: Go
You're right about the game mechanics, but I'm still having trouble. I've done the triggers, and data editing, but it won't auto create. I tried creating a trigger in place of the behavior, but that didn't work either.
EDIT
I also added the dummy ability to the command card so I can use it to test the trigger, and it's not working.
The Trigger:
Event:
Unit - Nydus Worm (Canal) [127.50, 120.50] uses dummyAbility at Generic1 - Any stage (Include shared abilities)
Action:
Unit - Order (Triggering unit) to (Creep Tumor - Creep Tumor targeting (Random point in (Playable map area))) (Before Existing Orders)
I modified the Nydus Worm to see if I could, and I can manually create creep tumors. Any theories on why it's not working?
0
How do you give it a random point on creep?
0
I'm trying to have a creep tumor auto-build other creep tumors (using triggers). In order to give the 'order' to build creep, I need to provide a 'point'. What I want is to be able to place a creep tumor anywhere,and have it build an infinite amount of tumors on creep (and rebuild them if they die). I edited the ability so infinite builds is possible (in a reasonable time period), but I can't get the tumor to auto-build, without a direct order (with exact point).