Add function to CTF flag to disable pickup.

To be used by scenarios that use the flag differently.
liquid_container
Sven Eberhardt 2016-02-06 22:45:53 -05:00
parent 775533a8da
commit d213115103
1 changed files with 6 additions and 0 deletions

View File

@ -39,6 +39,12 @@ protected func Initialize()
return;
}
public func DisablePickup()
{
// Disable pickup search in case flag is used outside the regular CTF goal
return RemoveEffect("FlagAutoPickup", this);
}
// Handles automatic picking up of the flag.
protected func FxFlagAutoPickupTimer(object target, effect)
{