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?