Man nehme eine Action

Code:
action my_action ()
{
while(1)
{
bla bla;
}
}



Dann createt man die entity

Code:
 ent_create ("meinmesh.mdl", vector(0,0,0), my_action);


oder falls du dafür auch noch nen Pointer für andere Spässe brauchst

Code:
you = ent_create ("meinmesh.mdl", vector(0,0,0), my_action);





Last edited by Tiles; 11/01/07 12:21.

trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de