Soon im gonna whipe the server and make the whole game alot harder to people ...
So im trying to erease the backpack after AI died, which also works like a charm with following:
removeBackpack _unit;
But at the same time it always throws me this:
if (!_actionSet) then {
s_player_holderPickup>
10:47:18 Error position: <_actionSet) then {
s_player_holderPickup>
10:47:18 Error Undefined variable in expression: _actionset
10:47:18 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13
10:47:19 Error in expression < getVariable["actionSet", false];
Since i am using this line for about 210 active NPCs no matter how they die (shot by other NPCs, run over by car, killed by players ...) - it will throw the shown error and also cause huge server lag.
The really weird thing is if i remove this line (removeBackpack _unit;) from all scripts/methods, then server-fps will be about 5-8 higher at any time which is extremely weird even for the arma engine.
Any suggestions or even solutions? I would be happy!
Question
mark88
Im using DZMS and WAI at the same time.
Soon im gonna whipe the server and make the whole game alot harder to people ...
So im trying to erease the backpack after AI died, which also works like a charm with following:
But at the same time it always throws me this:
Since i am using this line for about 210 active NPCs no matter how they die (shot by other NPCs, run over by car, killed by players ...) - it will throw the shown error and also cause huge server lag.
The really weird thing is if i remove this line (removeBackpack _unit;) from all scripts/methods, then server-fps will be about 5-8 higher at any time which is extremely weird even for the arma engine.
Any suggestions or even solutions? I would be happy!
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now