Thread
:
TF2 setting Cloak Meter value
View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
09-29-2013 , 03:01 Re: TF2 setting Cloak Meter value
#
10
Have you tried different values for m_flCloakMeter? I can't tell you if 1.0 is 100% or 1%.
Edit: Oh, this is bumping an old thread.
If you want to force a Spy to cloak, use FakeClientCommand to force them to do +attack2. But be aware if they're already cloaked, this will decloak them... and will have no effect if a DR Spy is uncloaked and doesn't have a full cloak meter.
Edit2: btw, SetEntPropFloat(ent, Prop_Send, "m_flCloakMeter", 3.0) is probably safer than FindSendProp*/SetEntData.
__________________
Not currently working on SourceMod plugin development.
Last edited by Powerlord; 09-29-2013 at
03:30
.
Powerlord
View Public Profile
Find More Posts by Powerlord