This shows you the differences between two versions of the page.
4rpl:commands:getobjfacinganglecell [2021/01/08 11:01] – created - external edit 127.0.0.1 | 4rpl:commands:getobjfacinganglecell [2024/02/18 15:11] (current) – Added preset. Vertu | ||
---|---|---|---|
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 | ||
</ | </ | ||
< | < | ||