@@ -1345,19 +1345,19 @@ end
13451345__e2setcost (10 )
13461346
13471347e2function void entity :setEyeTarget (vector pos )
1348- if not ValidAction (self , this , " eyetarget " ) then return end
1348+ if not ValidAction (self , this ) then return end
13491349 this :SetEyeTarget (pos )
13501350end
13511351
13521352e2function void entity :setFlexWeight (number flex , number weight )
1353- if not ValidAction (self , this , " flexweight " .. flex ) then return end
1353+ if not ValidAction (self , this ) then return end
13541354 this :SetFlexWeight (flex , weight )
13551355end
13561356
13571357__e2setcost (30 )
13581358
13591359e2function void entity :setEyeTargetLocal (vector pos )
1360- if not ValidAction (self , this , " eyetarget " ) then return end
1360+ if not ValidAction (self , this ) then return end
13611361 if not this :IsRagdoll () then
13621362 local attachment = this :GetAttachment (this :LookupAttachment (" eyes" ))
13631363 if attachment then
@@ -1368,7 +1368,7 @@ e2function void entity:setEyeTargetLocal(vector pos)
13681368end
13691369
13701370e2function void entity :setEyeTargetWorld (vector pos )
1371- if not ValidAction (self , this , " eyetarget " ) then return end
1371+ if not ValidAction (self , this ) then return end
13721372 if this :IsRagdoll () then
13731373 local attachment = this :GetAttachment (this :LookupAttachment (" eyes" ))
13741374 if attachment then
@@ -1383,13 +1383,13 @@ __e2setcost(20)
13831383e2function void entity :setFlexWeight (string flex , number weight )
13841384 flex = this :GetFlexIDByName (flex )
13851385 if flex then
1386- if not ValidAction (self , this , " flexweight " .. flex ) then return end
1386+ if not ValidAction (self , this ) then return end
13871387 this :SetFlexWeight (flex , weight )
13881388 end
13891389end
13901390
13911391e2function void entity :setFlexScale (number scale )
1392- if not ValidAction (self , this , " flexscale " ) then return end
1392+ if not ValidAction (self , this ) then return end
13931393 this :SetFlexScale (scale )
13941394end
13951395
0 commit comments