I'm not sure

Started by piggood, June 28, 2018, 09:02:47 AM

Previous topic - Next topic

piggood

I don't know why these doesn't work..
hmm can you guys can help me?
I'm really bad at scripting..

GoodMorning

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.
A narrative is a lightly-marked path to another reality.

piggood

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!