Re: Not exactly sure what you mean.


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by CogKing on February 03, 1998 at 16:47:36:

In Reply to: Not exactly sure what you mean. posted by Raptor [JiB] on February 03, 1998 at 16:26:22:

> These bits of code are not exact (I deleted all but good bits) but they're not far off what I used.
> So, is this a load of rubbish or am I committing a simple mistake.

Nope, this looks OK to me...
But you shouldn't need to use a pulse, just capture the player in your
mouse script : CatptureThing(player) and you should receive its damaged:
messages (you're doing a single player level with this, right ?)

> p.s. Is there a way of finding errors in cogs by having dodgy values printed to the console or something? Thanks a lot for any help.

You can use :

Print("any string");
PrintInt(aInt);
PrintFlex(aFlex);

There are way more sophisticated output commands but the above should
be enough for debugging.

-CogKing


Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]