Scudmaster
Member
Hello,
I'm having a bit of a problem with NeoABS and I know that no one supports it anymore, but I would appreciate someone putting thier two-sense into this...
PROBLEM: I'm using hategroups to have two different monsters attack each other and every so often I'll get this error when they are fighting each other...
Script' oEnemy Process' line 526: NoMethodError occurred.
undefined method `enemy_id' for nil:NilClass
Here's the line of script...
enemy_id = (e_id > 0 ? $NeoABS.enemies[e_id].enemy_id : 0)
I hope that this is enough information to help someone come to a conclusion of this problem.
Like i said though this error doesn't occur all the time but it still occurs and I don't want to release a buggy game.
P.S. - The only other script I'm using is a custom menu script and a splashscreen script.
I'm having a bit of a problem with NeoABS and I know that no one supports it anymore, but I would appreciate someone putting thier two-sense into this...
PROBLEM: I'm using hategroups to have two different monsters attack each other and every so often I'll get this error when they are fighting each other...
Script' oEnemy Process' line 526: NoMethodError occurred.
undefined method `enemy_id' for nil:NilClass
Here's the line of script...
enemy_id = (e_id > 0 ? $NeoABS.enemies[e_id].enemy_id : 0)
I hope that this is enough information to help someone come to a conclusion of this problem.
Like i said though this error doesn't occur all the time but it still occurs and I don't want to release a buggy game.
P.S. - The only other script I'm using is a custom menu script and a splashscreen script.