Thread: NPC temp drop
View Single Post
  #2  
Old 06-01-2012, 03:58 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by brokk View Post
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.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote