Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:42 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.