Arma 3
DUST SFX DEMO
20 Comments
ALIAScartoons  [author] 5 Sep, 2022 @ 4:11am 
@Pulsar Neutron Star
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};
Overlord Zorn 3 Sep, 2022 @ 8:17am 
demo mission from the website throws a lot of erros on start up
```
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

[...]
```
ALIAScartoons  [author] 12 Apr, 2022 @ 4:27am 
@B2TheW
You have the same issue in the demo mission? Use one effect at the time to isolate the problem.
B2TheW 11 Apr, 2022 @ 10:35pm 
not sure but seems like the gusts are occuring every 7-10 seconds no matter what setting i try for the below within ini_dust_sfx.sqf ==========================================================
============== 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";
ALIAScartoons  [author] 19 Dec, 2018 @ 5:55pm 
@Pvt Ellman [82MR]
:) Have fun yourself!
Ellman 19 Dec, 2018 @ 4:45pm 
@ALIAS
I apologize I forgot the initserver.sqf...:steamfacepalm:
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 :steamhappy:
ALIAScartoons  [author] 19 Dec, 2018 @ 3:06pm 
@Pvt Ellman [82MR]
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?
Ellman 19 Dec, 2018 @ 4:27am 
Called in the init.sqf
ALIAScartoons  [author] 19 Dec, 2018 @ 4:15am 
@Pvt Ellman [82MR]
How/where from you run the script?
Ellman 19 Dec, 2018 @ 3:40am 
I tested in the editor and in MP mission.
Did not do any dedicated tests since the first ones didn't work.

No changes have been made to the script.
ALIAScartoons  [author] 19 Dec, 2018 @ 12:51am 
@Pvt Ellman
Far as i remember the script doesn't start if that variable is not set. Did you change anything in the script? Is MP mission, you connect as admin? I will have a look
Ellman 18 Dec, 2018 @ 4:57pm 
Issue I stumbled upon:
https://i.imgur.com/4IzOO2k.png
I ensured that there is a player slot, calling it from the init.
The suspense script works fine.
ALIAScartoons  [author] 6 Dec, 2018 @ 5:57am 
@Pvt Ellman [82MR]
I am not sure but i think the delay is a random number based on your input which can lead to situations as you described. If so the work around will be to edit the sleep value to a more fixed value, i am not on my arma comp to tell exactly where to look and edit tho. I get back to you on that if don't forget
Ellman 6 Dec, 2018 @ 5:54am 
Quick Question:
My init:
[600] execVM "AL_dust_SFX\wind_gust.sqf";
But the effect keeps occuring every 20 seconds or so even tho I want it to happen ever 10 min.
Any clue what I did wrong?
As per usual keep up the amazing work.
ALIAScartoons  [author] 6 Aug, 2018 @ 1:17am 
@t.roland79
:) Have fun and thank you for feedback!
iRON79 5 Aug, 2018 @ 4:02pm 
I had a couple of tries and managed to fix it. If I only add this part from the script to the init.sgf it does not produce that error: [30] execVM "AL_dust_SFX\devil_dust.sqf";
I am sure it was because of the high number of mods I use.
Once again, it's a grate script, I am happy to use it finally!
I will be checking out your other scripts too! :)
ALIAScartoons  [author] 30 Jul, 2018 @ 3:12am 
@t.roland79
Thanks mate!
Never heard of that issue, must be something mod related, try to re-install Arma or at least do a check if you have that issue in vanila as well.
iRON79 28 Jul, 2018 @ 10:01am 
Awesome script again from you!
There is an issue happening though both in the demo mission and the scenario I am making. Nor me neither the AI cannot sprint and some other similar situations with getting stuck. For example after using the inventory I get stuck, cannot move further, cannot shoot, just turn around.
Any ideas?
P.S.: I use 90 mods for my scenario, until adding this one everything worked fine. I would love to add this one also, it's just perfect for my wasteland scenario. :) Thanks!
TistheOnecalledJon 14 Jul, 2018 @ 7:51am 
Nice!
RueLight 14 Jul, 2018 @ 2:36am 
cool script!