Knuckle Cracker

Creeper World 3 => Gameplay Discussion => Topic started by: piggood on June 28, 2018, 09:02:47 AM

Title: I'm not sure
Post by: piggood on June 28, 2018, 09:02:47 AM
I don't know why these doesn't work..
hmm can you guys can help me?
I'm really bad at scripting..
Title: Re: I'm not sure
Post by: GoodMorning on June 28, 2018, 05:38:03 PM
Let's see...

In shoot.crpl, you probably want to check if a move is already queued before queueing another - it shouldn't break anything, but might lag.

In shooter.crpl, you may need the following line:


Self CONST_REQUESTPACKETS 1 SetUnitAttribute


If that's not it, please describe what it is that doesn't work.

The following may also help in debugging:
http://knucklecracker.com/wiki/doku.php?id=crpl:crplreference#debugging
Specifically, ShowTraceLog and Trace.
Title: Re: I'm not sure
Post by: piggood on June 29, 2018, 02:22:32 AM
Quote from: GoodMorning on June 28, 2018, 05:38:03 PM
Let's see...

In shoot.crpl, you probably want to check if a move is already queued before queueing another - it shouldn't break anything, but might lag.

In shooter.crpl, you may need the following line:


Self CONST_REQUESTPACKETS 1 SetUnitAttribute


If that's not it, please describe what it is that doesn't work.

The following may also help in debugging:
http://knucklecracker.com/wiki/doku.php?id=crpl:crplreference#debugging
Specifically, ShowTraceLog and Trace.

yay thank you! you fixed it!