Post your scripting questions / solutions here
Moderator: Moderators
Aprop
Major
Posts: 291 Joined: Mon Nov 17, 2008 3:40 pm
Post
by Aprop » Thu Apr 09, 2009 8:06 am
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?
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Fri Apr 10, 2009 6:42 am
Aprop wrote:
What the hell is it?
Strange
Maybe try:
local.r = randomint 2
Rookie One.pl
Site Admin
Posts: 2752 Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:
Post
by Rookie One.pl » Fri Apr 10, 2009 9:11 am
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.