AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Glow ent (https://forums.alliedmods.net/showthread.php?t=152564)

tuty 03-11-2011 10:32

Glow ent
 
It is possible to make an entity like hostage_entity, func_wall, func_breakable to glow with glowshell?

infek 03-11-2011 11:16

Re: Glow ent
 
set_rendering runs engine_stocks.inc
PHP Code:

new ClassName[32];
entity_get_string(entEV_SZ_classnameClassNamecharsmax(ClassName)) 
    
    if(
equali(ClassName"Entity Name") {
        
// set your rendering here.
        
set_rendering entfx=kRenderFxGlowShellr=255,g=255,b=255render=kRenderNormal,amount=16 )
    }



<VeCo> 03-12-2011 07:56

Re: Glow ent
 
Not possible for solid entities.


All times are GMT -4. The time now is 20:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.