Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
List of all members
dp88_Set_Team_On_Custom Class Reference

Set Team On Custom. More...

#include <dp88_misc.h>

Detailed Description

Author
Daniel Paul (danpa.nosp@m.ul88.nosp@m.@yaho.nosp@m.o.co.nosp@m..uk)

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)

Parameters
MessageThe ID of the custom message to listen for
Note
This is compatible with capturable buildings using the dp88_buildingScripts set of scripts