User Tools

Site Tools


crpl:crpltutorial:code_examples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
crpl:crpltutorial:code_examples [2015/04/13 09:56]
Karsten75
crpl:crpltutorial:code_examples [2020/06/08 16:35] (current)
builder17 html comment removed
Line 1: Line 1:
  
-<​html><​!--Comments visible to editors only can be placed in HTML comments --></​html>​ 
 <​-[[cw3:​creeper_world_3|CW3 Home]]<- [[crpl:​start|CRPL Home]] <​-[[cw3:​creeper_world_3|CW3 Home]]<- [[crpl:​start|CRPL Home]]
  
Line 965: Line 964:
 </​code>​ </​code>​
 <​sub>​Contributed by Telanir</​sub>​ <​sub>​Contributed by Telanir</​sub>​
 +
 +
 +===CRPL generating CRPL===
 +This CRPL will generate CRPL with custom program (if it is in the map scripts)
 +<​code>​
 +CreateUnit("​CRPLCORE"​ CurrentX CurrentY) ->​unit
 +AddScriptToUnit(<​-unit "​[Programname].crpl"​)
 +</​code>​
 +<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'​s coming on map search </​sub>​
crpl/crpltutorial/code_examples.1428933385.txt.gz ยท Last modified: 2015/04/13 09:56 by Karsten75