Panel/SetWorldClicker

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Bug)
m (Context menu usage)
 
Line 2: Line 2:
 
|Name=SetWorldClicker
 
|Name=SetWorldClicker
 
|Parent=Panel
 
|Parent=Panel
|Description=This makes it so that when you're hovering over this panel you can `click` on the world. Your viewmodel will aim etc.
+
|Description=This makes it so that when you're hovering over this panel you can `click` on the world. Your viewmodel will aim etc. This is primarily used for the Sandbox context menu.
  
 
{{Bug|Issue=3467|This function doesn't scale with custom FOV specified by {{HookFunction|GM|CalcView}} or {{HookFunction|WEAPON|TranslateFOV}}.}}
 
{{Bug|Issue=3467|This function doesn't scale with custom FOV specified by {{HookFunction|GM|CalcView}} or {{HookFunction|WEAPON|TranslateFOV}}.}}

Latest revision as of 16:56, 15 May 2019

 Panel:SetWorldClicker( )

Description

This makes it so that when you're hovering over this panel you can `click` on the world. Your viewmodel will aim etc. This is primarily used for the Sandbox context menu.

BUG

This function doesn't scale with custom FOV specified by GM:CalcView or WEAPON:TranslateFOV.

Issue Tracker: #3467

Arguments

boolean enabled

Personal tools
Navigation