Search the Community
Showing results for tags 'expression'.
Found 2 results
-
[Solved] Is anything wrong with these two scripts?
Neviothr posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm trying to use DAC and whenever I preview the mission I created in the editor, I get the following error (taken from .rpt): And yes I've posted this issue in DAC's thread, but no answer there so far. I've narrowed it down to dac_find_wplog.sqf and dac_find_polylog.sqf, which both have (what I assume is) the problematic code. DAC_find_wplog.sqf: DAC_find_polylog.sqf: Thank you in advance. -
Hi, I'm trying to write a script but can't solve this puzzle/problem: 1. At the start of the script I create a variable e.x. _target 2. I pick a random alive player, the script is working with _target beautifully 3. when all players died and they respawn the variable _target is undefined I try to catch that information with something similar to this: if (isNil "_target") then { _target = selectRandom playableUnits; }; Yet the variable remains undefined and I can't figure out why. If anyone wants to look at complete code I can send them a link. cheers, Daishi