This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
crpl:overview [2020/06/26 08:29] – [Translation Front-ends] removed incorrect tags Karsten75 | crpl:overview [2020/06/26 08:36] – [Syntax Highlighting in the Wiki] code highlighting example Karsten75 | ||
---|---|---|---|
Line 224: | Line 224: | ||
Dokuwiki uses [[http:// | Dokuwiki uses [[http:// | ||
+ | |||
+ | Code examples can be highlighted using the `4rpl` code tag eg: | ||
+ | |||
+ | <code 4rpl> | ||
+ | # --Volcano-- 5/13/2020 12:58:29 PM | ||
+ | |||
+ | $$POSX:154 | ||
+ | $$POSZ:98 | ||
+ | $$AMT:100 | ||
+ | |||
+ | if (GetGameUpdateCount 3600 % eq0) | ||
+ | true -> | ||
+ | endif | ||
+ | |||
+ | if (< | ||
+ | @Erupt | ||
+ | endif | ||
+ | |||
+ | if (< | ||
+ | 240 -> | ||
+ | true -> | ||
+ | endif | ||
+ | |||
+ | if (< | ||
+ | @OrbsErupt | ||
+ | endif | ||
+ | |||
+ | :Erupt | ||
+ | if (< | ||
+ | do(2 -1) | ||
+ | do(2 -1) | ||
+ | AddCreeper(< | ||
+ | loop | ||
+ | loop | ||
+ | endif | ||
+ | < | ||
+ | if (< | ||
+ | false -> | ||
+ | 0 -> | ||
+ | endif | ||
+ | |||
+ | :OrbsErupt | ||
+ | V3(RandFloat 0.5 - 1 * 2 RandFloat 0.5 - 1 *) -> | ||
+ | CreateOrb(V3(154 randint(-1 2) + 15 98 randint(-1 2) +) < | ||
+ | < | ||
+ | |||
+ | :once | ||
+ | Table( " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | </ | ||
+ |