I am trying to do something fun in a mini game that will make 1 particular unit not selectable in the game, i do not want to use the data editor because i need that unit to be selectable during the course of the normal game. How would i do this using triggers?
I am not sure if this is the easiest/best way, but depending on how selectable you want it, you could just turn on a trigger so that when the unit is selected by a played, to deselect it. turn the trigger off when you dont need it.
Other idea's that I am not sure on, you could (maybe combined with the above even) uses a catalog field value change. Change the selection size to zero? I dont have the editor open, but maybe you can change whether the unit is selectable or not with a catalog field value change also.
The first way will work; but will be a touch sloppy (imo) the second way, I am not sure on, catalog functions are hit or miss.
You can change a units state to make it unselectable anytime and do it again to make it selectable again after the game. I'm not sure that if you make a unit unselectable if someone has already selected it you may need to use the deselect trigger.
I am trying to do something fun in a mini game that will make 1 particular unit not selectable in the game, i do not want to use the data editor because i need that unit to be selectable during the course of the normal game. How would i do this using triggers?
@bravojuliet: Go
I am not sure if this is the easiest/best way, but depending on how selectable you want it, you could just turn on a trigger so that when the unit is selected by a played, to deselect it. turn the trigger off when you dont need it.
Other idea's that I am not sure on, you could (maybe combined with the above even) uses a catalog field value change. Change the selection size to zero? I dont have the editor open, but maybe you can change whether the unit is selectable or not with a catalog field value change also.
The first way will work; but will be a touch sloppy (imo) the second way, I am not sure on, catalog functions are hit or miss.
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418
Can't hurt to test it and see what happens. Right now as it is i have it so that all units are no longer selectable and i do not like that ;/.
You can change a units state to make it unselectable anytime and do it again to make it selectable again after the game. I'm not sure that if you make a unit unselectable if someone has already selected it you may need to use the deselect trigger.
thanks zandose