Jump to content


Nighthawk's Content

There have been 1 items by Nighthawk (Search limited from 14-October 18)


By content type

See this member's

Sort by                Order  

#1082569 Making a unit that changes team to the player that discovers it.

Posted by Nighthawk on 25 April 2018 - 04:29 PM in Red Alert 2 and Tiberian Sun Editing

I'm not sure that it is possible in skirmish maps to assign units to a "discovering" player. Those triggers in the singleplayer maps don't assign units to the "discovering" player, as there only is one player who could discover them. The singleplayer triggers are along the lines of "the player has put one of their units in this trigger area, so transfer these extra units to the player." The player's specific house is what's cited in the triggers.

 

Your best workaround might be to somehow put the units in an area where only a specific player can access them, then you can invoke the "Player @ X" logic. For instance, you could maybe have your units in some sort of terrain-blocked area where the only way in is through an indestructible and uncapturable neutral building blocking the entrance. You could then set up a trigger where this building sells itself when a player from a specific starting location draws near, and then units are transferred to that player... but it's a bit of a faffy workaround.