I use array to read in the path! Then I use on each Object code to read in 3D objects.
My question is how can I get on each object to be * Run this event once?
For example
* On loop "load"
+ ValueAtXY( "Array", PosX, PosY ) > 0
+ Current frame of Cursor = 1
+ Run this event once
New Objects : Create My Wall at (0,0) from Cursor
Cursor : Set X position to PosX * TileSize
Cursor : Set Y position to PosY * TileSize
Cursor : Force animation frame to ValueAtXY( "Array", PosX, PosY )
or
* On each one of Barrel, loop name "Barrel"
+ Run this event once
New Objects : Create Box Place at (0,0) from Barrel
All Items : Add to Firefly Engine (Firefly Engine)
All Items : Load Animated Mesh: Appdrive$ + "data/items/barrel.obj"
All Items : Set Position to
"Box Placer" ), 0, Frame Height - Y( "Box Placer" )
All Items : Set Scale to 5, 5, 5
All Items : Load Material GetMaterial( "Items", MaterialsIndex( "Items", "Barrel" ) ) into index 0
Barrel : Destroy
It must read the array and render on each object once?