Hi everyone,
i got a problem with entities.
This is what i done and the problem occured:
-I added a cube in wed, selected it , edit->hollow block.
-Placed the cbaba.mdl inside the cube.
-Saved it. test.wmp
-Opened sed wrote the following:
Code:
STRING test = "test.wmb";
function main(){
level_load(test);
wait(2);
while(1){
wait(1);
}
}
action i_am_rotating(){
while(me!=NULL){
my.pan+=3;
wait(1);
}
}
-Saved it as script.wdl
-Gone back to wed. Attached the script.
-Attached the action to cbabe.
-Built the wmb file. Hit the run button.
and it just shows a little while and program terminates it self with a "ding" sound. No error messages or script compilation errors.
If i dont attach the action, it runs. This happens when entity have the action.