SilentSpike – User talk

From Bohemia Interactive Community
Revision as of 18:49, 28 January 2015 by SilentSpike (talk | contribs) (clarified the circumstances of my experience)
Jump to navigation Jump to search

Regarding your edit of SL_HORZ. 0x400 is Hex representation of decimal 1024. Control can understand either --KK

Ah right, didn't even consider that because two of the styles had the same definition and I figured the VBS wiki was likely more accurate. Thanks for clarifying. --SS

Regarding listscroll vs scroll. The listscroll was added by BIS dev recenly, see history of edits, was this incorrect? --Kk

In my experience yes, Arma gave me an error about there being no ScrollBar class when I used the previous example (this was however Arma 2, it's possible they changed the class name in A3). --SS
Would you mind restoring dev's note indicating it is applicable to Arma 3 only? --KK
No problem. How's that? --SS
I have noticed some older examples have been deleted, so I restored them, please check if I overwritten anything --KK
Looks good to me --SS

re: isNull vs isNil

Would you mind explaining your edit? It is ambiguous as to what you are supposed to test for isNil. I have just checked and _this select 1 returns objNull on mission start. What do you mean it is unreliable? Have you got any evidence? Killzone Kid (talk) 16:20, 28 January 2015 (CET)

_this select 1 does indeed return objNull on mission start, however it also sometimes returns objNull in future respawns. The only evidence I have is that during a mission I recently made not all players ended up having the respawn code run upon respawn, but instead had the mission start code run again (disposal manager disabled, no code that would cleanup the bodies, just a simple isNull check, etc.). I'm not sure how to reproduce that consistently though as it is probably due to network variance.

As for the isNil check, something like this has fixed the problem in the aforementioned mission:

if (isNil "UniqueVariableForDetectingRespawnAtStart") then {
UniqueVariableForDetectingRespawnAtStart = true;

} else {

};

I wasn't entirely sure how to express it eloquently -SS