Hey guys, I've got another question for you.
I'm trying to access the values m_pGlowTrail and m_pMainGlow on creation of any entity npc_grenade_frag. Dumping the datamaps showed me that those values in fact do exists but when I try to acces them I get this error for either of them:
Now I'm wondering how I can access them (and I know they can be accessed as I'm porting a SM plugin which did).
Thanks :)
Accessing m_pMainGlow and m_pGlowTrail
Re: Accessing m_pMainGlow and m_pGlowTrail
That's a bug in entities.classes. I'm working on it right now. Thank you for finding and reporting!
Re: Accessing m_pMainGlow and m_pGlowTrail
Ok, this should be fixed when build 523 is available. Thanks again for reporting this bug!
Re: Accessing m_pMainGlow and m_pGlowTrail
I can confirm that it works perfectly now! Thank you very much
Re: Accessing m_pMainGlow and m_pGlowTrail
I added those datamap properties to our entity data. So, as of build 525, you can just use:
Syntax: Select all
main_glow = entity.main_glow
glow_trail = entity.glow_trail
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 102 guests