Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   NPC temp drop (https://forums.graalonline.com/forums/showthread.php?t=134266551)

brokk 06-01-2012 03:03 AM

NPC temp drop
 
I was wondering how Zodiac did there drops. When I have a drop NPC, even if the NPC is destroyed(), when you first enter the level, you can see all the NPCs ever place for a second or two then they go away. and it bothers me :(

PHP Code:

function onActionServerside() {
  
temp.npc this.level.putNPC2(player.xplayer.y""); 
  
temp.npc.join("drop");



xXziroXx 06-01-2012 03:58 AM

Quote:

Originally Posted by brokk (Post 1696084)
I was wondering how Zodiac did there drops. When I have a drop NPC, even if the NPC is destroyed(), when you first enter the level, you can see all the NPCs ever place for a second or two then they go away. and it bothers me :(

PHP Code:

function onActionServerside() {
  
temp.npc this.level.putNPC2(player.xplayer.y""); 
  
temp.npc.join("drop");



Sounds like you're doing destroy(); on clientside and not serverside.

brokk 06-01-2012 04:16 AM

Nevermind I got it. thanks.


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

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