Page MenuHomeFeedback Tracker

Error Undefined variable in expression: _priornew
Closed, ResolvedPublic


This error loops sometimes before dissapearing after sometime


Legacy ID
Unable To Reproduce
Error Message
Additional Information

Error in expression <_priorNew = _priors select _cause;

if (_priorNew > _priorCur) exitWith
16:52:19 Error position: <_priorNew > _priorCur) exitWith
16:52:19 Error Undefined variable in expression: _priornew
16:52:20 Error in expression <_priorNew = _priors select _cause;

Event Timeline

SaOk edited Additional Information. (Show Details)Mar 7 2015, 4:00 PM
SaOk set Category to Error Message.
SaOk set Reproducibility to Unable To Reproduce.
SaOk set Severity to None.
SaOk set Resolution to Fixed.
SaOk set Legacy ID to 1463337155.May 8 2016, 11:36 AM
SaOk edited a custom field.

saw this too, but havent seen it with latest dev. it this still happening?

SaOk added a subscriber: SaOk.May 8 2016, 11:36 AM
SaOk added a comment.Mar 8 2015, 11:44 AM

Yes, its in the latest DEV-build too.

Just got this too. :(

oukej added a comment.Mar 17 2015, 4:19 PM

Thanks for the report!

Could you please specify some conditions? (used assets - like the civilians mentioned on forums)

Thanks a lot!

Oukej, this could be related to AIs, and probably error from one of the AI handling scripts or FSM.

oukej added a comment.Mar 17 2015, 5:34 PM

Afaict it's in civilian formation FSM. Any idea about a situation when this could happen?

Getting under fire? I cannot say exactly the cause but it was happening to me when there were opfor AIs shooting at blufor and me while there was a civilian there in the middle. it was not happening all the time.

In my experience, it's related to a civilian group coming under fire.

I also noticed that it stopped after a short while, maybe 10 seconds.

SaOk added a comment.Mar 17 2015, 10:22 PM

Could be hard to find the exact cause (unless its related to that under fire), but I use only 1 man civilian groups, they walk in safe mode on village streets. Some civs are also sitting on chair with:
_unit setbehaviour "CARELESS";
_unit disableAI "AUTOTARGET";
_unit disableAI "TARGET";
_unit disableAI "MOVE";

There is civs spawned and deleted constantly depending where player goes.

Should be fixed in the next Dev Branch update. Thanks!