Knuckle Cracker

Creeper World 3 => The Coder's Corner => Topic started by: F0R on April 10, 2014, 07:31:34 PM

Title: Volcano Like Script
Post by: F0R on April 10, 2014, 07:31:34 PM
Hey guys, i'm looking for a script to make a volcano like creeper. It possible could someone show me some code that would:

5 - 10 Second Random burst of creeper delay.
Progressively stronger creeper.

I was wondering if this was possible. Thanks
Title: Re: Volcano Like Script
Post by: Lost in Nowhere on April 10, 2014, 07:56:53 PM
This should work:
Code (Volcano.crpl) Select
#Author: Lost in Nowhere

$StartCreeper:20.0
$MinDelayS:5.0
$MaxDelayS:10.0
$Increase:0.05

once
<-StartCreeper ->c_amt
endonce

CurrentCoords <-c_amt SetCreeper
<-Increase <-c_amt add ->c_amt
<-MinDelayS 30 mul <-MaxDelayS 30 mul @RandFloatBetween Delay

@RandFloatBetween #f1 f2 -- f3
->rfb_max ->rfb_min
<-rfb_max <-rfb_min sub RandFloat mul <-rfb_min add
Title: Re: Volcano Like Script
Post by: F0R on April 13, 2014, 10:52:49 PM
Thankyou man