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 02-13-2006, 05:46 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
The Killer Gani

Hi,

i made a gani:
NPC Code:

GANI0001

SCRIPT

//#CLIENTSIDE
function onCreated(){
thiso.ganiobj=this;
with(findimg(1000)){
x=thiso.ganiobj.x;
y=thiso.ganiobj.y;
attachposition=true;
emitter.delaymin=999;
emitter.delaymax=999;
emitter.nrofparticles=6;
emitter.maxparticles=20;
emitter.particle=lifetime=15;
emitter.particle.image="light2.png";
emitter.particle.zoom=0.1;
emitter.particle.speed=0;
emitter.particle.spin=0;
emitter.particle.alpha=0.99;
emitter.particle.red=1;
emitter.particle.green=.5;
emitter.particle.blue=.5;
continueafterdestroy=true;
emitter.addglobalmodifier("range",0.1,3,"zoom","ad d",.3,.5);
emitter.addglobalmodifier("range",3,6,"zoom","sub" ,.3,.5);
emitter.emit();
}
thiso.ganiobj.destroy();
}

SCRIPTEND



uploaded it, and made a level with an npc:
NPC Code:

function onPlayerTouchsMe(){
showani2(1,x-10,y,z,0,"end_spell_ex_1","");
}



well starting graal touching the block, it starts spamming me !

"Access violation at address 00000000. Read of address 00000000."
after some of them it changed to
"Access violation at address 04D2005SB. Read of address 04D2005SB."
k taskmanager, close graal4.exe down...
-restarting-
-logging in-
"External exception C000001D."
"Access violation at address 90027DB8. Read of adress 90027DB8."
after a few hundred access violation popup errors.
"Access violation at address 7C92218E in module 'ntdll.dll'. Read of address 0C5E4970."

hoooray

how to fix?

Last edited by projectigi; 02-13-2006 at 06:27 PM..
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 01:47 AM.


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