player_weaponstrip
Jump to navigation
Jump to search
![]() |
---|
CStripWeapons |
![]() |

player_weaponstrip
is an e0 available in all Source games. 该实体会剥夺玩家的武器和/或套装。
译者:胆先生



Workaround:viewmodel在触发武器剥夺后,稍微延迟地向实体下达一个DisableDraw输入。(这不会妨碍后来拾取的武器出现。)

!activator
的目标. 这意味着需要通过玩家交互, (例如碰到触发器或按下按钮来触发) 在游戏中 VScript, EntFireByHandle()
可以使用特定玩家作为激活器来触发输入。键值
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- Strip
- 移除玩家的武器
- StripWeaponsAndSuit
- 移除玩家的武器和装备
也可以看看
- trigger_weapon_strip - 类似的笔画实体。