This single action is the starting point for your entity.
You can start a lot of functions from there.
If you place a block like this into that function, you get something like a thread.

Start a function for your animations, another one for state changes
(which results in a different animation), ...

Quote:


while(1) {
// ----- do your stuff here
wait(1);
}





If you don't use this loop - it is a simple blocking function call.

There is no real need for a dll - but you can use a dll if you reach the limits of the engine.

-- slacer