This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
crpl:crpltutorial:code_examples [2015/04/13 09:56] – Karsten75 | crpl:crpltutorial:code_examples [2016/05/01 13:02] – Incorrect code applied by me, changed it so it works on any map understandably. cpaca | ||
---|---|---|---|
Line 965: | Line 965: | ||
</ | </ | ||
< | < | ||
+ | |||
+ | |||
+ | ===CRPL generating CRPL=== | ||
+ | This CRPL will generate CRPL with custom program (if it is in the map scripts) | ||
+ | < | ||
+ | CreateUnit(" | ||
+ | AddScriptToUnit(< | ||
+ | </ | ||
+ | <sub> Stolen from Teknotiss(who took it from virgil), where pyramids make golems. I simply changed golem to unit. Added by cpaca, known as Karma' |