ent_varible

Exist

L6: Sharp Member
Oct 31, 2009
306
136
I'm wondering, is there a entity that can hold a number and be named?

Example if you don't understand; func_breakable has a health parameter. Insted of using a number, I use the name of the ent_variable (this entity holds the number and is named) to determind the health.
 

Penguin

Clinically Diagnosed with Small Mapper's Syndrome
aa
May 21, 2009
2,039
1,484
math_counter

but your application is not correct.

if you wanted to change up breakable health on the fly, you'd use addoutput.
 

Tapp

L10: Glamorous Member
Jan 26, 2009
776
215
I would have to warn you, though, that storing strings or anything more complicated than simple math in entities is not very robust. There is only one way to transmit an entity name, and it's far from flexible.