Jump to content

z_Capturable_Object_2


zunnie

Recommended Posts

Explanation

This script allows players to capture the object this is attached to.

It also allows playing sounds when it gets captured or killed for either team.

When making it start off Unteamed you have to set its health to 1 and maxhealth to like 300 or something simular.

Enterable Options

Owner = Who owns this object when it gets created? Use 0 for nod, 1 for GDI and -2 for Unteamed.

Audio_Captured_GDI_GDI = When captured by GDI play this sound for GDI

Audio_Captured_GDI_Nod = When captured by GDI play this sound for Nod

Audio_Captured_Nod_GDI = When captured by Nod play this sound for GDI

Audio_Captured_Nod_Nod = When captured by Nod play this sound for Nod

Audio_Killed_GDI_GDI = When owned by GDI and killed play this sound for GDI

Audio_Killed_GDI_Nod = When owned by GDI and killed play this sound for Nod

Audio_Killed_Nod_GDI = When owned by Nod and killed play this sound for GDI

Audio_Killed_Nod_Nod = When owned by Nod and killed play this sound for Nod

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.