point_script
Jump to navigation
Jump to search


point_script is a point entity available in
Counter-Strike 2. It is used to reference JavaScript files in a map.
Keyvalues
Source 2 Transform:
- Origin (origin) <coordinates>
- The world space origin of the entity.
- Angles (angles) <angles>
- The pitch, yaw, roll orientation of the entity.
- Scale (scales) <vector>
- The x, y, z scales of the entity. Not all entities can use this.
- Transform Locked (transformLocked) <boolean>
- Lock the transform at its current value, preventing the transform of the node from being modified. Only applies within Hammer.
- Force Hidden (force_hidden) <boolean>
- Visually hides the entity from the viewports. The Outliner pane will still list hidden entities.
- Editor Only (editorOnly) <boolean>
- Entity is only displayed in Hammer and will not appear in game.
- Name (targetname) <string>
- The name that other entities refer to this entity by.
- cs_script (cs_script) <resource:vjs>
Inputs
- RunScriptInput <string>
- Run callback registered using OnScriptInput.