mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
1ff6e820b2
- A `displayName` shown in the 3DEN multiplayer attributes display - A `respawnTypes` array to define which respawn types the template is compatible with (currently only includes `2,3` - need to investigate compatibility with other types further).
30 lines
759 B
C++
30 lines
759 B
C++
#include "script_component.hpp"
|
|
|
|
class CfgPatches {
|
|
class ADDON {
|
|
name = COMPONENT_NAME;
|
|
units[] = {};
|
|
weapons[] = {};
|
|
requiredVersion = REQUIRED_VERSION;
|
|
requiredAddons[] = {"ace_common"};
|
|
author = ECSTRING(common,ACETeam);
|
|
authors[] = {"F3 Project","Head","SilentSpike","voiper"};
|
|
url = ECSTRING(main,URL);
|
|
VERSION_CONFIG;
|
|
};
|
|
};
|
|
|
|
#include "ACE_Settings.hpp"
|
|
#include "CfgEventHandlers.hpp"
|
|
#include "CfgVehicles.hpp"
|
|
#include "ui\interface.hpp"
|
|
|
|
class CfgRespawnTemplates {
|
|
class ADDON {
|
|
displayName = CSTRING(DisplayName);
|
|
onPlayerKilled = QFUNC(respawnTemplate);
|
|
onPlayerRespawn = QFUNC(respawnTemplate);
|
|
respawnTypes[] = {2,3};
|
|
};
|
|
};
|