Thread: Damage Blocks
View Single Post
  #1  
Old 04-29-2013, 04:33 PM
brokk brokk is offline
Registered User
Join Date: May 2012
Posts: 84
brokk is on a distinguished road
Damage Blocks

Trigger functions from the player to the player directly to the NPC is easy.
So if the player "swings" it triggers damage on the baddie.

But damaging another player is a different story.

So why not knock out 2 birds with 1 stone?

I want to make "Damage Blocks"....
So when player swings it creates a temp npc and it triggers functions for both players and npcs.

For the players...I could simply do a onPlayerTouchsMe(), but how do I add collision between 2 NPCS?
__________________
No matter how much I hate graal, I'm always coming back.

smh
Reply With Quote