Arma 3
Vcom AI V3.4.0
TroLLeX_ 29 Apr, 2019 @ 9:12am
[Error] when Ai has BIS_fnc_ambientAnim
Hi Genesis,
very nice of you that you continue coding this AI, in my eyes it is still the most functional but i already told you that in private a year ago. However i stumbled over an error that reapears every couple of minutes when i give a Unit in the Editor a BIS_fnc_ambientAnim. My game is heavly modded and i havent tested it without any other mods so far.


-- Error Begin
'..."ItemRadio" in (assignedItems _this));

|#|_rtrn}'
Undifiened Variable in Expression: _rtrn
File \vcomai\Vcom\Functions\VCM_Functions\scanning\fn_HasRadio.sqf
[VCM_fnc_HasRadio], line 19
-- Error End

I'm Gonna describe now whats going on.
1. I places a Unit from the Syndicat I_C_Soldier_Bandit_7_F (it doesnt matter which one)
2. Opened the Attributes and set this Init: [this, "STAND1", "MEDIUM"] call BIS_fnc_ambientAnim;
3. I Pressed OK, Saved the game and started the Szenario to view the Animation.
4. The animation works flawless but then the described Error appears and goes away. Then after a couple of Minutes it reappears.

I tried to disable Vcom on this Unit with: this setVariable ["Vcm_Disable",true];

but it didnt work. Im going to investigate it more, since im still not familiar with Arma Scripting and see if i can Bypass this error.

Keep going your Excellent Work its pretty nice to read every new Patch Note!

EDIT1: The Debug says: VCOM: B Alpha 1-6 calling for Support
when the error appears.

EDIT2: When set: this setVariable ["Vcm_Disable",true]; into the group init the Green dot disappears from the head of the Unit (i think it means the AI is disabled on this Unit). But the Error still disappears

EDIT3: Removing the Radio or disabling the Raycast is'nt fixing
Last edited by TroLLeX_; 29 Apr, 2019 @ 9:34am
< >
Showing 1-1 of 1 comments
chis2009diman 26 Aug, 2020 @ 9:33am 
The menu option for entering buildings has disappeared after the update, and AI no longer enter houses.
< >
Showing 1-1 of 1 comments
Per page: 1530 50