Code: Select all
entity = getEnt( "name", "targetname" );
    entity delete();
    // something to re-struct entity //
    entity = getEnt( "name", "targetname" );
However, in gamemodes where there are a number of rounds on each map, after each round the entities are re-structed. I was wondering if there is any simple function(s) for this, or if it is hardcoded to happen each time a round restarts. Any help would be great, thanks!
Also, I have entities in my map that I didn't define to have any .angles, so when I print entity.angles it shows as the default (0,0,0). Then I thought it should be possible to use getEntArray( (0,0,0),"angles" ); however it returns as undefined (even with "(0,0,0)" rather than (0,0,0)), any help on that would also be appreciated
