View Single Post
Author Message
Mandrew
Junior Member
Join Date: Nov 2018
Old 11-24-2021 , 17: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