Hi again!
A little problem is bugging me!
I have object with all unique instance variable. For this example i will take:
Object 1. : Instance Variable: [number] = 1
Object 2. : Instance Variable: [number] = 2
Object 3. : Instance Variable: [number] = 3
Now i want to:
IF Instance Variable [number] = 1 SPAWN Object : Spawn1
IF Instance Variable [number] = 2 SPAWN Object : Spawn2
IF Instance Variable [number] = 3 SPAWN Object : Spawn3
How i started:
For each Object ( family for Object 1, Object 2 and Object 3 )
???????????????????????
Object Spawn ??????????????
I am thinking in a way of calling all instance variables the name of the object i want to spawn.
But as far as i know there is no way to spawn a object with the name of a instance variable am i right?
Though that is what i try to make.
I will try with another example:
Object: Apple , instance variable: fruitName = Apple
Object: Pear , instance variable: fruitName = Pear
Family: Fruit ( including Apple, Pear )
EVENT:
For each Fruit
ACTION:
Spawn {{OBJECT: Fruit.fruitName}}
But that isn't possible..
I hope i made myself clear once again.
Thanks in advance!