I'm currently building a map editor and playing along with the INI object.
I would like to specify all the tile data in an INI file rather then cluttering the eventsheet with statments.
So far I have been able to "create object by name" from the INI file like so:
For each group
Create object INI.ItemString(INI.CurrentGroup, "Name")
I have more item names(set of data in the INI) that I would like to set for every created object, put how would I pick them since they are created from name?
As it stands now, the map editor creates the tiles (grass, dirt they are in a family called tiles) but let's say that I would like to set, on creation, their ID, Speedmodifier, Walksound, etc...
How would one do that in one function?
The INI looks like this:
Name=terrain_grass01 <font color=red><-- THIS IS THE NAME I USE IN THE EVENTSHEET</font>
Description=Medium long green grass. It's like fur but smellier.
Description=Brownish compound with small pebbles in it. Makes mothers cry.
Any help would be greatful!