User Tools

Site Tools


4rpl:commands:setfieldcell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
4rpl:commands:setfieldcell [2021/03/04 09:02] – Missing bracket in example Grabz4rpl:commands:setfieldcell [2024/02/20 17:33] (current) – [Description] Reference added Vertu
Line 17: Line 17:
  
 In order to add to a field rather than set it, retrieve its current values first using [[GetFieldCell]], add to those values, then set those values as the new field. To erase the new field, do the same thing, but instead subtract what was previously added. Alternatively, you can use [[SetFieldRect]], which adds fields rather than sets them. In order to add to a field rather than set it, retrieve its current values first using [[GetFieldCell]], add to those values, then set those values as the new field. To erase the new field, do the same thing, but instead subtract what was previously added. Alternatively, you can use [[SetFieldRect]], which adds fields rather than sets them.
 +
 +For reference:\\
 +Shields have a field (total "strength") of 2000 throughout its radius.
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/setfieldcell.txt · Last modified: 2024/02/20 17:33 by Vertu