|
Tiberian Technologies Scripts Reference Revision: 9000
|
Building function - Grant Money On Capture. More...
#include <dp88_buildingScripts.h>
Additional Inherited Members | |
Protected Member Functions inherited from dp88_buildingScripts_baseClass | |
| GameObject * | RegisterWithParent (GameObject *obj, const char *preset_name, int type) |
| void | Custom (GameObject *obj, int type, int param, GameObject *sender) |
| virtual void | OnCustom (GameObject *obj, int type, int param, GameObject *sender) |
| virtual void | OnBuildingOffline (GameObject *obj) |
| virtual void | OnBuildingOnline (GameObject *obj) |
| virtual void | OnBuildingDestroyed (GameObject *obj) |
Protected Attributes inherited from dp88_buildingScripts_baseClass | |
| int | m_parentId |
Grants a fixed amount of money to a team when they capture this building. If the building is not neutral when this script is attached the current team will immediately get money. Can either give money each time the building is captured or only the first time it is captured. This script should be attached to the same object as the dp88_buildingScripts_controller script for the building.
| credits | The amount of credits to be given |
| onceOnly | Only give credits the first time the building is captured |