Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
dan.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 DAN_CnC_Crate : public ScriptImpClass {
14 void Created(GameObject *obj);
15 void Custom(GameObject *obj,int type,int param,GameObject *sender);
16 // There isn't really much need for more than GameObject *obj in the following:
17 void Points(GameObject *obj,int RandNum); // Give/Take Points
18 void DeathCrate(GameObject *obj); // Death Crate
19 void StealthSuit(GameObject *obj); // Enables Stealth
20 void DeHealth(GameObject *obj); // Sets Health to 1
21 void DeArmour(GameObject *obj); // Sets Armour to 1
22 void FullHealth(GameObject *obj); // Sets Health and Armour to full
23 void Money(GameObject *obj,int RandNum); // Give/Take Money
24 void SpyCrate(GameObject *obj); // Base Defenses will ignore player
25 void RandomWeapon(GameObject *obj); // Gives a Random Weapon
26 void Theif(GameObject *obj); // Takes all player's money
27 int VehBlock;
28 public: void Register_Auto_Save_Variables();
29};
30
31class DAN_Drop_Wreckage_On_Death : public ScriptImpClass {
32 void Killed(GameObject *obj,GameObject *killer);
33};
34class DAN_Wreckage_Rebuildable : public ScriptImpClass {
35 void Created(GameObject *obj);
36 void Damaged(GameObject *obj,GameObject *damager,float amount);
37};