Wintermute Engine > Bugs
Bug with String object
(1/1)
metamorphium:
Hi Mnemonic,
I have the following code:
--- Code: WME Script ---on "LeftClick"{ var str = new String(this.Name); var name = str.Substr(3); Game.Msg("Name:" + str + " Region:" + name); Scene.RegionClicked(name);}
On WME it shows eg.:
Name: Reg19
Region: 19
on WME lite it shows:
Name: Reg19
Region:
It seems that the string logic hasn't been implemented. Any advice, or should I change this logic in the game?
Thank you!
metamorphium:
Just for the records. Fixed in the latest svn commit.
Navigation
[0] Message Index
Go to full version