Instalar Steam
iniciar sesión
|
idioma
简体中文 (Chino simplificado)
繁體中文 (Chino tradicional)
日本語 (Japonés)
한국어 (Coreano)
ไทย (Tailandés)
български (Búlgaro)
Čeština (Checo)
Dansk (Danés)
Deutsch (Alemán)
English (Inglés)
Español - España
Ελληνικά (Griego)
Français (Francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (Húngaro)
Nederlands (Holandés)
Norsk (Noruego)
Polski (Polaco)
Português (Portugués de Portugal)
Português - Brasil (Portugués - Brasil)
Română (Rumano)
Русский (Ruso)
Suomi (Finés)
Svenska (Sueco)
Türkçe (Turco)
Tiếng Việt (Vietnamita)
Українська (Ucraniano)
Informar de un error de traducción
https://steamcommunity.com/sharedfiles/filedetails/?id=1847768567
https://community.bistudio.com/wiki/addAction
see Example 3, i didn't test it but should be something like that
Never tried to do that. If you trying to use on Exile or Wasteland you might need to do some adjustments.
Anyways, the quick fix will be to run the script in init.sqf but throw these lines before the script line:
if (isserver) then {startfirewors=false;publicvariable "startfirewors"};
waituntil {startfirewors};
And via addaction you set startfirewors=true; and make it public... publicvariable "startfirewors";
This should do the trick.
There are other ways too but this is the simpler approach.
I might be doing it wrong, but I think this script isn't working on a dedicated server when using addAction on a object.
I have this on a InfoStand's init:
this addAction ["fireworks test", {nul = [fireWorksPad_1,120] execvm "ALfireworks\alias_fireworks.sqf"},nil,1.5,false,false,"","",3,false,""];
and a Helipad (invisible) with variable name fireWorksPad_1.
The above works fine on SP and MP but not on a dedicated server.
Any other object with below code in it's init works fine in SP, MP and on dedi.
nul = [this,120] execvm "ALfireworks\alias_fireworks.sqf";
Am I doing something wrong?
Is working on dedicated, Altis life is a different animal tho, i am not familiar with its framework, from what i know it has 2 components so to say, one for server and one for client and you have to consider that, i personally don't know how those 2 components work together, i never had time to dig into it so i can't assist you ATM, but if you find a solution please let me know, it would save me a lot of time. Thanks!
But do you know why it isnt working on a Server?
I tryed to make it work on "Altis Life" but there come always errors?