|
Tiberian Technologies Scripts Reference Revision: 9000
|
Set Team On Custom. More...
#include <dp88_misc.h>
Changes the team of the object this script is attached to upon receiving a custom message, where the message parameter contains the new team ID for the object which can be either 0 (Nod), 1 (GDI) or 2 (Neutral)
This can be combined with JFW_Startup_Custom_Self to set the team of an object when it is created without needing to create duplicate copies of a preset for each team (by attaching the scripts to a placed object in LE rather than its preset)
| Message | The ID of the custom message to listen for |