I'm very new to the trigger editor so please bear with me.
I have a 3-player map. The main bases on this map have towers in them that can block off the ramps into the main base. I want to make those towers only attackable by the player that spawns in that base. The easiest way seems to 1) give ownership of the towers to the player that spawns nearby, then 2) make those towers only attackable by the player owning them. I don't want to make all the towers only attackable by owner as in 1v1 -- the empty spawn point's towers should be attackable by both players.
How should I go about doing this? Help is appreciated! :-)
Why must they be attackable? If you want them to be destroyed you can give them an ability to self destruct, see the bunker salvage ability for an idea how to make one. If they are to act as gates you can give them a morph ability that morphs them into a lowered or raised form appropriately. Otherwise you can stop them taking all damage from anyone but the owner by giving them a buff behaviour to reduce all such damage to 0.
They're rock towers (technically cooling towers but same functionality). Kill the tower, debris blocks the ramp (the debris being attackable by any player). Clear the debris, the ramp is clear again.
It wouldn't be a problem if it was a 2-player map, since I could just lock the spawn positions and set the towers to be owned by certain players just by editing the properties. Since it's a 3-player map with random spawn locations (and I want to keep them random), they need to change ownership and change attackability based upon player at the beginning of the game.
Hi!
I'm very new to the trigger editor so please bear with me.
I have a 3-player map. The main bases on this map have towers in them that can block off the ramps into the main base. I want to make those towers only attackable by the player that spawns in that base. The easiest way seems to 1) give ownership of the towers to the player that spawns nearby, then 2) make those towers only attackable by the player owning them. I don't want to make all the towers only attackable by owner as in 1v1 -- the empty spawn point's towers should be attackable by both players.
How should I go about doing this? Help is appreciated! :-)
Why must they be attackable? If you want them to be destroyed you can give them an ability to self destruct, see the bunker salvage ability for an idea how to make one. If they are to act as gates you can give them a morph ability that morphs them into a lowered or raised form appropriately. Otherwise you can stop them taking all damage from anyone but the owner by giving them a buff behaviour to reduce all such damage to 0.
They're rock towers (technically cooling towers but same functionality). Kill the tower, debris blocks the ramp (the debris being attackable by any player). Clear the debris, the ramp is clear again.
It wouldn't be a problem if it was a 2-player map, since I could just lock the spawn positions and set the towers to be owned by certain players just by editing the properties. Since it's a 3-player map with random spawn locations (and I want to keep them random), they need to change ownership and change attackability based upon player at the beginning of the game.
You can stop them taking damage from non-owners, but I am not sure it is possible to stop them being attacked by non-owners.
That's fine so long as the rest of the functionality works.