Thread: [Solved] L4D Nav Mesh Attributes
View Single Post
3ipKa
Member
Join Date: Jul 2013
Old 08-23-2022 , 12:59   Re: L4D Nav Mesh Attributes
Reply With Quote #4

Yeah, I know about that ) I'm searching way to do this through Sourcemod.

Quote:
Originally Posted by sorallll View Post
PHP Code:
"Offsets"
{
    
/* CNavArea::InheritAttributes(CNavArea *__hidden this, CNavArea *, CNavArea *) */
    
"CNavArea::InheritAttributes::m_attributeFlags"
    
{
        
"linux"      "84"
        "windows"    "84"
    
}

    
/* TerrorNavArea::SetSpawnAttributes(TerrorNavArea *__hidden this, unsigned int) */
    
"TerrorNavArea::SetSpawnAttributes::m_spawnAttributes"
    
{
        
"linux"    "300"
        "windows"    "296"
    
}

Thank you, sorallll ) I took your End Safearea Teleport plugin as example.

I saw VScripts has some nav functions: GetNavArea, HasSpawnAttributes... Tried it use with L4D2_GetVScriptOutput, but haven't found a way yet. Is it possible do it with VScripts through SM?
3ipKa is offline