Hello everyone!
I gave some light to my entity tree, I added "EF_LIGHT". Is it possible to move/hide this white light thing. Maybe give it under the ground? Then players will not see this annoying light thing.
Code:
CreateTree( const Float:vOrigin[ 3 ] ) {
new iEntity = create_entity( "info_target" );
if( !iEntity )
return 0;
entity_set_string( iEntity, EV_SZ_classname, "env_tree" );
entity_set_int( iEntity, EV_INT_solid, SOLID_NOT );
entity_set_int( iEntity, EV_INT_movetype, MOVETYPE_NONE );
entity_set_int( iEntity, EV_INT_effects, EF_LIGHT)
entity_set_size( iEntity, Float:{ -1.0, -1.0, -1.0 }, Float:{ 1.0, 1.0, 36.0 } );
entity_set_origin( iEntity, vOrigin );
entity_set_model( iEntity, MODEL );
drop_to_floor( iEntity );
return iEntity;
}
Greetings!