This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crpl:docs:abortmove [2013/01/14 18:59] – created chani | crpl:docs:abortmove [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TODO | + | <- [[crpl: |
+ | ===== AbortMove | ||
+ | |||
+ | ^Arguments^Result^Notation^ | ||
+ | | | |'' | ||
+ | |||
+ | |||
+ | === Description === | ||
+ | Aborts the current unit movement, if any. | ||
+ | Makes the next queued movement the current movement. | ||
+ | === Examples === | ||
+ | < | ||
+ | 20 20 1 QueueMove | ||
+ | |||
+ | #Then we queue another move after for (10, 10) at speed 2 | ||
+ | 10 10 2 QueueMove | ||
+ | |||
+ | #We abort the CURRENT movement, therefore after, the CRPLCore will move to (10, 10) at speed 2. | ||
+ | AbortMove | ||
+ | </ |