Actor flag
+STICKENEMIESONLY
STICKENEMIESONLY
Availability
ZandroX only. Does not exist in Zandronum 3.2.
Usage
Set on a sticky projectile. It sticks only to its shooter's enemies; on the shooter's allies it explodes as a normal projectile would.
Allies are:
- the shooter's teammates: other players in co-op, or on the same team in a team game;
- actors the engine calls the shooter's friends (friendly monsters of the same player or side);
- for a monster's projectile, any other monster that is not friendly;
- for a player's projectile, a friendly monster in co-op, or in deathmatch one that belongs to that player.
A projectile with no shooter has no allies.
Examples
A rocket that clings to enemies and explodes on friends:
ACTOR TeamMine : Rocket
{
+STICKY
+STICKENEMIESONLY
}
See also
- Sticking
- +STICKPROOF — an actor nothing sticks to