User Tools

Site Tools


4rpl:commands:distancecell

Differences

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

Link to this comparison view

Last revisionBoth sides next revision
4rpl:commands:distancecell [2021/01/08 11:01] – external edit 127.0.0.14rpl:commands:distancecell [2021/04/09 19:07] – Fixed example code name durikkan
Line 11: Line 11:
 ===== Examples ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
-GetUnitCell(self) 0 0 Distance ->dist #Find the distance between itself and 0,0+GetUnitCell(self) 0 0 DistanceCell ->dist #Find the distance between itself and 0,0
 trace(<-dist) trace(<-dist)
 </code> </code>
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/distancecell.txt · Last modified: 2022/09/04 09:26 by Karsten75