Attention

This page is incomplete and needs better descriptions and research into the behavior of the variables.

WorldStateBuf

Buffer containing info about the players movements throughout a WorldZone.

Variables

PlayerStartPos (Vector)
The players starting position in this zone.
PlayerStartOrient (Matrix)
The players starting orientation in this zone.
PlayerStartPosSafehouse (Vector)
The players starting safehouse position.
PlayerStartOrientSafehouse (Matrix)
The player starting safehouse orient.
Buf (char*)
Unknown value. Likely an array that needs to be wrapped first to be used through lua.
CurSize (int)
The current size in bytes of Buf.
MaxSize (int)
The max size in bytes of Buf.