Knuckle Cracker

Creeper World 3 => The Coder's Corner => Topic started by: Ringo on November 12, 2013, 10:43:38 AM

Title: How to apply code?
Post by: Ringo on November 12, 2013, 10:43:38 AM
This what i do.

click scripts button
name the script and click create,
notepad window opens
edit the txt with the script i want,

Exmaple
# Creates 100 units of Creeper every second at the units coordinates.
CurrentCoords 10 SetCreeper
30 Delay

save
compile

Says 1 code compiled.

Then i can't get that code to in put to what i want in game.
Title: Re: How to apply code?
Post by: Grayzzur on November 12, 2013, 10:48:47 AM
Put a CRPL Core unit on your map. Double-click that unit. Select your script in the box for Attached Scripts and click ADD to add that script to that unit.
Title: Re: How to apply code?
Post by: Ringo on November 12, 2013, 11:20:24 AM
Oh thank you i didn't realize what that was for it me it just seemed like another resource or text massage.