View Full Version : setAni() in gani: Access violation

06-20-2006, 07:27 PM
I noticed that you get an access violation in GraalEngine.dll when you immediately changes the player's animation in the gani's script.

function onCreated()
// Code here, as long as it doesn't sleep()
// Putting a sleep() here removes the violation

// There might be less obvious code of course
setAni("idle", "");

There was 3 others on the server (100% of the testing population) who experienced this too when the gani was played, wich means it is probably not a client error.

06-20-2006, 10:36 PM
Hmmm doing setani inside the gani script is probably deleting itself, so it should crash. Will try to fix that, since it could be interesting to use that setani-call for a dynamic-setbackto replacement or similar.