It bugs me that you can't make units automatically rescuable in the editor, it seems you have to set a trigger to do it. I thought I had it figured out (With the rescue trigger), but all it does is that it makes it so I can click them and hear them talk, but I can't give them orders. Help please.
I am having the same issues. However I simply want to make a Player "Rescueable".
So For instance I have a Map where there are four players (a player at each corner of the map) and a Island in the middle with a Pre-built base and a few units, These units are the "Reward to the first player to gain the ability to fly there and "Rescue" the base and its units.
But I am Struggling to figure out how to set this up in the triggers... I am also Very upset that there isnt a Pre-set "Property" like in the Original starcraft Editor.
Why cant there just be a Object Property like that.
Anyways if anyone has an idea of how we are suppose to do this, We would be Extremely thankful.
Please someone make us a "How to Guild" to show us how this is accomplished. ty
Here is what I have so far, and I know its not a solution in the extent that it wont switch the units from "Player 0" to "Triggering Player". But like I said it is a attempt.
Set a region on the island over all the units and make a trigger to change ownership of the units/structures to the first person to enter the region. Also use a variable to make sure only one person can accomplish the task. Like this:
Event:
-Unit enters region: Island (or whatever region name you make it)
Conditions:
-variable: firstperson == 0 (make a variable and in the map initialization trigger set it to 0. This will allow the trigger to only work one time for the first person to enter the region)
Actions:
-variable: set firstperson = 1
-units: change ownership of all units in "island" to player(owner of triggering unit)
And that should give you the "rescue" effect that you are looking for.
I've used this method for a rescue unit I've created in my map, but it seems that after the unit is rescued approx 5 minutes after using it and having control, it reverts back to neutral and makes it no longer rescuable and static?
Any ideas on why this might be? is there something else in the trigger list I could add to remove this?
My trigger list is as follows:
Rescue
Events
Unit - Any Unit Enters Region 001
Local Variables
Conditions
Actions
Unit - Rescue Odin [120.78, 108.88] for player (Triggering player) and Change Color
Trigger - Turn (Current trigger) Off
It bugs me that you can't make units automatically rescuable in the editor, it seems you have to set a trigger to do it. I thought I had it figured out (With the rescue trigger), but all it does is that it makes it so I can click them and hear them talk, but I can't give them orders. Help please.
Moved to Map Development forum
Sorry about that, I'll keep that in mind from now on.
@Buccura: Go
I am having the same issues. However I simply want to make a Player "Rescueable".
So For instance I have a Map where there are four players (a player at each corner of the map) and a Island in the middle with a Pre-built base and a few units, These units are the "Reward to the first player to gain the ability to fly there and "Rescue" the base and its units.
But I am Struggling to figure out how to set this up in the triggers... I am also Very upset that there isnt a Pre-set "Property" like in the Original starcraft Editor.
Why cant there just be a Object Property like that.
Anyways if anyone has an idea of how we are suppose to do this, We would be Extremely thankful.
Please someone make us a "How to Guild" to show us how this is accomplished. ty
Here is what I have so far, and I know its not a solution in the extent that it wont switch the units from "Player 0" to "Triggering Player". But like I said it is a attempt.
A way to do it is this, in triggers:
Set a region on the island over all the units and make a trigger to change ownership of the units/structures to the first person to enter the region. Also use a variable to make sure only one person can accomplish the task. Like this:
Event: -Unit enters region: Island (or whatever region name you make it)
Conditions: -variable: firstperson == 0 (make a variable and in the map initialization trigger set it to 0. This will allow the trigger to only work one time for the first person to enter the region)
Actions: -variable: set firstperson = 1 -units: change ownership of all units in "island" to player(owner of triggering unit)
And that should give you the "rescue" effect that you are looking for.
I've used this method for a rescue unit I've created in my map, but it seems that after the unit is rescued approx 5 minutes after using it and having control, it reverts back to neutral and makes it no longer rescuable and static?
Any ideas on why this might be? is there something else in the trigger list I could add to remove this?
My trigger list is as follows:
Rescue
Events
Unit - Any Unit Enters Region 001
Local Variables
Conditions
Actions
Unit - Rescue Odin [120.78, 108.88] for player (Triggering player) and Change Color
Trigger - Turn (Current trigger) Off