New engine features

Top  Previous  Next

noflag1

 

If this view flag is set the engine will not display the entities and the textures which have their flag1 checked.

 

starter set_camera

{

       camera.noflag1 = on; // set the "noflag1" for the camera

}

 

action invisible_entity // this entity will be invisible for the camera (the default view) until its flag1 is set to off

{

       my.flag1 = on; // make this entity invisible for the camera

       // the rest of the code for your entity goes here        

       ....................

}

 

 

client_drop(name)

 

This instruction kicks out the client with the specified name in a multiplayer game. You will want to use client_drop if the maximum number of players is reached, or if you want to implement a password protection (read anti-hacker) mechanism for your multiplayer game.

 

 

New entity flags in Wed

 

The "local", "cast" and "polygon" flags can now be set in Wed's object properties window.

 

hot53