My game features a ninja who can throw Ninja Stars, but only after having collected them. I need to event disable this event if he has no Stars without disabling EVERY key down event.
How do I do this?
nstars++;
nstars--;
if(nstars <= 0)
{
EventDisable("Event Actor", EVENTKEYDOWN); //If the event is in ninja actor
nstars = 0;
}
Users browsing this forum: No registered users and 1 guest