playerSide – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
(Responded to playerSide question.)
Line 1: Line 1:
When is playerSide set to the correct value? is waitUntil {!isNull player} enough to ensure a correctly returned value?
When is playerSide set to the correct value? is waitUntil {!isNull player} enough to ensure a correctly returned value?
> Yes. At mission start every unit is civilian for a brief moment from what I recall. So your waitUntil avoids faulty detection. Nothing else needed. --[[User:Kju|Kju]] 21:23, 23 June 2010 (CEST)

Revision as of 21:23, 23 June 2010

When is playerSide set to the correct value? is waitUntil {!isNull player} enough to ensure a correctly returned value? > Yes. At mission start every unit is civilian for a brief moment from what I recall. So your waitUntil avoids faulty detection. Nothing else needed. --Kju 21:23, 23 June 2010 (CEST)