Mission editing: Unterschied zwischen den Versionen

Aus Arma Wiki
Wechseln zu: Navigation, Suche
(ZEUS)
Zeile 6: Zeile 6:
 
<blockquote width=80%; style="background:#f4f4ff; border: 2px solid #999; border-right-width: 2px">
 
<blockquote width=80%; style="background:#f4f4ff; border: 2px solid #999; border-right-width: 2px">
 
class CfgFunctions
 
class CfgFunctions
 +
 
{
 
{
 +
 
class myTag
 
class myTag
 +
 
{
 
{
 +
 
class myCategory
 
class myCategory
 +
 
{
 
{
 +
 
class myFunction
 
class myFunction
 +
 
{
 
{
 +
 
preInit = 1; // (formerly known as "forced") 1 to call the function upon mission start, before objects are initialized. Passed arguments are ["preInit"]
 
preInit = 1; // (formerly known as "forced") 1 to call the function upon mission start, before objects are initialized. Passed arguments are ["preInit"]
 
file = "add_Zeus.sqf";
 
file = "add_Zeus.sqf";

Version vom 21. Jänner 2016, 16:04 Uhr

ZEUS

Hinzufügen des Zeus Modules ohne die Mission im Editor zu öffnen.

  1. description.ext mit Editor öffnen
  2. Funktion erstellen:

class CfgFunctions

{

class myTag

{

class myCategory

{

class myFunction

{

preInit = 1; // (formerly known as "forced") 1 to call the function upon mission start, before objects are initialized. Passed arguments are ["preInit"] file = "add_Zeus.sqf";

}; }; }; };