Size: 46
Comment:
|
Size: 586
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Describe FieldId here. | The FieldId is a number between 0-63999 (at least on 800x800 grid servers) Each FieldId is directly related to a coordinate pair, the game server uses FieldIds to reference all the squares on the map... 0,0 has fieldId of 0.... 1,0 has fieldId of 1... 799,0 has fieldId of 799... 1,1 is fieldId 800... there is a direct mathematical relationship between the coords and the fieldId. Many of the advanced scripting functions require you to convert your coordinates into fieldIds to use them. You can use GetFieldId to convert a set of coords into a FieldId |
The FieldId is a number between 0-63999 (at least on 800x800 grid servers)
Each FieldId is directly related to a coordinate pair, the game server uses FieldIds to reference all the squares on the map... 0,0 has fieldId of 0.... 1,0 has fieldId of 1... 799,0 has fieldId of 799... 1,1 is fieldId 800... there is a direct mathematical relationship between the coords and the fieldId. Many of the advanced scripting functions require you to convert your coordinates into fieldIds to use them.
You can use GetFieldId to convert a set of coords into a FieldId