安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
Most likely is caused by the sleep command inside the waituntil. a work around would be to remove the sleep from waituntil or to add true inside it e.g.:
waitUntil {sleep 1; player distance _dust_loc < 150; true};
```
17:02:06 Error in expression <
{
waitUntil {sleep 1; player distance _dust_loc < 150};
_pulbere = "#particles>
17:02:06 Error position: <_dust_loc < 150};
_pulbere = "#particles>
17:02:06 Error Undefined variable in expression: _dust_loc
17:02:06 File C:\Users\Dennis Zorn\Documents\Arma 3 - Other Profiles\Pulsar%20Zorn\mpmissions\DUST_SFX_DEMO.Altis\AL_dust_SFX\dust_particles_SFX.sqf..., line 14
17:02:06 Error in expression <til {sleep 1; player distance _dust_loc < 150};
_pulbere = "#particlesource" cre>
Error position: << 150};
_pulbere = "#particlesource" cre>
Error Undefined behavior: waitUntil returned nil. True or false expected.
17:02:06 File C:\Users\Dennis Zorn\Documents\Arma 3 - Other Profiles\Pulsar%20Zorn\mpmissions\DUST_SFX_DEMO.Altis\AL_dust_SFX\dust_particles_SFX.sqf..., line 14
[...]
```
You have the same issue in the demo mission? Use one effect at the time to isolate the problem.
============== WIND GUST =================================
[pause_gust] execVM "AL_dust_SFX\wind_gust.sqf";
pause_gust - number, delay in seconds between wind gust occurence
[480] execVM "AL_dust_SFX\wind_gust.sqf";
:) Have fun yourself!
I apologize I forgot the initserver.sqf...
Don't I feel like a fool, I'm sorry for any time of yours I've wasted.
I also wish you a Merry Christmas or a good winter
Do you have the initserver.sqf from demo mission? which SFx you trying to use? Dust devil looks good, there is a this line - waitUntil {sleep 1; !isNil{"allPlayers_on"}};
which should prevent having that error, you are logged in as player in the mission or spectator or something else?
How/where from you run the script?
Did not do any dedicated tests since the first ones didn't work.
No changes have been made to the script.