This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 4rpl:commands:getobjfacinganglecell [2021/01/08 16:01] – created - external edit 127.0.0.1 | 4rpl:commands:getobjfacinganglecell [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| <code 4rpl> | <code 4rpl> | ||
| GetObjFacingAngleCell(self " | GetObjFacingAngleCell(self " | ||
| + | </ | ||
| + | <code 4rpl> | ||
| + | #--Aiming at target: | ||
| + | RotateObjTowardsCell(self " | ||
| + | if(GetObjFacingAngleCell(self " | ||
| + | RotateObjTowards(self " | ||
| + | if(GetObjFacingAngle(self " | ||
| + | @fire | ||
| + | endif | ||
| + | endif | ||
| </ | </ | ||
| < | < | ||