Author Topic: I'm not sure  (Read 166 times)

piggood

  • Newbie
  • *
  • Posts: 10
I'm not sure
« 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..

GoodMorning

  • Community Guild
  • *****
  • Posts: 3227
  • (Pusillanimous)
Re: I'm not sure
« Reply #1 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:

Code: [Select]
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

  • Newbie
  • *
  • Posts: 10
Re: I'm not sure
« Reply #2 on: June 29, 2018, 02:22:32 am »
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:

Code: [Select]
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!