Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Old Scripting Engine (GS1)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-24-2008, 09:44 PM
johny023 johny023 is offline
Registered User
Join Date: Dec 2006
Posts: 36
johny023 is on a distinguished road
Question problem with lag? does "destroy" really get rid of the npc?

i've made a minigame to add into my offline game... and in the minigame you must defend the castle from waves of monsters, after a few waves it starts to lag and after a few more.. it gets to the point where i can't even move, and it eventually gets so bad graal just closes for no reason. in the earlier levels more monsters spawn, it was working just fine with 5-10 spawning at once but after a few waves i can't even spawn 2 without it lagging really bad. so i thought maybe it's just that wave that makes it lag so i pressed F4 skipped to that wave and set everything to be the same way it was before, it worked fine? no lag at all? then i thought.. maybe the "destroy" trigger doesn't get rid of the npc.. maybe it only hides it and stops it from doing anything...

for each wave of monsters i have a npc that uses the putnpc trigger and when the npc dies i used the destroy trigger to get rid of it.
can someone tell me why it lags? and how to fix it?

sorry if i put this in the wrong place not sure where to put it.
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 05:43 PM.


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