Posted By: DarkProgrammer
WED [Need help understanding/creating actions] - 05/19/14 22:13
I hope this is the correct forum to post this, if not, I apologize & someone please let me know where this post belongs?
I am new to Gamestudio & Lite-C programming.
Ok so here is what I need help understanding. I'm following along with the online tutorials/Lite-C workshops.
The first point I need help understanding is in
"Workshop 10: Actions"
In that lesson there is a 3D model of a jet plane rotating inside a hangar. now as I understand the model of the jet was placed in the scene using the WED editor. what I don't understand is how the code in the SED is actually causing the model to rotate. This is the code from the editor:
The question is how is this linked to the 3D jet model? where is my.pan defined? It doesn't seem to be linked to the 3D model in any way.
My next question has to do with "Workshop 11: Pointers"
There are 2 wizard models in the scene, each assigned to their own actions, in the text of the lesson, it says the actions are assigned in the WED editor, how do I view those actions in WED and also how can I change the names of the actions or create my own new actions?
Any help and advice would be greatly appreciated. so thank you for reading this and offering your advice.
I am new to Gamestudio & Lite-C programming.
Ok so here is what I need help understanding. I'm following along with the online tutorials/Lite-C workshops.
The first point I need help understanding is in
"Workshop 10: Actions"
In that lesson there is a 3D model of a jet plane rotating inside a hangar. now as I understand the model of the jet was placed in the scene using the WED editor. what I don't understand is how the code in the SED is actually causing the model to rotate. This is the code from the editor:
Code:
action rotate_plane() { while (1) { my.pan = my.pan + 0.1; wait (1); } }
The question is how is this linked to the 3D jet model? where is my.pan defined? It doesn't seem to be linked to the 3D model in any way.
My next question has to do with "Workshop 11: Pointers"
There are 2 wizard models in the scene, each assigned to their own actions, in the text of the lesson, it says the actions are assigned in the WED editor, how do I view those actions in WED and also how can I change the names of the actions or create my own new actions?
Any help and advice would be greatly appreciated. so thank you for reading this and offering your advice.