Quote:
Originally posted by Duwul
You should combine it all into one npc..=/
Just make it so like pressing a different key sets the gani and also triggers the action. Better than having 2 different weapons.
You can also use
NPC Code:
with (npcs[testnpc(playerx+1.5+vecx(playerdir)*2,playery+2+ve cy(playerdir)*2)]){
destroy;
}
|
I'd prefer if you set a flag in the npc such as "this.isblock" then check for it so you don't remove NPCs that arent ment to be removed.