Jump to content
Sign in to follow this  
hogmason

count > working but count < is not

Recommended Posts

lol i have this strange bug that i just cant work out

this is working ("just to test") -- as i spawn 5 units in _grp instantly it tells me there is more then 3

if (count _grp > 3) then 
{
["Task1","failed"] call SHK_Taskmaster_upd;
        [] call SHK_addTask;
};


BUT this is not (and its what i need) -- i spawn 5 units in _grp kill 4 and nothing happens

if (count _grp < 3) then 
{
["Task1","failed"] call SHK_Taskmaster_upd;
        [] call SHK_addTask;
};


Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×