Posted by Raptor [JiB] on February 01, 1998 at 15:13:58:
In Reply to: More COG - Repeating commands posted by fiXXXer on February 01, 1998 at 12:08:33:
> Let's say i have got an new item for JK. It's a health regenerator.
> I want it to add 5 health points per second... but only while the player holds down the key assigned to it.
> If the player releases the key for that item, i want it to stop adding health.
> any ideas?
> thx,
> fiXXXer
Well, the title says it all, but I'd consider looking in the crossbow cog, as that features a charging feature, which could probably be adapted.