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 revisionPrevious revision
Next revisionBoth sides next revision
crpl:crpltutorial:code_examples [2016/05/01 13:01] – Another code list cpacacrpl:crpltutorial:code_examples [2016/05/01 13:02] – Incorrect code applied by me, changed it so it works on any map understandably. cpaca
Line 971: Line 971:
 <code> <code>
 CreateUnit("CRPLCORE" CurrentX CurrentY) ->unit  CreateUnit("CRPLCORE" CurrentX CurrentY) ->unit
-AddScriptToUnit(<-unit "SuicideEmitter.crpl")+AddScriptToUnit(<-unit "[Programname].crpl")
 </code> </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> <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.txt · Last modified: 2022/01/11 03:00 by Karsten75