Jump to content

z_Capturable_Object


zunnie

Recommended Posts

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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.