Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
nhp.h
1/* Renegade Scripts.dll
2 Copyright 2013 Tiberian Technologies
3
4 This file is part of the Renegade scripts.dll
5 The Renegade scripts.dll is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 2, or (at your option) any later
8 version. See the file COPYING for more details.
9 In addition, an exemption is given to allow Run Time Dynamic Linking of this code with any closed source module that does not contain code covered by this licence.
10 Only the source code to the module(s) containing the licenced code has to be released.
11*/
12#pragma once
13class NHP_Smart_Targetting : public ScriptImpClass {
14 void Enemy_Seen(GameObject *obj,GameObject *enemy);
15 void Created(GameObject *obj);
16};
17
18class NHP_Guard_Bot : public ScriptImpClass {
19 void Created(GameObject *obj);
20 void Damaged(GameObject *obj,GameObject *damager,float amount);
21};
22
23class NHP_Construction_AI : public ScriptImpClass {
24 int unitlim1;
25 int unitlim2;
26 int unitlim3;
27 void Created(GameObject *obj);
28 void Timer_Expired(GameObject *obj,int number);
29 public: void Register_Auto_Save_Variables();
30};
31
32class NHP_Sensor_Array_Zone : public ScriptImpClass {
33 bool SensorIsAlive;
34 int count;
35 int soundId;
36 void Created(GameObject *obj);
37 void Custom(GameObject *obj,int type,int param,GameObject *sender);
38 void Entered(GameObject *obj,GameObject *enterer);
39 void Exited(GameObject *obj,GameObject *exiter);
40 public: void Register_Auto_Save_Variables();
41};
42
43class NHP_Sensorable_Object : public ScriptImpClass {
44 bool insideSensorZone;
45 int sensorZone;
46 void Created(GameObject *obj);
47 void Killed(GameObject *obj,GameObject *killer);
48 void Custom(GameObject *obj,int type,int param,GameObject *sender);
49 public: void Register_Auto_Save_Variables();
50};