Page 1 of 1
unkown opcode, cannot cast nil to float?!
Posted: Thu Apr 09, 2009 8:06 am
by Aprop
Code: Select all
local.r = randomint(2) (maps/dm/m3l1d.scr, 580)
local.r = ^
^~^~^ Script Error: Cannot cast 'NIL' to int
wait local.r (maps/dm/m3l1d.scr, 581)
^
^~^~^ Script Error: Cannot cast 'NIL' to float
file 'maps/dm/m3l1d.scr'
********************
ERROR: unknown opcode: 118
What the hell is it?
Re: unkown opcode, cannot cast nil to float?!
Posted: Fri Apr 10, 2009 6:42 am
by jv_map
Aprop wrote:
What the hell is it?
Strange
Maybe try:
local.r = randomint 2
Posted: Fri Apr 10, 2009 9:11 am
by Rookie One.pl
I'd look for the reason earlier in the script. To me it looks like you did something so messed up in the script that you drove the scripting engine nuts.