by Victor
Rewrite this events :
| Condition | Action | Explication |
|---|---|---|
| At the beginning of the scene | Hide the object point_arbre | |
| For Each point_arbre, repeat the following actions : | Category “Advanced” | |
| Do =0 to variable rotation | The sign is = | |
| Repeat 6 times the following actions : | Category “Advanced” | |
| Create object arbre at position OBJ(point_arbre[x]) and OBJ(point_arbre[y]) | The first position is the X position and the second is the Y position | |
| Do =VAL(variable[rotation]) to yaw of arbre | In 3D Box object > Angles / Sign = | |
| Do +30 to variable rotation | Sign + | |
| Do =1000 to z-Order of arbre | In All objects > Z Order |
So, At the beginning of the scene, 3D tree will appear at the point_arbre object's positions.