Explanation
This script allows the object it is attached to to be captured (repaired) by players, it will then team to their team and they can use its special functions.
Creating capturable defenses
Make a turret and make its team Neutral.
Give the turret 2 health and 300 max health.
Put z_Capturable_Object on it with Owner set to -2
Put the script M00_Base_Defense on it.
When someone repairs the turret it will attack the enemy.
Enterable Options
Owner = Set the owner of the object when this gets created, use 0 for nod, 1 for gdi and -2 for unteamed.
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now