Raised This Month: $9 Target: $400
 2% 

Change boolean value on entity?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mandrew
Junior Member
Join Date: Nov 2018
Old 11-24-2021 , 18:42   Change boolean value on entity?
Reply With Quote #1

Hello. I am rather amateurish with sourcemod. However, I am able to change an antlions health using:
Code:
SetEntProp(ent, Prop_Data, "m_iHealth", 500);
But, I cannot do this with a certain bool value named "IsAllied". (Check link below)

https://github.com/ValveSoftware/sou...lion.cpp#L3814

Is there a way to force the value to be 1 despite it checking for globals?
Mandrew is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:41.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode