The Daily Click ::. Forums ::. Klik Coding Help ::. Troubles with trying to open a specific INI group in the expression editor
 

Post Reply  Post Oekaki 
 

Posted By Message

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
3rd August, 2009 at 20:36:36 -

I have various ini groups called level1, level2, level3 etc and i want to move to the groups based on the word "level" + an object's alterable value (all of which are in the qualifier 'Doors').

The ini is set up like this

[level1]
mapname=Tutorial beach
file=level1.arr

This is the best expression i can come up with but i get the error message 'Mixed strings and numbers'.

Set group to -->
Str$("line"+(Alterable Value B( "Group.Doors" )))




Edited by AndyUK

 
.

Don Luciano

Heavy combat pancake

Registered
  25/10/2006
Points
  380

VIP Member
3rd August, 2009 at 20:48:31 -

Set group to
"line"+Str$(AltB)

 
Code me a sausage!

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
3rd August, 2009 at 20:55:40 -

oh so i put the str$ in the wrong place. It's valid now thank you.

I also noticed i wrote 'line' instead of 'level' but yeah it should work now lol.

Edited by AndyUK

 
.
   

Post Reply



 



Advertisement

Worth A Click