Guest User

Untitled

a guest
May 12th, 2025
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 309.39 KB | None | 0 0
  1. =====================================
  2. Enum: HidingSpot
  3. Elements: 4
  4. Description: Visibility enum for nav mesh hiding spots
  5. =====================================
  6.  
  7. =====================================
  8. Enum: Hitgroup
  9. Elements: 9
  10. Description: Hit groups from traces
  11. =====================================
  12.  
  13. =====================================
  14. Enum: IN
  15. Elements: 26
  16. Description: Button mask bindings
  17. =====================================
  18.  
  19. =====================================
  20. Enum: MapLoad
  21. Elements: 4
  22. Description: Map load enum for GetLoadType()
  23. =====================================
  24.  
  25. =====================================
  26. Enum: RenderMode
  27. Elements: 11
  28. Description: Render modes used by Get/SetRenderMode
  29. =====================================
  30.  
  31. =====================================
  32. Enum: WeaponID
  33. Elements: 69
  34. Description: Weapon IDs for all NMRiH weapons.
  35. =====================================
  36.  
  37. =====================================
  38. Enum: WeaponSound
  39. Elements: 17
  40. Description: Weapon sounds.
  41. =====================================
  42.  
  43. Constant: AE_TYPE_CLIENT
  44. Value: 16 (int)
  45. Description: Animation event flag which indicates an event is supposed to be clientside only.
  46.  
  47. Constant: AE_TYPE_FACEPOSER
  48. Value: 32 (int)
  49. Description: Animation event flag with an unknown purpose. Presumably related to Faceposer.
  50.  
  51. Constant: AE_TYPE_NEWEVENTSYSTEM
  52. Value: 1024 (int)
  53. Description: Animation event flag which indicates an event is using the new system. This is often used by class-specific events from NPCs.
  54.  
  55. Constant: AE_TYPE_SCRIPTED
  56. Value: 2 (int)
  57. Description: Animation event flag with an unknown purpose.
  58.  
  59. Constant: AE_TYPE_SERVER
  60. Value: 1 (int)
  61. Description: Animation event flag which indicates an event is supposed to be serverside only.
  62.  
  63. Constant: AE_TYPE_SHARED
  64. Value: 4 (int)
  65. Description: Animation event flag which indicates an event is supposed to be shared between the server and client.
  66.  
  67. Constant: AE_TYPE_WEAPON
  68. Value: 8 (int)
  69. Description: Animation event flag which indicates an event is part of a weapon.
  70.  
  71. Constant: AISS_AWAKE
  72. Value: 0 (int)
  73. Description: NPC is awake. (NPC sleep state used in Get/SetSleepState())
  74.  
  75. Constant: AISS_WAITING_FOR_INPUT
  76. Value: 3 (int)
  77. Description: NPC is asleep and will only awaken upon receiving the Wake input. (NPC sleep state used in Get/SetSleepState())
  78.  
  79. Constant: AISS_WAITING_FOR_PVS
  80. Value: 2 (int)
  81. Description: NPC is asleep and will awaken upon entering a player's PVS. (NPC sleep state used in Get/SetSleepState())
  82.  
  83. Constant: AISS_WAITING_FOR_THREAT
  84. Value: 1 (int)
  85. Description: NPC is asleep and will awaken upon seeing an enemy. (NPC sleep state used in Get/SetSleepState())
  86.  
  87. Constant: AI_SLEEP_FLAGS_NONE
  88. Value: 0 (int)
  89. Description: No sleep flags. (NPC sleep flag used in Add/Remove/HasSleepFlags())
  90.  
  91. Constant: AI_SLEEP_FLAG_AUTO_PVS
  92. Value: 1 (int)
  93. Description: Indicates a NPC will sleep upon exiting PVS. (NPC sleep flag used in Add/Remove/HasSleepFlags())
  94.  
  95. Constant: AI_SLEEP_FLAG_AUTO_PVS_AFTER_PVS
  96. Value: 2 (int)
  97. Description: Indicates a NPC will sleep upon exiting PVS after entering PVS for the first time(?????) (NPC sleep flag used in Add/Remove/HasSleepFlags())
  98.  
  99. Constant: ALL_CONTEXTS
  100. Value: -1048576 (int)
  101. Description: All sound contexts useable in QueryHearSound hooks, etc.
  102.  
  103. Constant: ALL_SCENTS
  104. Value: 224 (int)
  105. Description: All "scent" sound types useable in QueryHearSound hooks, etc.
  106.  
  107. Constant: ALL_SOUNDS
  108. Value: 1048351 (int)
  109. Description: All sound types useable in QueryHearSound hooks, etc.
  110.  
  111. Constant: ALL_VISIBLE_CONTENTS
  112. Value: 255 (int)
  113. Description: Contains all visible spatial content flags.
  114.  
  115. Constant: AUTOAIM_10DEGREES
  116. Value: 0.173648 (float)
  117. Description: 10-degree autoaim cone.
  118.  
  119. Constant: AUTOAIM_20DEGREES
  120. Value: 0.349066 (float)
  121. Description: 20-degree autoaim cone.
  122.  
  123. Constant: AUTOAIM_2DEGREES
  124. Value: 0.034899 (float)
  125. Description: 2-degree autoaim cone.
  126.  
  127. Constant: AUTOAIM_5DEGREES
  128. Value: 0.087156 (float)
  129. Description: 5-degree autoaim cone.
  130.  
  131. Constant: AUTOAIM_8DEGREES
  132. Value: 0.139173 (float)
  133. Description: 8-degree autoaim cone.
  134.  
  135. Constant: AUTOAIM_SCALE_DEFAULT
  136. Value: 1.000000 (float)
  137. Description: Indicates default auto aim scale.
  138.  
  139. Constant: AUTOAIM_SCALE_DIRECT_ONLY
  140. Value: 0.000000 (float)
  141. Description: Indicates auto aim should not be used except for direct hits.
  142.  
  143. Constant: CHAN_AUTO
  144. Value: 0 (int)
  145. Description: The default generic sound channel.
  146.  
  147. Constant: CHAN_BODY
  148. Value: 4 (int)
  149. Description: The sound channel used for clothing, ragdoll impacts, footsteps, knocking/pounding/punching etc.
  150.  
  151. Constant: CHAN_ITEM
  152. Value: 3 (int)
  153. Description: The sound channel used for generic physics impact sounds, health/suit chargers, +use sounds.
  154.  
  155. Constant: CHAN_REPLACE
  156. Value: -1 (int)
  157. Description: The sound channel used when playing sounds through console commands.
  158.  
  159. Constant: CHAN_STATIC
  160. Value: 6 (int)
  161. Description: The sound channel for constant/background sound that doesn't require any reaction.
  162.  
  163. Constant: CHAN_STREAM
  164. Value: 5 (int)
  165. Description: The sound channel for sounds that can be delayed by an async load, i.e. aren't responses to particular events.
  166.  
  167. Constant: CHAN_VOICE
  168. Value: 2 (int)
  169. Description: The sound channel used for dialogue, voice lines, etc.
  170.  
  171. Constant: CHAN_VOICE2
  172. Value: 7 (int)
  173. Description: An additional sound channel for voices. Used in TF2 for the announcer.
  174.  
  175. Constant: CHAN_VOICE_BASE
  176. Value: 8 (int)
  177. Description: The sound channel used for network voice data (online voice communications).
  178.  
  179. Constant: CHAN_WEAPON
  180. Value: 1 (int)
  181. Description: The sound channel for player and NPC weapons.
  182.  
  183. Constant: CLASS_BULLSEYE
  184. Value: 7 (int)
  185. Description: Used by npc_bullseye.
  186.  
  187. Constant: CLASS_EARTH_FAUNA
  188. Value: 8 (int)
  189. Description: Used by birds.
  190.  
  191. Constant: CLASS_NATIONAL_GUARD
  192. Value: 6 (int)
  193. Description: Reserved for the National Guard.
  194.  
  195. Constant: CLASS_NONE
  196. Value: 0 (int)
  197. Description: No class.
  198.  
  199. Constant: CLASS_NPC
  200. Value: 5 (int)
  201. Description: Reserved for generic NPCs.
  202.  
  203. Constant: CLASS_PLAYER
  204. Value: 1 (int)
  205. Description: Used by players.
  206.  
  207. Constant: CLASS_PLAYER_ALLY
  208. Value: 2 (int)
  209. Description: Used by player allies.
  210.  
  211. Constant: CLASS_PLAYER_ALLY_VITAL
  212. Value: 3 (int)
  213. Description: Reserved for vital player allies.
  214.  
  215. Constant: CLASS_ZOMBIE
  216. Value: 4 (int)
  217. Description: Used by the living dead.
  218.  
  219. Constant: CLIENT_DLL
  220. Value: 0 (int)
  221.  
  222. Constant: COLLISION_GROUP_BREAKABLE_GLASS
  223. Value: 6 (int)
  224. Description: Collision group used in GetCollisionGroup(), etc.
  225.  
  226. Constant: COLLISION_GROUP_DEBRIS
  227. Value: 1 (int)
  228. Description: Collision group used in GetCollisionGroup(), etc.
  229.  
  230. Constant: COLLISION_GROUP_DEBRIS_TRIGGER
  231. Value: 2 (int)
  232. Description: Collision group used in GetCollisionGroup(), etc.
  233.  
  234. Constant: COLLISION_GROUP_DISSOLVING
  235. Value: 25 (int)
  236. Description: Collision group used in GetCollisionGroup(), etc.
  237.  
  238. Constant: COLLISION_GROUP_DOOR_BLOCKER
  239. Value: 23 (int)
  240. Description: Collision group used in GetCollisionGroup(), etc.
  241.  
  242. Constant: COLLISION_GROUP_INTERACTIVE
  243. Value: 4 (int)
  244. Description: Collision group used in GetCollisionGroup(), etc.
  245.  
  246. Constant: COLLISION_GROUP_INTERACTIVE_DEBRIS
  247. Value: 3 (int)
  248. Description: Collision group used in GetCollisionGroup(), etc.
  249.  
  250. Constant: COLLISION_GROUP_IN_VEHICLE
  251. Value: 19 (int)
  252. Description: Collision group used in GetCollisionGroup(), etc.
  253.  
  254. Constant: COLLISION_GROUP_NONE
  255. Value: 0 (int)
  256. Description: Collision group used in GetCollisionGroup(), etc.
  257.  
  258. Constant: COLLISION_GROUP_NPC
  259. Value: 9 (int)
  260. Description: Collision group used in GetCollisionGroup(), etc.
  261.  
  262. Constant: COLLISION_GROUP_NPC_ACTOR
  263. Value: 27 (int)
  264. Description: Collision group used in GetCollisionGroup(), etc.
  265.  
  266. Constant: COLLISION_GROUP_NPC_SCRIPTED
  267. Value: 28 (int)
  268. Description: Collision group used in GetCollisionGroup(), etc.
  269.  
  270. Constant: COLLISION_GROUP_PASSABLE_DOOR
  271. Value: 24 (int)
  272. Description: Collision group used in GetCollisionGroup(), etc.
  273.  
  274. Constant: COLLISION_GROUP_PLAYER
  275. Value: 5 (int)
  276. Description: Collision group used in GetCollisionGroup(), etc.
  277.  
  278. Constant: COLLISION_GROUP_PLAYER_MOVEMENT
  279. Value: 8 (int)
  280. Description: Collision group used in GetCollisionGroup(), etc.
  281.  
  282. Constant: COLLISION_GROUP_PROJECTILE
  283. Value: 22 (int)
  284. Description: Collision group used in GetCollisionGroup(), etc.
  285.  
  286. Constant: COLLISION_GROUP_PUSHAWAY
  287. Value: 26 (int)
  288. Description: Collision group used in GetCollisionGroup(), etc.
  289.  
  290. Constant: COLLISION_GROUP_VEHICLE
  291. Value: 7 (int)
  292. Description: Collision group used in GetCollisionGroup(), etc.
  293.  
  294. Constant: COLLISION_GROUP_VEHICLE_CLIP
  295. Value: 21 (int)
  296. Description: Collision group used in GetCollisionGroup(), etc.
  297.  
  298. Constant: COLLISION_GROUP_WEAPON
  299. Value: 20 (int)
  300. Description: Collision group used in GetCollisionGroup(), etc.
  301.  
  302. Constant: CONTENTS_AREAPORTAL
  303. Value: 32768 (int)
  304. Description: Spatial content flags.
  305.  
  306. Constant: CONTENTS_AUX
  307. Value: 4 (int)
  308. Description: Spatial content flags.
  309.  
  310. Constant: CONTENTS_BLOCKLOS
  311. Value: 64 (int)
  312. Description: Spatial content flags.
  313.  
  314. Constant: CONTENTS_CURRENT_0
  315. Value: 262144 (int)
  316. Description: Spatial content flags.
  317.  
  318. Constant: CONTENTS_CURRENT_180
  319. Value: 1048576 (int)
  320. Description: Spatial content flags.
  321.  
  322. Constant: CONTENTS_CURRENT_270
  323. Value: 2097152 (int)
  324. Description: Spatial content flags.
  325.  
  326. Constant: CONTENTS_CURRENT_90
  327. Value: 524288 (int)
  328. Description: Spatial content flags.
  329.  
  330. Constant: CONTENTS_CURRENT_DOWN
  331. Value: 8388608 (int)
  332. Description: Spatial content flags.
  333.  
  334. Constant: CONTENTS_CURRENT_UP
  335. Value: 4194304 (int)
  336. Description: Spatial content flags.
  337.  
  338. Constant: CONTENTS_DEBRIS
  339. Value: 67108864 (int)
  340. Description: Spatial content flags.
  341.  
  342. Constant: CONTENTS_DETAIL
  343. Value: 134217728 (int)
  344. Description: Spatial content flags.
  345.  
  346. Constant: CONTENTS_EMPTY
  347. Value: 0 (int)
  348. Description: Spatial content flags.
  349.  
  350. Constant: CONTENTS_GRATE
  351. Value: 8 (int)
  352. Description: Spatial content flags.
  353.  
  354. Constant: CONTENTS_HITBOX
  355. Value: 1073741824 (int)
  356. Description: Spatial content flags.
  357.  
  358. Constant: CONTENTS_IGNORE_NODRAW_OPAQUE
  359. Value: 8192 (int)
  360. Description: Spatial content flags.
  361.  
  362. Constant: CONTENTS_LADDER
  363. Value: 536870912 (int)
  364. Description: Spatial content flags.
  365.  
  366. Constant: CONTENTS_MONSTER
  367. Value: 33554432 (int)
  368. Description: Spatial content flags.
  369.  
  370. Constant: CONTENTS_MONSTERCLIP
  371. Value: 131072 (int)
  372. Description: Spatial content flags.
  373.  
  374. Constant: CONTENTS_MOVEABLE
  375. Value: 16384 (int)
  376. Description: Spatial content flags.
  377.  
  378. Constant: CONTENTS_OPAQUE
  379. Value: 128 (int)
  380. Description: Spatial content flags.
  381.  
  382. Constant: CONTENTS_ORIGIN
  383. Value: 16777216 (int)
  384. Description: Spatial content flags.
  385.  
  386. Constant: CONTENTS_PLAYERCLIP
  387. Value: 65536 (int)
  388. Description: Spatial content flags.
  389.  
  390. Constant: CONTENTS_SLIME
  391. Value: 16 (int)
  392. Description: Spatial content flags.
  393.  
  394. Constant: CONTENTS_SOLID
  395. Value: 1 (int)
  396. Description: Spatial content flags.
  397.  
  398. Constant: CONTENTS_TEAM1
  399. Value: 2048 (int)
  400. Description: Spatial content flags.
  401.  
  402. Constant: CONTENTS_TEAM2
  403. Value: 4096 (int)
  404. Description: Spatial content flags.
  405.  
  406. Constant: CONTENTS_TESTFOGVOLUME
  407. Value: 256 (int)
  408. Description: Spatial content flags.
  409.  
  410. Constant: CONTENTS_TRANSLUCENT
  411. Value: 268435456 (int)
  412. Description: Spatial content flags.
  413.  
  414. Constant: CONTENTS_WATER
  415. Value: 32 (int)
  416. Description: Spatial content flags.
  417.  
  418. Constant: CONTENTS_WINDOW
  419. Value: 2 (int)
  420. Description: Spatial content flags.
  421.  
  422. Constant: DAMAGE_AIM
  423. Value: 3 (int)
  424. Description: (Use with GetTakeDamage/SetTakeDamage)
  425.  
  426. Constant: DAMAGE_EVENTS_ONLY
  427. Value: 1 (int)
  428. Description: Call damage functions, but don't modify health (Use with GetTakeDamage/SetTakeDamage)
  429.  
  430. Constant: DAMAGE_NO
  431. Value: 0 (int)
  432. Description: Don't take damage (Use with GetTakeDamage/SetTakeDamage)
  433.  
  434. Constant: DAMAGE_YES
  435. Value: 2 (int)
  436. Description: Allow damage to be taken (Use with GetTakeDamage/SetTakeDamage)
  437.  
  438. Constant: DEG2RAD
  439. Value: 0.017453 (float)
  440.  
  441. Constant: DMG_ACID
  442. Value: 1048576 (int)
  443. Description: Damage type used in damage information.
  444.  
  445. Constant: DMG_AIRBOAT
  446. Value: 33554432 (int)
  447. Description: Damage type used in damage information.
  448.  
  449. Constant: DMG_ALWAYSGIB
  450. Value: 8192 (int)
  451. Description: Damage type used in damage information.
  452.  
  453. Constant: DMG_BLAST
  454. Value: 64 (int)
  455. Description: Damage type used in damage information.
  456.  
  457. Constant: DMG_BLAST_SURFACE
  458. Value: 134217728 (int)
  459. Description: Damage type used in damage information.
  460.  
  461. Constant: DMG_BUCKSHOT
  462. Value: 536870912 (int)
  463. Description: Damage type used in damage information.
  464.  
  465. Constant: DMG_BULLET
  466. Value: 2 (int)
  467. Description: Damage type used in damage information.
  468.  
  469. Constant: DMG_BURN
  470. Value: 8 (int)
  471. Description: Damage type used in damage information.
  472.  
  473. Constant: DMG_CLUB
  474. Value: 128 (int)
  475. Description: Damage type used in damage information.
  476.  
  477. Constant: DMG_CRUSH
  478. Value: 1 (int)
  479. Description: Damage type used in damage information.
  480.  
  481. Constant: DMG_DIRECT
  482. Value: 268435456 (int)
  483. Description: Damage type used in damage information.
  484.  
  485. Constant: DMG_DISSOLVE
  486. Value: 67108864 (int)
  487. Description: Damage type used in damage information.
  488.  
  489. Constant: DMG_DROWN
  490. Value: 16384 (int)
  491. Description: Damage type used in damage information.
  492.  
  493. Constant: DMG_DROWNRECOVER
  494. Value: 524288 (int)
  495. Description: Damage type used in damage information.
  496.  
  497. Constant: DMG_ENERGYBEAM
  498. Value: 1024 (int)
  499. Description: Damage type used in damage information.
  500.  
  501. Constant: DMG_FALL
  502. Value: 32 (int)
  503. Description: Damage type used in damage information.
  504.  
  505. Constant: DMG_GENERIC
  506. Value: 0 (int)
  507. Description: Damage type used in damage information.
  508.  
  509. Constant: DMG_NERVEGAS
  510. Value: 65536 (int)
  511. Description: Damage type used in damage information.
  512.  
  513. Constant: DMG_NEVERGIB
  514. Value: 4096 (int)
  515. Description: Damage type used in damage information.
  516.  
  517. Constant: DMG_PARALYZE
  518. Value: 32768 (int)
  519. Description: Damage type used in damage information.
  520.  
  521. Constant: DMG_PHYSGUN
  522. Value: 8388608 (int)
  523. Description: Damage type used in damage information.
  524.  
  525. Constant: DMG_PLASMA
  526. Value: 16777216 (int)
  527. Description: Damage type used in damage information.
  528.  
  529. Constant: DMG_POISON
  530. Value: 131072 (int)
  531. Description: Damage type used in damage information.
  532.  
  533. Constant: DMG_PREVENT_PHYSICS_FORCE
  534. Value: 2048 (int)
  535. Description: Damage type used in damage information.
  536.  
  537. Constant: DMG_RADIATION
  538. Value: 262144 (int)
  539. Description: Damage type used in damage information.
  540.  
  541. Constant: DMG_REMOVENORAGDOLL
  542. Value: 4194304 (int)
  543. Description: Damage type used in damage information.
  544.  
  545. Constant: DMG_SHOCK
  546. Value: 256 (int)
  547. Description: Damage type used in damage information.
  548.  
  549. Constant: DMG_SLASH
  550. Value: 4 (int)
  551. Description: Damage type used in damage information.
  552.  
  553. Constant: DMG_SLOWBURN
  554. Value: 2097152 (int)
  555. Description: Damage type used in damage information.
  556.  
  557. Constant: DMG_SONIC
  558. Value: 512 (int)
  559. Description: Damage type used in damage information.
  560.  
  561. Constant: DMG_VEHICLE
  562. Value: 16 (int)
  563. Description: Damage type used in damage information.
  564.  
  565. Constant: D_ER
  566. Value: 0 (int)
  567. Description: 'Error' relationship definition. Used by NPCs and players for relationship disposition.
  568.  
  569. Constant: D_FR
  570. Value: 2 (int)
  571. Description: Denotes a 'Fear' relationship. Used by NPCs and players for relationship disposition.
  572.  
  573. Constant: D_HT
  574. Value: 1 (int)
  575. Description: Denotes a 'Hate' relationship. Used by NPCs and players for relationship disposition.
  576.  
  577. Constant: D_LI
  578. Value: 3 (int)
  579. Description: Denotes a 'Like' relationship. Used by NPCs and players for relationship disposition.
  580.  
  581. Constant: D_NU
  582. Value: 4 (int)
  583. Description: Denotes a 'Neutral' relationship. Used by NPCs and players for relationship disposition.
  584.  
  585. Constant: EFL_BOT_FROZEN
  586. Value: 256 (int)
  587. Description: Entity flag used in GetEFlags(), etc.
  588.  
  589. Constant: EFL_CHECK_UNTOUCH
  590. Value: 16777216 (int)
  591. Description: Entity flag used in GetEFlags(), etc.
  592.  
  593. Constant: EFL_DIRTY_ABSANGVELOCITY
  594. Value: 8192 (int)
  595. Description: Entity flag used in GetEFlags(), etc.
  596.  
  597. Constant: EFL_DIRTY_ABSTRANSFORM
  598. Value: 2048 (int)
  599. Description: Entity flag used in GetEFlags(), etc.
  600.  
  601. Constant: EFL_DIRTY_ABSVELOCITY
  602. Value: 4096 (int)
  603. Description: Entity flag used in GetEFlags(), etc.
  604.  
  605. Constant: EFL_DIRTY_SHADOWUPDATE
  606. Value: 32 (int)
  607. Description: Entity flag used in GetEFlags(), etc.
  608.  
  609. Constant: EFL_DIRTY_SPATIAL_PARTITION
  610. Value: 32768 (int)
  611. Description: Entity flag used in GetEFlags(), etc.
  612.  
  613. Constant: EFL_DIRTY_SURROUNDING_COLLISION_BOUNDS
  614. Value: 16384 (int)
  615. Description: Entity flag used in GetEFlags(), etc.
  616.  
  617. Constant: EFL_DONTBLOCKLOS
  618. Value: 33554432 (int)
  619. Description: Entity flag used in GetEFlags(), etc.
  620.  
  621. Constant: EFL_DONTWALKON
  622. Value: 67108864 (int)
  623. Description: Entity flag used in GetEFlags(), etc.
  624.  
  625. Constant: EFL_DORMANT
  626. Value: 2 (int)
  627. Description: Entity flag used in GetEFlags(), etc.
  628.  
  629. Constant: EFL_FORCE_CHECK_TRANSMIT
  630. Value: 128 (int)
  631. Description: Entity flag used in GetEFlags(), etc.
  632.  
  633. Constant: EFL_HAS_PLAYER_CHILD
  634. Value: 16 (int)
  635. Description: Entity flag used in GetEFlags(), etc.
  636.  
  637. Constant: EFL_IN_SKYBOX
  638. Value: 131072 (int)
  639. Description: Entity flag used in GetEFlags(), etc.
  640.  
  641. Constant: EFL_IS_BEING_LIFTED_BY_BARNACLE
  642. Value: 1048576 (int)
  643. Description: Entity flag used in GetEFlags(), etc.
  644.  
  645. Constant: EFL_KEEP_ON_RECREATE_ENTITIES
  646. Value: 16 (int)
  647. Description: Entity flag used in GetEFlags(), etc.
  648.  
  649. Constant: EFL_KILLME
  650. Value: 1 (int)
  651. Description: Entity flag used in GetEFlags(), etc.
  652.  
  653. Constant: EFL_NOCLIP_ACTIVE
  654. Value: 4 (int)
  655. Description: Entity flag used in GetEFlags(), etc.
  656.  
  657. Constant: EFL_NOTIFY
  658. Value: 64 (int)
  659. Description: Entity flag used in GetEFlags(), etc.
  660.  
  661. Constant: EFL_NO_AUTO_EDICT_ATTACH
  662. Value: 1024 (int)
  663. Description: Entity flag used in GetEFlags(), etc.
  664.  
  665. Constant: EFL_NO_DAMAGE_FORCES
  666. Value: -2147483648 (int)
  667. Description: Entity flag used in GetEFlags(), etc.
  668.  
  669. Constant: EFL_NO_DISSOLVE
  670. Value: 134217728 (int)
  671. Description: Entity flag used in GetEFlags(), etc.
  672.  
  673. Constant: EFL_NO_GAME_PHYSICS_SIMULATION
  674. Value: 8388608 (int)
  675. Description: Entity flag used in GetEFlags(), etc.
  676.  
  677. Constant: EFL_NO_MEGAPHYSCANNON_RAGDOLL
  678. Value: 268435456 (int)
  679. Description: Entity flag used in GetEFlags(), etc.
  680.  
  681. Constant: EFL_NO_PHYSCANNON_INTERACTION
  682. Value: 1073741824 (int)
  683. Description: Entity flag used in GetEFlags(), etc.
  684.  
  685. Constant: EFL_NO_ROTORWASH_PUSH
  686. Value: 2097152 (int)
  687. Description: Entity flag used in GetEFlags(), etc.
  688.  
  689. Constant: EFL_NO_THINK_FUNCTION
  690. Value: 4194304 (int)
  691. Description: Entity flag used in GetEFlags(), etc.
  692.  
  693. Constant: EFL_NO_WATER_VELOCITY_CHANGE
  694. Value: 536870912 (int)
  695. Description: Entity flag used in GetEFlags(), etc.
  696.  
  697. Constant: EFL_SERVER_ONLY
  698. Value: 512 (int)
  699. Description: Entity flag used in GetEFlags(), etc.
  700.  
  701. Constant: EFL_SETTING_UP_BONES
  702. Value: 8 (int)
  703. Description: Entity flag used in GetEFlags(), etc.
  704.  
  705. Constant: EFL_TOUCHING_FLUID
  706. Value: 524288 (int)
  707. Description: Entity flag used in GetEFlags(), etc.
  708.  
  709. Constant: EFL_USE_PARTITION_WHEN_NOT_SOLID
  710. Value: 262144 (int)
  711. Description: Entity flag used in GetEFlags(), etc.
  712.  
  713. Constant: EF_BONEMERGE
  714. Value: 1 (int)
  715. Description: Effect flag used in GetEffects(), etc.
  716.  
  717. Constant: EF_BONEMERGE_FASTCULL
  718. Value: 128 (int)
  719. Description: Effect flag used in GetEffects(), etc.
  720.  
  721. Constant: EF_BRIGHTLIGHT
  722. Value: 2 (int)
  723. Description: Effect flag used in GetEffects(), etc.
  724.  
  725. Constant: EF_DIMLIGHT
  726. Value: 4 (int)
  727. Description: Effect flag used in GetEffects(), etc.
  728.  
  729. Constant: EF_ITEM_BLINK
  730. Value: 256 (int)
  731. Description: Effect flag used in GetEffects(), etc.
  732.  
  733. Constant: EF_NODRAW
  734. Value: 32 (int)
  735. Description: Effect flag used in GetEffects(), etc.
  736.  
  737. Constant: EF_NOINTERP
  738. Value: 8 (int)
  739. Description: Effect flag used in GetEffects(), etc.
  740.  
  741. Constant: EF_NORECEIVESHADOW
  742. Value: 64 (int)
  743. Description: Effect flag used in GetEffects(), etc.
  744.  
  745. Constant: EF_NOSHADOW
  746. Value: 16 (int)
  747. Description: Effect flag used in GetEffects(), etc.
  748.  
  749. Constant: EF_PARENT_ANIMATES
  750. Value: 512 (int)
  751. Description: Effect flag used in GetEffects(), etc.
  752.  
  753. Constant: FCVAR_ACCESSIBLE_FROM_THREADS
  754. Value: 33554432 (int)
  755. Description: If this convar flag is set, it will be accessible from the material system thread.
  756.  
  757. Constant: FCVAR_ARCHIVE
  758. Value: 128 (int)
  759. Description: If this convar flag is set, its value will be saved when the game is exited.
  760.  
  761. Constant: FCVAR_ARCHIVE_XBOX
  762. Value: 16777216 (int)
  763. Description: If this convar flag is set, it will be archived on the Xbox config.
  764.  
  765. Constant: FCVAR_CHEAT
  766. Value: 16384 (int)
  767. Description: Only useable in singleplayer / debug / multiplayer & sv_cheats
  768.  
  769. Constant: FCVAR_CLIENTCMD_CAN_EXECUTE
  770. Value: 1073741824 (int)
  771. Description: If this convar flag is set, any client will be allowed to execute this command.
  772.  
  773. Constant: FCVAR_CLIENTDLL
  774. Value: 8 (int)
  775. Description: This convar flag is defined in client DLL convars.
  776.  
  777. Constant: FCVAR_DEMO
  778. Value: 65536 (int)
  779. Description: If this convar flag is set, it will be recorded when starting a demo file.
  780.  
  781. Constant: FCVAR_DEVELOPMENTONLY
  782. Value: 2 (int)
  783. Description: If this convar flag is set, it's hidden in "retail" DLLs.
  784.  
  785. Constant: FCVAR_DONTRECORD
  786. Value: 131072 (int)
  787. Description: If this convar flag is set, it will NOT be recorded when starting a demo file.
  788.  
  789. Constant: FCVAR_GAMEDLL
  790. Value: 4 (int)
  791. Description: This convar flag is defined in server DLL convars.
  792.  
  793. Constant: FCVAR_HIDDEN
  794. Value: 16 (int)
  795. Description: If this convar flag is set, it doesn't appear in the console or any searching tools, but it can still be set.
  796.  
  797. Constant: FCVAR_MATERIAL_SYSTEM_THREAD
  798. Value: 8388608 (int)
  799. Description: This convar flag indicates it's read from the material system thread.
  800.  
  801. Constant: FCVAR_NEVER_AS_STRING
  802. Value: 4096 (int)
  803. Description: If this convar flag is set, it will never be printed as a string.
  804.  
  805. Constant: FCVAR_NONE
  806. Value: 0 (int)
  807. Description: Empty convar flag.
  808.  
  809. Constant: FCVAR_NOTIFY
  810. Value: 256 (int)
  811. Description: If this convar flag is set, it will notify players when it is changed.
  812.  
  813. Constant: FCVAR_NOT_CONNECTED
  814. Value: 4194304 (int)
  815. Description: If this convar flag is set, it cannot be changed by a client connected to the server.
  816.  
  817. Constant: FCVAR_PRINTABLEONLY
  818. Value: 1024 (int)
  819. Description: If this convar flag is set, it cannot contain unprintable characters. Used for player name cvars, etc.
  820.  
  821. Constant: FCVAR_PROTECTED
  822. Value: 32 (int)
  823. Description: This convar flag prevents convars with secure data (e.g. passwords) from sending full data to clients, only sending 1 if non-zero and 0 otherwise.
  824.  
  825. Constant: FCVAR_RELOAD_MATERIALS
  826. Value: 1048576 (int)
  827. Description: If this convar flag is set, it will force a material reload when it changes.
  828.  
  829. Constant: FCVAR_RELOAD_TEXTURES
  830. Value: 2097152 (int)
  831. Description: If this convar flag is set, it will force a texture reload when it changes.
  832.  
  833. Constant: FCVAR_REPLICATED
  834. Value: 8192 (int)
  835. Description: If this convar flag is set, it will enforce a serverside value on any clientside counterparts. (also known as FCVAR_SERVER)
  836.  
  837. Constant: FCVAR_SERVER_CANNOT_QUERY
  838. Value: 536870912 (int)
  839. Description: If this convar flag is set, the server will not be allowed to query its value.
  840.  
  841. Constant: FCVAR_SERVER_CAN_EXECUTE
  842. Value: 268435456 (int)
  843. Description: If this convar flag is set, the server will be allowed to execute it as a client command.
  844.  
  845. Constant: FCVAR_SPONLY
  846. Value: 64 (int)
  847. Description: If this convar flag is set, it can't be changed by clients connected to a multiplayer server.
  848.  
  849. Constant: FCVAR_UNLOGGED
  850. Value: 2048 (int)
  851. Description: If this convar flag is set, it will not log its changes if a log is being created.
  852.  
  853. Constant: FCVAR_UNREGISTERED
  854. Value: 1 (int)
  855. Description: If this convar flag is set, it isn't added to linked list, etc.
  856.  
  857. Constant: FCVAR_USERINFO
  858. Value: 512 (int)
  859. Description: If this convar flag is set, it will be marked as info which plays a part in how the server identifies a client.
  860.  
  861. Constant: FL_AIMTARGET
  862. Value: 131072 (int)
  863. Description: Flag used in GetFlags(), etc.
  864.  
  865. Constant: FL_ATCONTROLS
  866. Value: 128 (int)
  867. Description: Flag used in GetFlags(), etc.
  868.  
  869. Constant: FL_BASEVELOCITY
  870. Value: 16777216 (int)
  871. Description: Flag used in GetFlags(), etc.
  872.  
  873. Constant: FL_CLIENT
  874. Value: 256 (int)
  875. Description: Flag used in GetFlags(), etc.
  876.  
  877. Constant: FL_CONVEYOR
  878. Value: 8192 (int)
  879. Description: Flag used in GetFlags(), etc.
  880.  
  881. Constant: FL_DISSOLVING
  882. Value: 536870912 (int)
  883. Description: Flag used in GetFlags(), etc.
  884.  
  885. Constant: FL_DONTTOUCH
  886. Value: 8388608 (int)
  887. Description: Flag used in GetFlags(), etc.
  888.  
  889. Constant: FL_DUCKING
  890. Value: 2 (int)
  891. Description: Flag used in GetFlags(), etc.
  892.  
  893. Constant: FL_FAKECLIENT
  894. Value: 512 (int)
  895. Description: Flag used in GetFlags(), etc.
  896.  
  897. Constant: FL_FLY
  898. Value: 2048 (int)
  899. Description: Flag used in GetFlags(), etc.
  900.  
  901. Constant: FL_FROZEN
  902. Value: 64 (int)
  903. Description: Flag used in GetFlags(), etc.
  904.  
  905. Constant: FL_GODMODE
  906. Value: 32768 (int)
  907. Description: Flag used in GetFlags(), etc.
  908.  
  909. Constant: FL_GRAPHED
  910. Value: 1048576 (int)
  911. Description: Flag used in GetFlags(), etc.
  912.  
  913. Constant: FL_GRENADE
  914. Value: 2097152 (int)
  915. Description: Flag used in GetFlags(), etc.
  916.  
  917. Constant: FL_INRAIN
  918. Value: 32 (int)
  919. Description: Flag used in GetFlags(), etc.
  920.  
  921. Constant: FL_INWATER
  922. Value: 1024 (int)
  923. Description: Flag used in GetFlags(), etc.
  924.  
  925. Constant: FL_KILLME
  926. Value: 134217728 (int)
  927. Description: Flag used in GetFlags(), etc.
  928.  
  929. Constant: FL_NOTARGET
  930. Value: 65536 (int)
  931. Description: Flag used in GetFlags(), etc.
  932.  
  933. Constant: FL_NPC
  934. Value: 16384 (int)
  935. Description: Flag used in GetFlags(), etc.
  936.  
  937. Constant: FL_OBJECT
  938. Value: 67108864 (int)
  939. Description: Flag used in GetFlags(), etc.
  940.  
  941. Constant: FL_ONFIRE
  942. Value: 268435456 (int)
  943. Description: Flag used in GetFlags(), etc.
  944.  
  945. Constant: FL_ONGROUND
  946. Value: 1 (int)
  947. Description: Flag used in GetFlags(), etc.
  948.  
  949. Constant: FL_ONTRAIN
  950. Value: 16 (int)
  951. Description: Flag used in GetFlags(), etc.
  952.  
  953. Constant: FL_PARTIALGROUND
  954. Value: 262144 (int)
  955. Description: Flag used in GetFlags(), etc.
  956.  
  957. Constant: FL_STATICPROP
  958. Value: 524288 (int)
  959. Description: Flag used in GetFlags(), etc.
  960.  
  961. Constant: FL_STEPMOVEMENT
  962. Value: 4194304 (int)
  963. Description: Flag used in GetFlags(), etc.
  964.  
  965. Constant: FL_SWIM
  966. Value: 4096 (int)
  967. Description: Flag used in GetFlags(), etc.
  968.  
  969. Constant: FL_TRANSRAGDOLL
  970. Value: 1073741824 (int)
  971. Description: Flag used in GetFlags(), etc.
  972.  
  973. Constant: FL_UNBLOCKABLE_BY_PLAYER
  974. Value: -2147483648 (int)
  975. Description: Flag used in GetFlags(), etc.
  976.  
  977. Constant: FL_WATERJUMP
  978. Value: 8 (int)
  979. Description: Flag used in GetFlags(), etc.
  980.  
  981. Constant: FL_WORLDBRUSH
  982. Value: 33554432 (int)
  983. Description: Flag used in GetFlags(), etc.
  984.  
  985. Constant: FSOLID_CUSTOMBOXTEST
  986. Value: 2 (int)
  987. Description: Solid flag used in GetSolidFlags(), etc.
  988.  
  989. Constant: FSOLID_CUSTOMRAYTEST
  990. Value: 1 (int)
  991. Description: Solid flag used in GetSolidFlags(), etc.
  992.  
  993. Constant: FSOLID_FORCE_WORLD_ALIGNED
  994. Value: 64 (int)
  995. Description: Solid flag used in GetSolidFlags(), etc.
  996.  
  997. Constant: FSOLID_NOT_SOLID
  998. Value: 4 (int)
  999. Description: Solid flag used in GetSolidFlags(), etc.
  1000.  
  1001. Constant: FSOLID_NOT_STANDABLE
  1002. Value: 16 (int)
  1003. Description: Solid flag used in GetSolidFlags(), etc.
  1004.  
  1005. Constant: FSOLID_ROOT_PARENT_ALIGNED
  1006. Value: 256 (int)
  1007. Description: Solid flag used in GetSolidFlags(), etc.
  1008.  
  1009. Constant: FSOLID_TRIGGER
  1010. Value: 8 (int)
  1011. Description: Solid flag used in GetSolidFlags(), etc.
  1012.  
  1013. Constant: FSOLID_TRIGGER_TOUCH_DEBRIS
  1014. Value: 512 (int)
  1015. Description: Solid flag used in GetSolidFlags(), etc.
  1016.  
  1017. Constant: FSOLID_USE_TRIGGER_BOUNDS
  1018. Value: 128 (int)
  1019. Description: Solid flag used in GetSolidFlags(), etc.
  1020.  
  1021. Constant: FSOLID_VOLUME_CONTENTS
  1022. Value: 32 (int)
  1023. Description: Solid flag used in GetSolidFlags(), etc.
  1024.  
  1025. Constant: GENDER_FEMALE
  1026. Value: 2 (int)
  1027. Description: A standard value used to represent female gender. Usually used for sounds.
  1028.  
  1029. Constant: GENDER_MALE
  1030. Value: 1 (int)
  1031. Description: A standard value used to represent male gender. Usually used for sounds.
  1032.  
  1033. Constant: GENDER_NONE
  1034. Value: 0 (int)
  1035. Description: A standard value used to represent no specific gender. Usually used for sounds.
  1036.  
  1037. Constant: GLOBAL_DEAD
  1038. Value: 2 (int)
  1039. Description: Global state used by the Globals singleton.
  1040.  
  1041. Constant: GLOBAL_OFF
  1042. Value: 0 (int)
  1043. Description: Global state used by the Globals singleton.
  1044.  
  1045. Constant: GLOBAL_ON
  1046. Value: 1 (int)
  1047. Description: Global state used by the Globals singleton.
  1048.  
  1049. Constant: HidingSpot.EXPOSED
  1050. Value: 8 (int)
  1051.  
  1052. Constant: HidingSpot.GOOD_SNIPER_SPOT
  1053. Value: 2 (int)
  1054.  
  1055. Constant: HidingSpot.IDEAL_SNIPER_SPOT
  1056. Value: 4 (int)
  1057.  
  1058. Constant: HidingSpot.IN_COVER
  1059. Value: 1 (int)
  1060.  
  1061. Constant: Hitgroup.Chest
  1062. Value: 2 (int)
  1063.  
  1064. Constant: Hitgroup.Gear
  1065. Value: 10 (int)
  1066.  
  1067. Constant: Hitgroup.Generic
  1068. Value: 0 (int)
  1069.  
  1070. Constant: Hitgroup.Head
  1071. Value: 1 (int)
  1072.  
  1073. Constant: Hitgroup.LeftArm
  1074. Value: 4 (int)
  1075.  
  1076. Constant: Hitgroup.LeftLeg
  1077. Value: 6 (int)
  1078.  
  1079. Constant: Hitgroup.RightArm
  1080. Value: 5 (int)
  1081.  
  1082. Constant: Hitgroup.RightLeg
  1083. Value: 7 (int)
  1084.  
  1085. Constant: Hitgroup.Stomach
  1086. Value: 3 (int)
  1087.  
  1088. Constant: IN.ALT1
  1089. Value: 16384 (int)
  1090. Description: Button for +alt1
  1091.  
  1092. Constant: IN.ALT2
  1093. Value: 32768 (int)
  1094. Description: Button for +alt2
  1095.  
  1096. Constant: IN.ATTACK
  1097. Value: 1 (int)
  1098. Description: Button for +attack
  1099.  
  1100. Constant: IN.ATTACK2
  1101. Value: 2048 (int)
  1102. Description: Button for +attack2
  1103.  
  1104. Constant: IN.ATTACK3
  1105. Value: 33554432 (int)
  1106. Description: Button for +attack3
  1107.  
  1108. Constant: IN.BACK
  1109. Value: 16 (int)
  1110. Description: Button for +back
  1111.  
  1112. Constant: IN.BULLRUSH
  1113. Value: 4194304 (int)
  1114. Description: Unused button
  1115.  
  1116. Constant: IN.CANCEL
  1117. Value: 64 (int)
  1118. Description: Special button flag for attack cancel
  1119.  
  1120. Constant: IN.DUCK
  1121. Value: 4 (int)
  1122. Description: Button for +duck
  1123.  
  1124. Constant: IN.FORWARD
  1125. Value: 8 (int)
  1126. Description: Button for +forward
  1127.  
  1128. Constant: IN.GRENADE1
  1129. Value: 8388608 (int)
  1130. Description: Button for +grenade1
  1131.  
  1132. Constant: IN.GRENADE2
  1133. Value: 16777216 (int)
  1134. Description: Button for +grenade2
  1135.  
  1136. Constant: IN.JUMP
  1137. Value: 2 (int)
  1138. Description: Button for +jump
  1139.  
  1140. Constant: IN.LEFT
  1141. Value: 128 (int)
  1142. Description: Button for +left
  1143.  
  1144. Constant: IN.MOVELEFT
  1145. Value: 512 (int)
  1146. Description: Button for +moveleft
  1147.  
  1148. Constant: IN.MOVERIGHT
  1149. Value: 1024 (int)
  1150. Description: Button for +moveright
  1151.  
  1152. Constant: IN.RELOAD
  1153. Value: 8192 (int)
  1154. Description: Button for +reload
  1155.  
  1156. Constant: IN.RIGHT
  1157. Value: 256 (int)
  1158. Description: Button for +right
  1159.  
  1160. Constant: IN.RUN
  1161. Value: 4096 (int)
  1162. Description: Unused button (see IN.SPEED for sprint)
  1163.  
  1164. Constant: IN.SCORE
  1165. Value: 65536 (int)
  1166. Description: Button for +score
  1167.  
  1168. Constant: IN.SPEED
  1169. Value: 131072 (int)
  1170. Description: Button for +speed
  1171.  
  1172. Constant: IN.USE
  1173. Value: 32 (int)
  1174. Description: Button for +use
  1175.  
  1176. Constant: IN.WALK
  1177. Value: 262144 (int)
  1178. Description: Button for +walk
  1179.  
  1180. Constant: IN.WEAPON1
  1181. Value: 1048576 (int)
  1182. Description: Special button used by weapons themselves
  1183.  
  1184. Constant: IN.WEAPON2
  1185. Value: 2097152 (int)
  1186. Description: Special button used by weapons themselves
  1187.  
  1188. Constant: IN.ZOOM
  1189. Value: 524288 (int)
  1190. Description: Button for +zoom
  1191.  
  1192. Constant: LAST_VISIBLE_CONTENTS
  1193. Value: 128 (int)
  1194. Description: Contains last visible spatial content flags.
  1195.  
  1196. Constant: MASK_BLOCKLOS
  1197. Value: 16449 (int)
  1198. Description: Spatial content mask representing objects which block LOS for AI (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_BLOCKLOS)
  1199.  
  1200. Constant: MASK_BLOCKLOS_AND_NPCS
  1201. Value: 33570881 (int)
  1202. Description: Spatial content mask equivalent to MASK_BLOCKLOS, but also including NPCs (MASK_BLOCKLOS|CONTENTS_MONSTER)
  1203.  
  1204. Constant: MASK_NPCSOLID
  1205. Value: 33701899 (int)
  1206. Description: Spatial content mask representing objects solid to NPCs, including NPC clips (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_MONSTERCLIP|CONTENTS_WINDOW|CONTENTS_MONSTER|CONTENTS_GRATE)
  1207.  
  1208. Constant: MASK_NPCSOLID_BRUSHONLY
  1209. Value: 147467 (int)
  1210. Description: Spatial content mask equivalent to MASK_NPCSOLID, but without NPCs (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_WINDOW|CONTENTS_MONSTERCLIP|CONTENTS_GRATE)
  1211.  
  1212. Constant: MASK_NPCWORLDSTATIC
  1213. Value: 131083 (int)
  1214. Description: Spatial content mask representing objects static to NPCs, used for nodegraph rebuilding (CONTENTS_SOLID|CONTENTS_WINDOW|CONTENTS_MONSTERCLIP|CONTENTS_GRATE)
  1215.  
  1216. Constant: MASK_OPAQUE
  1217. Value: 16513 (int)
  1218. Description: Spatial content mask representing objects which block lighting (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_OPAQUE)
  1219.  
  1220. Constant: MASK_OPAQUE_AND_NPCS
  1221. Value: 33570945 (int)
  1222. Description: Spatial content mask equivalent to MASK_OPAQUE, but also including NPCs (MASK_OPAQUE|CONTENTS_MONSTER)
  1223.  
  1224. Constant: MASK_PLAYERSOLID
  1225. Value: 33636363 (int)
  1226. Description: Spatial content mask representing objects solid to the player, including player clips (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_PLAYERCLIP|CONTENTS_WINDOW|CONTENTS_MONSTER|CONTENTS_GRATE)
  1227.  
  1228. Constant: MASK_PLAYERSOLID_BRUSHONLY
  1229. Value: 81931 (int)
  1230. Description: Spatial content mask equivalent to MASK_PLAYERSOLID, but without NPCs (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_WINDOW|CONTENTS_PLAYERCLIP|CONTENTS_GRATE)
  1231.  
  1232. Constant: MASK_SHOT
  1233. Value: 1174421507 (int)
  1234. Description: Spatial content mask representing objects solid to bullets (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_MONSTER|CONTENTS_WINDOW|CONTENTS_DEBRIS|CONTENTS_HITBOX)
  1235.  
  1236. Constant: MASK_SHOT_HULL
  1237. Value: 100679691 (int)
  1238. Description: Spatial content mask representing objects solid to non-raycasted weapons, including grates (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_MONSTER|CONTENTS_WINDOW|CONTENTS_DEBRIS|CONTENTS_GRATE)
  1239.  
  1240. Constant: MASK_SHOT_PORTAL
  1241. Value: 33570819 (int)
  1242. Description: Spatial content mask equivalent to MASK_SHOT, but excluding debris and not using expensive hitbox calculations (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_WINDOW|CONTENTS_MONSTER)
  1243.  
  1244. Constant: MASK_SOLID
  1245. Value: 33570827 (int)
  1246. Description: Spatial content mask representing solid objects (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_WINDOW|CONTENTS_MONSTER|CONTENTS_GRATE)
  1247.  
  1248. Constant: MASK_SOLID_BRUSHONLY
  1249. Value: 16395 (int)
  1250. Description: Spatial content mask equivalent to MASK_SOLID, but without NPCs (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_WINDOW|CONTENTS_GRATE)
  1251.  
  1252. Constant: MASK_SPLITAREAPORTAL
  1253. Value: 48 (int)
  1254. Description: Spatial content mask representing objects which can split areaportals (CONTENTS_WATER|CONTENTS_SLIME)
  1255.  
  1256. Constant: MASK_VISIBLE
  1257. Value: 24705 (int)
  1258. Description: Spatial content mask representing objects which block LOS for players (MASK_OPAQUE|CONTENTS_IGNORE_NODRAW_OPAQUE)
  1259.  
  1260. Constant: MASK_VISIBLE_AND_NPCS
  1261. Value: 33579137 (int)
  1262. Description: Spatial content mask equivalent to MASK_VISIBLE, but also including NPCs (MASK_OPAQUE_AND_NPCS|CONTENTS_IGNORE_NODRAW_OPAQUE)
  1263.  
  1264. Constant: MASK_WATER
  1265. Value: 16432 (int)
  1266. Description: Spatial content mask representing water and slime solids (CONTENTS_WATER|CONTENTS_MOVEABLE|CONTENTS_SLIME)
  1267.  
  1268. Constant: MAX_COORD_FLOAT
  1269. Value: 16384.000000 (float)
  1270. Description: Maximum float coordinate.
  1271.  
  1272. Constant: MAX_PLAYERS
  1273. Value: 9 (int)
  1274. Description: Max number of players in a game.
  1275.  
  1276. Constant: MAX_TRACE_LENGTH
  1277. Value: 56755.839844 (float)
  1278. Description: Maximum traceable distance (assumes cubic world and trace from one corner to opposite).
  1279.  
  1280. Constant: MOVETYPE_CUSTOM
  1281. Value: 11 (int)
  1282. Description: Move type used in GetMoveType(), etc.
  1283.  
  1284. Constant: MOVETYPE_FLY
  1285. Value: 4 (int)
  1286. Description: Move type used in GetMoveType(), etc.
  1287.  
  1288. Constant: MOVETYPE_FLYGRAVITY
  1289. Value: 5 (int)
  1290. Description: Move type used in GetMoveType(), etc.
  1291.  
  1292. Constant: MOVETYPE_ISOMETRIC
  1293. Value: 1 (int)
  1294. Description: Move type used in GetMoveType(), etc.
  1295.  
  1296. Constant: MOVETYPE_LADDER
  1297. Value: 9 (int)
  1298. Description: Move type used in GetMoveType(), etc.
  1299.  
  1300. Constant: MOVETYPE_NOCLIP
  1301. Value: 8 (int)
  1302. Description: Move type used in GetMoveType(), etc.
  1303.  
  1304. Constant: MOVETYPE_NONE
  1305. Value: 0 (int)
  1306. Description: Move type used in GetMoveType(), etc.
  1307.  
  1308. Constant: MOVETYPE_OBSERVER
  1309. Value: 10 (int)
  1310. Description: Move type used in GetMoveType(), etc.
  1311.  
  1312. Constant: MOVETYPE_PUSH
  1313. Value: 7 (int)
  1314. Description: Move type used in GetMoveType(), etc.
  1315.  
  1316. Constant: MOVETYPE_STEP
  1317. Value: 3 (int)
  1318. Description: Move type used in GetMoveType(), etc.
  1319.  
  1320. Constant: MOVETYPE_VPHYSICS
  1321. Value: 6 (int)
  1322. Description: Move type used in GetMoveType(), etc.
  1323.  
  1324. Constant: MOVETYPE_WALK
  1325. Value: 2 (int)
  1326. Description: Move type used in GetMoveType(), etc.
  1327.  
  1328. Constant: MapLoad.Background
  1329. Value: 3 (int)
  1330. Description: Map was loaded as a background map
  1331.  
  1332. Constant: MapLoad.LoadGame
  1333. Value: 1 (int)
  1334. Description: Map was loaded from a save file
  1335.  
  1336. Constant: MapLoad.NewGame
  1337. Value: 0 (int)
  1338. Description: Map was loaded from a new game
  1339.  
  1340. Constant: MapLoad.Transition
  1341. Value: 2 (int)
  1342. Description: Map was loaded from a level transition
  1343.  
  1344. Constant: NAV_MESH_AVOID
  1345. Value: 128 (int)
  1346. Description: Avoid this area unless alternatives are too dangerous.
  1347.  
  1348. Constant: NAV_MESH_CLIFF
  1349. Value: 32768 (int)
  1350. Description: This nav area is adjacent to a drop of at least CliffHeight.
  1351.  
  1352. Constant: NAV_MESH_CROUCH
  1353. Value: 1 (int)
  1354. Description: Must crouch to use this node or area.
  1355.  
  1356. Constant: NAV_MESH_DONT_HIDE
  1357. Value: 512 (int)
  1358. Description: Area should not be considered for hiding spot generation.
  1359.  
  1360. Constant: NAV_MESH_FUNC_COST
  1361. Value: 536870912 (int)
  1362. Description: Area has designer specified cost controlled by func_nav_cost entities.
  1363.  
  1364. Constant: NAV_MESH_HAS_ELEVATOR
  1365. Value: 1073741824 (int)
  1366. Description: Area is in an elevator's path.
  1367.  
  1368. Constant: NAV_MESH_INVALID
  1369. Value: 0 (int)
  1370.  
  1371. Constant: NAV_MESH_JUMP
  1372. Value: 2 (int)
  1373. Description: Must jump to traverse this area (only used during generation).
  1374.  
  1375. Constant: NAV_MESH_NAV_BLOCKER
  1376. Value: -2147483648 (int)
  1377. Description: Area is blocked by nav blocker.
  1378.  
  1379. Constant: NAV_MESH_NO_HOSTAGES
  1380. Value: 2048 (int)
  1381. Description: Hostages shouldn't use this area.
  1382.  
  1383. Constant: NAV_MESH_NO_JUMP
  1384. Value: 8 (int)
  1385. Description: Inhibit discontinuity jumping.
  1386.  
  1387. Constant: NAV_MESH_NO_MERGE
  1388. Value: 8192 (int)
  1389. Description: Don't merge this area with adjacent areas.
  1390.  
  1391. Constant: NAV_MESH_NO_ZOMBIE_SPAWN
  1392. Value: 65536 (int)
  1393. Description: Zombies shouldn't spawn here.
  1394.  
  1395. Constant: NAV_MESH_OBSTACLE_TOP
  1396. Value: 16384 (int)
  1397. Description: This nav area is the climb point on the tip of an obstacle.
  1398.  
  1399. Constant: NAV_MESH_PRECISE
  1400. Value: 4 (int)
  1401. Description: Do not adjust for obstacles, just move along area.
  1402.  
  1403. Constant: NAV_MESH_RUN
  1404. Value: 32 (int)
  1405. Description: Must run to traverse this area.
  1406.  
  1407. Constant: NAV_MESH_STAIRS
  1408. Value: 4096 (int)
  1409. Description: This area represents stairs, do not attempt to climb or jump them - just walk up.
  1410.  
  1411. Constant: NAV_MESH_STAND
  1412. Value: 1024 (int)
  1413. Description: Bots hiding in this area should stand.
  1414.  
  1415. Constant: NAV_MESH_STOP
  1416. Value: 16 (int)
  1417. Description: Must stop when entering this area.
  1418.  
  1419. Constant: NAV_MESH_TRANSIENT
  1420. Value: 256 (int)
  1421. Description: Area may become blocked, and should be periodically checked.
  1422.  
  1423. Constant: NAV_MESH_WALK
  1424. Value: 64 (int)
  1425. Description: Must walk to traverse this area.
  1426.  
  1427. Constant: NPC_STATE_ALERT
  1428. Value: 2 (int)
  1429. Description: NPC state type used in GetNPCState(), etc.
  1430.  
  1431. Constant: NPC_STATE_COMBAT
  1432. Value: 3 (int)
  1433. Description: NPC state type used in GetNPCState(), etc.
  1434.  
  1435. Constant: NPC_STATE_DEAD
  1436. Value: 7 (int)
  1437. Description: NPC state type used in GetNPCState(), etc.
  1438.  
  1439. Constant: NPC_STATE_IDLE
  1440. Value: 1 (int)
  1441. Description: NPC state type used in GetNPCState(), etc.
  1442.  
  1443. Constant: NPC_STATE_INVALID
  1444. Value: -1 (int)
  1445. Description: NPC state type used in GetNPCState(), etc.
  1446.  
  1447. Constant: NPC_STATE_NONE
  1448. Value: 0 (int)
  1449. Description: NPC state type used in GetNPCState(), etc.
  1450.  
  1451. Constant: NPC_STATE_PLAYDEAD
  1452. Value: 5 (int)
  1453. Description: NPC state type used in GetNPCState(), etc.
  1454.  
  1455. Constant: NPC_STATE_PRONE
  1456. Value: 6 (int)
  1457. Description: When in clutches of barnacle (NPC state type used in GetNPCState(), etc.)
  1458.  
  1459. Constant: NPC_STATE_SCRIPT
  1460. Value: 4 (int)
  1461. Description: NPC state type used in GetNPCState(), etc.
  1462.  
  1463. Constant: NUM_AI_CLASSES
  1464. Value: 9 (int)
  1465. Description: Number of AI classes.
  1466.  
  1467. Constant: PATTACH_ABSORIGIN
  1468. Value: 0 (int)
  1469. Description: Create at absorigin, but don't follow
  1470.  
  1471. Constant: PATTACH_ABSORIGIN_FOLLOW
  1472. Value: 1 (int)
  1473. Description: Create at absorigin, and update to follow the entity
  1474.  
  1475. Constant: PATTACH_CUSTOMORIGIN
  1476. Value: 2 (int)
  1477. Description: Create at a custom origin, but don't follow
  1478.  
  1479. Constant: PATTACH_POINT
  1480. Value: 3 (int)
  1481. Description: Create on attachment point, but don't follow
  1482.  
  1483. Constant: PATTACH_POINT_FOLLOW
  1484. Value: 4 (int)
  1485. Description: Create on attachment point, and update to follow the entity
  1486.  
  1487. Constant: PATTACH_ROOTBONE_FOLLOW
  1488. Value: 6 (int)
  1489. Description: Create at the root bone of the entity, and update to follow
  1490.  
  1491. Constant: PATTACH_WORLDORIGIN
  1492. Value: 5 (int)
  1493. Description: Used for control points that don't attach to an entity
  1494.  
  1495. Constant: PITCH_HIGH
  1496. Value: 120 (int)
  1497. Description: The standard high pitch value.
  1498.  
  1499. Constant: PITCH_LOW
  1500. Value: 95 (int)
  1501. Description: The standard low pitch value.
  1502.  
  1503. Constant: PITCH_NORM
  1504. Value: 100 (int)
  1505. Description: The standard pitch value.
  1506.  
  1507. Constant: RAD2DEG
  1508. Value: 57.295780 (float)
  1509.  
  1510. Constant: ROPE_BARBED
  1511. Value: 2 (int)
  1512. Description: Hack option to draw like a barbed wire. (for use in rope flags)
  1513.  
  1514. Constant: ROPE_BREAKABLE
  1515. Value: 16 (int)
  1516. Description: Can the endpoints detach? (for use in rope flags)
  1517.  
  1518. Constant: ROPE_COLLIDE
  1519. Value: 4 (int)
  1520. Description: Collide with the world. (for use in rope flags)
  1521.  
  1522. Constant: ROPE_GRAVITY
  1523. Value: Vector( 610500212157265220000000000000000000.000000, 0.000000, (Vector)
  1524. Description: Default rope gravity vector.
  1525.  
  1526. Constant: ROPE_INITIAL_HANG
  1527. Value: 64 (int)
  1528. Description: By default, ropes will simulate for a bit internally when they are created so they sag, but dynamically created ropes for things like harpoons don't want this. (for use in rope flags)
  1529.  
  1530. Constant: ROPE_NO_GRAVITY
  1531. Value: 256 (int)
  1532. Description: Disable gravity on this rope. (for use in rope flags)
  1533.  
  1534. Constant: ROPE_NUMFLAGS
  1535. Value: 9 (int)
  1536. Description: The number of rope flags recognized by the game.
  1537.  
  1538. Constant: ROPE_PLAYER_WPN_ATTACH
  1539. Value: 128 (int)
  1540. Description: If this flag is set, then the second attachment must be a player. The rope will attach to "buff_attach" on the player's active weapon. This is a flag because it requires special code on the client to find the weapon. (for use in rope flags)
  1541.  
  1542. Constant: ROPE_RESIZE
  1543. Value: 1 (int)
  1544. Description: Try to keep the rope dangling the same amount even as the rope length changes. (for use in rope flags)
  1545.  
  1546. Constant: ROPE_SIMULATE
  1547. Value: 8 (int)
  1548. Description: Is the rope valid? (for use in rope flags)
  1549.  
  1550. Constant: RenderMode.Additive
  1551. Value: 5 (int)
  1552.  
  1553. Constant: RenderMode.AdditiveFractionalFrame
  1554. Value: 7 (int)
  1555.  
  1556. Constant: RenderMode.AlphaAdd
  1557. Value: 8 (int)
  1558.  
  1559. Constant: RenderMode.Color
  1560. Value: 1 (int)
  1561.  
  1562. Constant: RenderMode.Environmental
  1563. Value: 6 (int)
  1564.  
  1565. Constant: RenderMode.Glow
  1566. Value: 3 (int)
  1567.  
  1568. Constant: RenderMode.None
  1569. Value: 10 (int)
  1570.  
  1571. Constant: RenderMode.Normal
  1572. Value: 0 (int)
  1573.  
  1574. Constant: RenderMode.Solid
  1575. Value: 4 (int)
  1576.  
  1577. Constant: RenderMode.Texture
  1578. Value: 2 (int)
  1579.  
  1580. Constant: RenderMode.WorldSpaceGlow
  1581. Value: 9 (int)
  1582.  
  1583. Constant: SCRIPT_CLEANUP
  1584. Value: 3 (int)
  1585. Description: Cancelling the script / cleaning up.
  1586.  
  1587. Constant: SCRIPT_PLAYING
  1588. Value: 0 (int)
  1589. Description: Moving to the scripted sequence position while playing a custom movement animation.
  1590.  
  1591. Constant: SCRIPT_POST_IDLE
  1592. Value: 2 (int)
  1593. Description: Playing the post idle animation after playing the action animation.
  1594.  
  1595. Constant: SCRIPT_RUN_TO_MARK
  1596. Value: 5 (int)
  1597. Description: Running to the scripted sequence position.
  1598.  
  1599. Constant: SCRIPT_WAIT
  1600. Value: 1 (int)
  1601. Description: Waiting on everyone in the script to be ready. Plays the pre idle animation if there is one.
  1602.  
  1603. Constant: SCRIPT_WALK_TO_MARK
  1604. Value: 4 (int)
  1605. Description: Walking to the scripted sequence position.
  1606.  
  1607. Constant: SERVER_DLL
  1608. Value: 1 (int)
  1609.  
  1610. Constant: SNDLVL_100dB
  1611. Value: 100 (int)
  1612. Description: A standard value used for a sound's sound level.
  1613.  
  1614. Constant: SNDLVL_105dB
  1615. Value: 105 (int)
  1616. Description: A standard value used for a sound's sound level.
  1617.  
  1618. Constant: SNDLVL_110dB
  1619. Value: 110 (int)
  1620. Description: A standard value used for a sound's sound level.
  1621.  
  1622. Constant: SNDLVL_120dB
  1623. Value: 120 (int)
  1624. Description: A standard value used for a sound's sound level.
  1625.  
  1626. Constant: SNDLVL_130dB
  1627. Value: 130 (int)
  1628. Description: A standard value used for a sound's sound level.
  1629.  
  1630. Constant: SNDLVL_140dB
  1631. Value: 140 (int)
  1632. Description: A standard value used for a sound's sound level.
  1633.  
  1634. Constant: SNDLVL_150dB
  1635. Value: 150 (int)
  1636. Description: A standard value used for a sound's sound level.
  1637.  
  1638. Constant: SNDLVL_180dB
  1639. Value: 180 (int)
  1640. Description: A standard value used for a sound's sound level.
  1641.  
  1642. Constant: SNDLVL_20dB
  1643. Value: 20 (int)
  1644. Description: A standard value used for a sound's sound level.
  1645.  
  1646. Constant: SNDLVL_25dB
  1647. Value: 25 (int)
  1648. Description: A standard value used for a sound's sound level.
  1649.  
  1650. Constant: SNDLVL_30dB
  1651. Value: 30 (int)
  1652. Description: A standard value used for a sound's sound level.
  1653.  
  1654. Constant: SNDLVL_35dB
  1655. Value: 35 (int)
  1656. Description: A standard value used for a sound's sound level.
  1657.  
  1658. Constant: SNDLVL_40dB
  1659. Value: 40 (int)
  1660. Description: A standard value used for a sound's sound level.
  1661.  
  1662. Constant: SNDLVL_45dB
  1663. Value: 45 (int)
  1664. Description: A standard value used for a sound's sound level.
  1665.  
  1666. Constant: SNDLVL_50dB
  1667. Value: 50 (int)
  1668. Description: A standard value used for a sound's sound level.
  1669.  
  1670. Constant: SNDLVL_55dB
  1671. Value: 55 (int)
  1672. Description: A standard value used for a sound's sound level.
  1673.  
  1674. Constant: SNDLVL_60dB
  1675. Value: 60 (int)
  1676. Description: A standard value used for a sound's sound level.
  1677.  
  1678. Constant: SNDLVL_65dB
  1679. Value: 65 (int)
  1680. Description: A standard value used for a sound's sound level.
  1681.  
  1682. Constant: SNDLVL_70dB
  1683. Value: 70 (int)
  1684. Description: A standard value used for a sound's sound level.
  1685.  
  1686. Constant: SNDLVL_75dB
  1687. Value: 75 (int)
  1688. Description: A standard value used for a sound's sound level.
  1689.  
  1690. Constant: SNDLVL_80dB
  1691. Value: 80 (int)
  1692. Description: A standard value used for a sound's sound level.
  1693.  
  1694. Constant: SNDLVL_85dB
  1695. Value: 85 (int)
  1696. Description: A standard value used for a sound's sound level.
  1697.  
  1698. Constant: SNDLVL_90dB
  1699. Value: 90 (int)
  1700. Description: A standard value used for a sound's sound level.
  1701.  
  1702. Constant: SNDLVL_95dB
  1703. Value: 95 (int)
  1704. Description: A standard value used for a sound's sound level.
  1705.  
  1706. Constant: SNDLVL_GUNFIRE
  1707. Value: 140 (int)
  1708. Description: A standard value used for a sound's sound level.
  1709.  
  1710. Constant: SNDLVL_IDLE
  1711. Value: 60 (int)
  1712. Description: A standard value used for a sound's sound level.
  1713.  
  1714. Constant: SNDLVL_NONE
  1715. Value: 0 (int)
  1716. Description: A standard value used for a sound's sound level.
  1717.  
  1718. Constant: SNDLVL_NORM
  1719. Value: 75 (int)
  1720. Description: A standard value used for a sound's sound level.
  1721.  
  1722. Constant: SNDLVL_STATIC
  1723. Value: 66 (int)
  1724. Description: A standard value used for a sound's sound level.
  1725.  
  1726. Constant: SNDLVL_TALKING
  1727. Value: 80 (int)
  1728. Description: A standard value used for a sound's sound level.
  1729.  
  1730. Constant: SND_CHANGE_PITCH
  1731. Value: 2 (int)
  1732. Description: Indicates a sound is a pitch change to an already-playing sound.
  1733.  
  1734. Constant: SND_CHANGE_VOL
  1735. Value: 1 (int)
  1736. Description: Indicates a sound is a volume change to an already-playing sound.
  1737.  
  1738. Constant: SND_DELAY
  1739. Value: 16 (int)
  1740. Description: Indicates a sound has an initial delay.
  1741.  
  1742. Constant: SND_DO_NOT_OVERWRITE_EXISTING_ON_CHANNEL
  1743. Value: 1024 (int)
  1744. Description: Prevents a sound from interrupting other sounds on a channel (if the channel supports interruption).
  1745.  
  1746. Constant: SND_IGNORE_NAME
  1747. Value: 512 (int)
  1748. Description: Used to change all sounds emitted by an entity, regardless of name.
  1749.  
  1750. Constant: SND_IGNORE_PHONEMES
  1751. Value: 256 (int)
  1752. Description: Prevents the entity emitting this sound from using its phonemes (no lip-syncing).
  1753.  
  1754. Constant: SND_SHOULDPAUSE
  1755. Value: 128 (int)
  1756. Description: Forces a sound to pause if the game is paused.
  1757.  
  1758. Constant: SND_SPAWNING
  1759. Value: 8 (int)
  1760. Description: Indicates a sound is spawning, used in some cases for ambients. Not networked.
  1761.  
  1762. Constant: SND_SPEAKER
  1763. Value: 64 (int)
  1764. Description: Indicates a sound is being played again by a microphone through a speaker.
  1765.  
  1766. Constant: SND_STOP
  1767. Value: 4 (int)
  1768. Description: Indicates a sound is stopping an already-playing sound.
  1769.  
  1770. Constant: SND_STOP_LOOPING
  1771. Value: 32 (int)
  1772. Description: Stops all looping sounds on an entity.
  1773.  
  1774. Constant: SOLID_BBOX
  1775. Value: 2 (int)
  1776. Description: Solid type used by VPhysics
  1777.  
  1778. Constant: SOLID_BSP
  1779. Value: 1 (int)
  1780. Description: Solid type used by VPhysics
  1781.  
  1782. Constant: SOLID_CUSTOM
  1783. Value: 5 (int)
  1784. Description: Solid type used by VPhysics
  1785.  
  1786. Constant: SOLID_NONE
  1787. Value: 0 (int)
  1788. Description: Solid type used by VPhysics
  1789.  
  1790. Constant: SOLID_OBB
  1791. Value: 3 (int)
  1792. Description: Solid type used by VPhysics
  1793.  
  1794. Constant: SOLID_OBB_YAW
  1795. Value: 4 (int)
  1796. Description: Solid type used by VPhysics
  1797.  
  1798. Constant: SOLID_VPHYSICS
  1799. Value: 6 (int)
  1800. Description: Solid type used by VPhysics
  1801.  
  1802. Constant: SOUNDENT_CHANNEL_BULLET_IMPACT
  1803. Value: 6 (int)
  1804. Description: Sound channel used in QueryHearSound hooks, etc.
  1805.  
  1806. Constant: SOUNDENT_CHANNEL_INJURY
  1807. Value: 5 (int)
  1808. Description: Sound channel used in QueryHearSound hooks, etc.
  1809.  
  1810. Constant: SOUNDENT_CHANNEL_NPC_FOOTSTEP
  1811. Value: 7 (int)
  1812. Description: Sound channel used in QueryHearSound hooks, etc.
  1813.  
  1814. Constant: SOUNDENT_CHANNEL_REPEATED_DANGER
  1815. Value: 2 (int)
  1816. Description: Sound channel used in QueryHearSound hooks, etc.
  1817.  
  1818. Constant: SOUNDENT_CHANNEL_REPEATED_PHYSICS_DANGER
  1819. Value: 3 (int)
  1820. Description: Sound channel used in QueryHearSound hooks, etc.
  1821.  
  1822. Constant: SOUNDENT_CHANNEL_REPEATING
  1823. Value: 1 (int)
  1824. Description: Sound channel used in QueryHearSound hooks, etc.
  1825.  
  1826. Constant: SOUNDENT_CHANNEL_SPOOKY_NOISE
  1827. Value: 8 (int)
  1828. Description: Sound channel used in QueryHearSound hooks, etc.
  1829.  
  1830. Constant: SOUNDENT_CHANNEL_UNSPECIFIED
  1831. Value: 0 (int)
  1832. Description: Sound channel used in QueryHearSound hooks, etc.
  1833.  
  1834. Constant: SOUNDENT_CHANNEL_WEAPON
  1835. Value: 4 (int)
  1836. Description: Sound channel used in QueryHearSound hooks, etc.
  1837.  
  1838. Constant: SOUNDENT_CHANNEL_ZOMBINE_GRENADE
  1839. Value: 9 (int)
  1840. Description: Sound channel used in QueryHearSound hooks, etc.
  1841.  
  1842. Constant: SOUNDENT_VOLUME_MACHINEGUN
  1843. Value: 1500 (int)
  1844. Description: Sound volume preset for use in InsertAISound, etc.
  1845.  
  1846. Constant: SOUNDENT_VOLUME_PISTOL
  1847. Value: 500 (int)
  1848. Description: Sound volume preset for use in InsertAISound, etc.
  1849.  
  1850. Constant: SOUNDENT_VOLUME_SHOTGUN
  1851. Value: 1500 (int)
  1852. Description: Sound volume preset for use in InsertAISound, etc.
  1853.  
  1854. Constant: SOUND_BUGBAIT
  1855. Value: 512 (int)
  1856. Description: Sound type used in QueryHearSound hooks, etc.
  1857.  
  1858. Constant: SOUND_BULLET_IMPACT
  1859. Value: 16 (int)
  1860. Description: Sound type used in QueryHearSound hooks, etc.
  1861.  
  1862. Constant: SOUND_CARCASS
  1863. Value: 32 (int)
  1864. Description: Sound type used in QueryHearSound hooks, etc.
  1865.  
  1866. Constant: SOUND_COMBAT
  1867. Value: 1 (int)
  1868. Description: Sound type used in QueryHearSound hooks, etc.
  1869.  
  1870. Constant: SOUND_CONTEXT_ALLIES_ONLY
  1871. Value: 268435456 (int)
  1872. Description: Sound context used in QueryHearSound hooks, etc.
  1873.  
  1874. Constant: SOUND_CONTEXT_COMBINE_ONLY
  1875. Value: 8388608 (int)
  1876. Description: Sound context used in QueryHearSound hooks, etc.
  1877.  
  1878. Constant: SOUND_CONTEXT_DANGER_APPROACH
  1879. Value: 134217728 (int)
  1880. Description: Sound context used in QueryHearSound hooks, etc.
  1881.  
  1882. Constant: SOUND_CONTEXT_EXCLUDE_COMBINE
  1883. Value: 67108864 (int)
  1884. Description: Sound context used in QueryHearSound hooks, etc.
  1885.  
  1886. Constant: SOUND_CONTEXT_EXPLOSION
  1887. Value: 33554432 (int)
  1888. Description: Sound context used in QueryHearSound hooks, etc.
  1889.  
  1890. Constant: SOUND_CONTEXT_FROM_SNIPER
  1891. Value: 1048576 (int)
  1892. Description: Sound context used in QueryHearSound hooks, etc.
  1893.  
  1894. Constant: SOUND_CONTEXT_GUNFIRE
  1895. Value: 2097152 (int)
  1896. Description: Sound context used in QueryHearSound hooks, etc.
  1897.  
  1898. Constant: SOUND_CONTEXT_MORTAR
  1899. Value: 4194304 (int)
  1900. Description: Sound context used in QueryHearSound hooks, etc.
  1901.  
  1902. Constant: SOUND_CONTEXT_PLAYER_VEHICLE
  1903. Value: 536870912 (int)
  1904. Description: Sound context used in QueryHearSound hooks, etc.
  1905.  
  1906. Constant: SOUND_CONTEXT_REACT_TO_SOURCE
  1907. Value: 16777216 (int)
  1908. Description: Sound context used in QueryHearSound hooks, etc.
  1909.  
  1910. Constant: SOUND_DANGER
  1911. Value: 8 (int)
  1912. Description: Sound type used in QueryHearSound hooks, etc.
  1913.  
  1914. Constant: SOUND_DANGER_SNIPERONLY
  1915. Value: 2048 (int)
  1916. Description: Sound type used in QueryHearSound hooks, etc.
  1917.  
  1918. Constant: SOUND_GARBAGE
  1919. Value: 128 (int)
  1920. Description: Sound type used in QueryHearSound hooks, etc.
  1921.  
  1922. Constant: SOUND_MEAT
  1923. Value: 64 (int)
  1924. Description: Sound type used in QueryHearSound hooks, etc.
  1925.  
  1926. Constant: SOUND_MOVE_AWAY
  1927. Value: 4096 (int)
  1928. Description: Sound type used in QueryHearSound hooks, etc.
  1929.  
  1930. Constant: SOUND_NONE
  1931. Value: 0 (int)
  1932. Description: Sound type used in QueryHearSound hooks, etc.
  1933.  
  1934. Constant: SOUND_PHYSICS_DANGER
  1935. Value: 1024 (int)
  1936. Description: Sound type used in QueryHearSound hooks, etc.
  1937.  
  1938. Constant: SOUND_PLAYER
  1939. Value: 4 (int)
  1940. Description: Sound type used in QueryHearSound hooks, etc.
  1941.  
  1942. Constant: SOUND_PLAYER_VEHICLE
  1943. Value: 8192 (int)
  1944. Description: Sound type used in QueryHearSound hooks, etc.
  1945.  
  1946. Constant: SOUND_READINESS_HIGH
  1947. Value: 65536 (int)
  1948. Description: Sound type used in QueryHearSound hooks, etc.
  1949.  
  1950. Constant: SOUND_READINESS_LOW
  1951. Value: 16384 (int)
  1952. Description: Sound type used in QueryHearSound hooks, etc.
  1953.  
  1954. Constant: SOUND_READINESS_MEDIUM
  1955. Value: 32768 (int)
  1956. Description: Sound type used in QueryHearSound hooks, etc.
  1957.  
  1958. Constant: SOUND_THUMPER
  1959. Value: 256 (int)
  1960. Description: Sound type used in QueryHearSound hooks, etc.
  1961.  
  1962. Constant: SOUND_WORLD
  1963. Value: 2 (int)
  1964. Description: Sound type used in QueryHearSound hooks, etc.
  1965.  
  1966. Constant: TEAM_ANY
  1967. Value: -2 (int)
  1968. Description: Index for any team.
  1969.  
  1970. Constant: TEAM_INVALID
  1971. Value: -1 (int)
  1972. Description: Index for an invalid team.
  1973.  
  1974. Constant: TEAM_SPECTATOR
  1975. Value: 1 (int)
  1976. Description: Index for spectator team.
  1977.  
  1978. Constant: TEAM_UNASSIGNED
  1979. Value: 0 (int)
  1980. Description: Index for an unassigned team.
  1981.  
  1982. Constant: VECTOR_CONE_10DEGREES
  1983. Value: Vector( 0.087160, 0.087160, 0.087160 ) (Vector)
  1984. Description: 10-degree weapon vector cone.
  1985.  
  1986. Constant: VECTOR_CONE_15DEGREES
  1987. Value: Vector( 0.130530, 0.130530, 0.130530 ) (Vector)
  1988. Description: 15-degree weapon vector cone.
  1989.  
  1990. Constant: VECTOR_CONE_1DEGREES
  1991. Value: Vector( 0.008730, 0.008730, 0.008730 ) (Vector)
  1992. Description: 1-degree weapon vector cone.
  1993.  
  1994. Constant: VECTOR_CONE_20DEGREES
  1995. Value: Vector( 0.173650, 0.173650, 0.173650 ) (Vector)
  1996. Description: 20-degree weapon vector cone.
  1997.  
  1998. Constant: VECTOR_CONE_2DEGREES
  1999. Value: Vector( 0.017450, 0.017450, 0.017450 ) (Vector)
  2000. Description: 2-degree weapon vector cone.
  2001.  
  2002. Constant: VECTOR_CONE_3DEGREES
  2003. Value: Vector( 0.026180, 0.026180, 0.026180 ) (Vector)
  2004. Description: 3-degree weapon vector cone.
  2005.  
  2006. Constant: VECTOR_CONE_4DEGREES
  2007. Value: Vector( 0.034900, 0.034900, 0.034900 ) (Vector)
  2008. Description: 4-degree weapon vector cone.
  2009.  
  2010. Constant: VECTOR_CONE_5DEGREES
  2011. Value: Vector( 0.043620, 0.043620, 0.043620 ) (Vector)
  2012. Description: 5-degree weapon vector cone.
  2013.  
  2014. Constant: VECTOR_CONE_6DEGREES
  2015. Value: Vector( 0.052340, 0.052340, 0.052340 ) (Vector)
  2016. Description: 6-degree weapon vector cone.
  2017.  
  2018. Constant: VECTOR_CONE_7DEGREES
  2019. Value: Vector( 0.061050, 0.061050, 0.061050 ) (Vector)
  2020. Description: 7-degree weapon vector cone.
  2021.  
  2022. Constant: VECTOR_CONE_8DEGREES
  2023. Value: Vector( 0.069760, 0.069760, 0.069760 ) (Vector)
  2024. Description: 8-degree weapon vector cone.
  2025.  
  2026. Constant: VECTOR_CONE_9DEGREES
  2027. Value: Vector( 0.078460, 0.078460, 0.078460 ) (Vector)
  2028. Description: 9-degree weapon vector cone.
  2029.  
  2030. Constant: VECTOR_CONE_PRECALCULATED
  2031. Value: Vector( 0.000000, 0.000000, 0.000000 ) (Vector)
  2032. Description: This is just a zero vector, but it adds some context indicating that the person writing the code is not allowing FireBullets() to modify the direction of the shot because the shot direction being passed into the function has already been modified by another piece of code and should be fired as specified.
  2033.  
  2034. Constant: VOL_NORM
  2035. Value: 1.000000 (float)
  2036. Description: The standard volume value.
  2037.  
  2038. Constant: WEAPON_PROFICIENCY_AVERAGE
  2039. Value: 1 (int)
  2040. Description: Average weapon proficiency. Causes average accuracy.
  2041.  
  2042. Constant: WEAPON_PROFICIENCY_GOOD
  2043. Value: 2 (int)
  2044. Description: Good weapon proficiency. Causes good accuracy.
  2045.  
  2046. Constant: WEAPON_PROFICIENCY_PERFECT
  2047. Value: 4 (int)
  2048. Description: Perfect weapon proficiency. Causes perfect accuracy.
  2049.  
  2050. Constant: WEAPON_PROFICIENCY_POOR
  2051. Value: 0 (int)
  2052. Description: Poor weapon proficiency. Causes low accuracy.
  2053.  
  2054. Constant: WEAPON_PROFICIENCY_VERY_GOOD
  2055. Value: 3 (int)
  2056. Description: Very good weapon proficiency. Causes very good accuracy.
  2057.  
  2058. Constant: WeaponID.AMMOBOX_12GAUGE
  2059. Value: 55 (int)
  2060.  
  2061. Constant: WeaponID.AMMOBOX_22LR
  2062. Value: 56 (int)
  2063.  
  2064. Constant: WeaponID.AMMOBOX_308
  2065. Value: 57 (int)
  2066.  
  2067. Constant: WeaponID.AMMOBOX_357
  2068. Value: 54 (int)
  2069.  
  2070. Constant: WeaponID.AMMOBOX_45ACP
  2071. Value: 53 (int)
  2072.  
  2073. Constant: WeaponID.AMMOBOX_556
  2074. Value: 58 (int)
  2075.  
  2076. Constant: WeaponID.AMMOBOX_762MM
  2077. Value: 59 (int)
  2078.  
  2079. Constant: WeaponID.AMMOBOX_9MM
  2080. Value: 52 (int)
  2081.  
  2082. Constant: WeaponID.AMMOBOX_ARROW
  2083. Value: 60 (int)
  2084.  
  2085. Constant: WeaponID.AMMOBOX_BOARD
  2086. Value: 61 (int)
  2087.  
  2088. Constant: WeaponID.AMMOBOX_FLARE
  2089. Value: 63 (int)
  2090.  
  2091. Constant: WeaponID.AMMOBOX_FUEL
  2092. Value: 62 (int)
  2093.  
  2094. Constant: WeaponID.BOW_DEERHUNTER
  2095. Value: 22 (int)
  2096.  
  2097. Constant: WeaponID.EXP_GRENADE
  2098. Value: 49 (int)
  2099.  
  2100. Constant: WeaponID.EXP_MOLOTOV
  2101. Value: 50 (int)
  2102.  
  2103. Constant: WeaponID.EXP_TNT
  2104. Value: 51 (int)
  2105.  
  2106. Constant: WeaponID.FA_1022
  2107. Value: 11 (int)
  2108.  
  2109. Constant: WeaponID.FA_1022_25MAG
  2110. Value: 12 (int)
  2111.  
  2112. Constant: WeaponID.FA_1911
  2113. Value: 4 (int)
  2114.  
  2115. Constant: WeaponID.FA_500A
  2116. Value: 9 (int)
  2117.  
  2118. Constant: WeaponID.FA_870
  2119. Value: 6 (int)
  2120.  
  2121. Constant: WeaponID.FA_CZ858
  2122. Value: 15 (int)
  2123.  
  2124. Constant: WeaponID.FA_FNFAL
  2125. Value: 17 (int)
  2126.  
  2127. Constant: WeaponID.FA_GLOCK17
  2128. Value: 1 (int)
  2129.  
  2130. Constant: WeaponID.FA_JAE700
  2131. Value: 16 (int)
  2132.  
  2133. Constant: WeaponID.FA_M16A4
  2134. Value: 20 (int)
  2135.  
  2136. Constant: WeaponID.FA_M16A4_CARRYHANDLE
  2137. Value: 21 (int)
  2138.  
  2139. Constant: WeaponID.FA_M92FS
  2140. Value: 2 (int)
  2141.  
  2142. Constant: WeaponID.FA_MAC10
  2143. Value: 18 (int)
  2144.  
  2145. Constant: WeaponID.FA_MKIII
  2146. Value: 3 (int)
  2147.  
  2148. Constant: WeaponID.FA_MP5A3
  2149. Value: 19 (int)
  2150.  
  2151. Constant: WeaponID.FA_SAKO85
  2152. Value: 14 (int)
  2153.  
  2154. Constant: WeaponID.FA_SAKO85_IRONSIGHTS
  2155. Value: 67 (int)
  2156.  
  2157. Constant: WeaponID.FA_SKS
  2158. Value: 13 (int)
  2159.  
  2160. Constant: WeaponID.FA_SKS_NOBAYO
  2161. Value: 66 (int)
  2162.  
  2163. Constant: WeaponID.FA_SUPERX3
  2164. Value: 7 (int)
  2165.  
  2166. Constant: WeaponID.FA_SV10
  2167. Value: 8 (int)
  2168.  
  2169. Constant: WeaponID.FA_SW686
  2170. Value: 5 (int)
  2171.  
  2172. Constant: WeaponID.FA_WINCHESTER1892
  2173. Value: 10 (int)
  2174.  
  2175. Constant: WeaponID.ITEM_BANDAGES
  2176. Value: 47 (int)
  2177.  
  2178. Constant: WeaponID.ITEM_FIRST_AID
  2179. Value: 45 (int)
  2180.  
  2181. Constant: WeaponID.ITEM_GENE_THERAPY
  2182. Value: 46 (int)
  2183.  
  2184. Constant: WeaponID.ITEM_MAGLITE
  2185. Value: 42 (int)
  2186.  
  2187. Constant: WeaponID.ITEM_PILLS
  2188. Value: 44 (int)
  2189.  
  2190. Constant: WeaponID.ITEM_WALKIETALKIE
  2191. Value: 43 (int)
  2192.  
  2193. Constant: WeaponID.ITEM_ZIPPO
  2194. Value: 48 (int)
  2195.  
  2196. Constant: WeaponID.ME_ABRASIVESAW
  2197. Value: 31 (int)
  2198.  
  2199. Constant: WeaponID.ME_AXE_FIRE
  2200. Value: 27 (int)
  2201.  
  2202. Constant: WeaponID.ME_BAT_METAL
  2203. Value: 28 (int)
  2204.  
  2205. Constant: WeaponID.ME_CHAINSAW
  2206. Value: 30 (int)
  2207.  
  2208. Constant: WeaponID.ME_CLEAVER
  2209. Value: 65 (int)
  2210.  
  2211. Constant: WeaponID.ME_CROWBAR
  2212. Value: 29 (int)
  2213.  
  2214. Constant: WeaponID.ME_ETOOL
  2215. Value: 32 (int)
  2216.  
  2217. Constant: WeaponID.ME_FISTS
  2218. Value: 33 (int)
  2219.  
  2220. Constant: WeaponID.ME_FUBAR
  2221. Value: 34 (int)
  2222.  
  2223. Constant: WeaponID.ME_HATCHET
  2224. Value: 35 (int)
  2225.  
  2226. Constant: WeaponID.ME_KITKNIFE
  2227. Value: 36 (int)
  2228.  
  2229. Constant: WeaponID.ME_MACHETE
  2230. Value: 37 (int)
  2231.  
  2232. Constant: WeaponID.ME_PICKAXE
  2233. Value: 64 (int)
  2234.  
  2235. Constant: WeaponID.ME_PIPE_LEAD
  2236. Value: 38 (int)
  2237.  
  2238. Constant: WeaponID.ME_SHOVEL
  2239. Value: 39 (int)
  2240.  
  2241. Constant: WeaponID.ME_SLEDGE
  2242. Value: 40 (int)
  2243.  
  2244. Constant: WeaponID.ME_WRENCH
  2245. Value: 41 (int)
  2246.  
  2247. Constant: WeaponID.TOOL_BARRICADE
  2248. Value: 23 (int)
  2249.  
  2250. Constant: WeaponID.TOOL_EXTINGUISHER
  2251. Value: 24 (int)
  2252.  
  2253. Constant: WeaponID.TOOL_FLARE_GUN
  2254. Value: 25 (int)
  2255.  
  2256. Constant: WeaponID.TOOL_WELDER
  2257. Value: 26 (int)
  2258.  
  2259. Constant: WeaponID.WEAPON_MAX
  2260. Value: 68 (int)
  2261.  
  2262. Constant: WeaponID.WEAPON_NONE
  2263. Value: 0 (int)
  2264.  
  2265. Constant: WeaponSound.BURST
  2266. Value: 5 (int)
  2267.  
  2268. Constant: WeaponSound.DEPLOY
  2269. Value: 15 (int)
  2270.  
  2271. Constant: WeaponSound.DOUBLE_NPC
  2272. Value: 4 (int)
  2273.  
  2274. Constant: WeaponSound.EMPTY
  2275. Value: 0 (int)
  2276.  
  2277. Constant: WeaponSound.MELEE_HIT
  2278. Value: 9 (int)
  2279.  
  2280. Constant: WeaponSound.MELEE_HIT_WORLD
  2281. Value: 10 (int)
  2282.  
  2283. Constant: WeaponSound.MELEE_MISS
  2284. Value: 8 (int)
  2285.  
  2286. Constant: WeaponSound.NUM_SHOOT_SOUND_TYPES
  2287. Value: 16 (int)
  2288.  
  2289. Constant: WeaponSound.RELOAD
  2290. Value: 6 (int)
  2291.  
  2292. Constant: WeaponSound.RELOAD_NPC
  2293. Value: 7 (int)
  2294.  
  2295. Constant: WeaponSound.SINGLE
  2296. Value: 1 (int)
  2297.  
  2298. Constant: WeaponSound.SINGLE_NPC
  2299. Value: 2 (int)
  2300.  
  2301. Constant: WeaponSound.SPECIAL1
  2302. Value: 11 (int)
  2303.  
  2304. Constant: WeaponSound.SPECIAL2
  2305. Value: 12 (int)
  2306.  
  2307. Constant: WeaponSound.SPECIAL3
  2308. Value: 13 (int)
  2309.  
  2310. Constant: WeaponSound.TAUNT
  2311. Value: 14 (int)
  2312.  
  2313. Constant: WeaponSound.WPN_DOUBLE
  2314. Value: 3 (int)
  2315.  
  2316. Constant: bits_CAP_AIM_GUN
  2317. Value: 536870912 (int)
  2318. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2319.  
  2320. Constant: bits_CAP_ANIMATEDFACE
  2321. Value: 8388608 (int)
  2322. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2323.  
  2324. Constant: bits_CAP_AUTO_DOORS
  2325. Value: 1024 (int)
  2326. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2327.  
  2328. Constant: bits_CAP_DOORS_GROUP
  2329. Value: 3072 (int)
  2330. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2331.  
  2332. Constant: bits_CAP_DUCK
  2333. Value: 134217728 (int)
  2334. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2335.  
  2336. Constant: bits_CAP_FRIENDLY_DMG_IMMUNE
  2337. Value: 33554432 (int)
  2338. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2339.  
  2340. Constant: bits_CAP_INNATE_MELEE_ATTACK1
  2341. Value: 524288 (int)
  2342. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2343.  
  2344. Constant: bits_CAP_INNATE_MELEE_ATTACK2
  2345. Value: 1048576 (int)
  2346. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2347.  
  2348. Constant: bits_CAP_INNATE_RANGE_ATTACK1
  2349. Value: 131072 (int)
  2350. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2351.  
  2352. Constant: bits_CAP_INNATE_RANGE_ATTACK2
  2353. Value: 262144 (int)
  2354. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2355.  
  2356. Constant: bits_CAP_MELEE_ATTACK_GROUP
  2357. Value: 98304 (int)
  2358. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2359.  
  2360. Constant: bits_CAP_MOVE_CLIMB
  2361. Value: 8 (int)
  2362. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2363.  
  2364. Constant: bits_CAP_MOVE_CRAWL
  2365. Value: 32 (int)
  2366. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2367.  
  2368. Constant: bits_CAP_MOVE_FLY
  2369. Value: 4 (int)
  2370. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2371.  
  2372. Constant: bits_CAP_MOVE_GROUND
  2373. Value: 1 (int)
  2374. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2375.  
  2376. Constant: bits_CAP_MOVE_JUMP
  2377. Value: 2 (int)
  2378. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2379.  
  2380. Constant: bits_CAP_MOVE_SHOOT
  2381. Value: 64 (int)
  2382. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2383.  
  2384. Constant: bits_CAP_MOVE_SWIM
  2385. Value: 16 (int)
  2386. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2387.  
  2388. Constant: bits_CAP_NO_HIT_PLAYER
  2389. Value: 268435456 (int)
  2390. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2391.  
  2392. Constant: bits_CAP_NO_HIT_SQUADMATES
  2393. Value: 1073741824 (int)
  2394. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2395.  
  2396. Constant: bits_CAP_OPEN_DOORS
  2397. Value: 2048 (int)
  2398. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2399.  
  2400. Constant: bits_CAP_RANGE_ATTACK_GROUP
  2401. Value: 24576 (int)
  2402. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2403.  
  2404. Constant: bits_CAP_SIMPLE_RADIUS_DAMAGE
  2405. Value: -2147483648 (int)
  2406. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2407.  
  2408. Constant: bits_CAP_SKIP_NAV_GROUND_CHECK
  2409. Value: 128 (int)
  2410. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2411.  
  2412. Constant: bits_CAP_SQUAD
  2413. Value: 67108864 (int)
  2414. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2415.  
  2416. Constant: bits_CAP_TURN_HEAD
  2417. Value: 4096 (int)
  2418. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2419.  
  2420. Constant: bits_CAP_USE
  2421. Value: 256 (int)
  2422. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2423.  
  2424. Constant: bits_CAP_USE_SHOT_REGULATOR
  2425. Value: 16777216 (int)
  2426. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2427.  
  2428. Constant: bits_CAP_USE_WEAPONS
  2429. Value: 2097152 (int)
  2430. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2431.  
  2432. Constant: bits_CAP_WEAPON_MELEE_ATTACK1
  2433. Value: 32768 (int)
  2434. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2435.  
  2436. Constant: bits_CAP_WEAPON_MELEE_ATTACK2
  2437. Value: 65536 (int)
  2438. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2439.  
  2440. Constant: bits_CAP_WEAPON_RANGE_ATTACK1
  2441. Value: 8192 (int)
  2442. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2443.  
  2444. Constant: bits_CAP_WEAPON_RANGE_ATTACK2
  2445. Value: 16384 (int)
  2446. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2447.  
  2448. =====================================
  2449. Class: AI_EnemyInfo_t
  2450. Base:
  2451. Description: Accessor for information about an enemy.
  2452. =====================================
  2453.  
  2454. =====================================
  2455. Class: CAI_BaseActor
  2456. Base: CAI_BaseNPC
  2457. Description: The base class for NPCs which act in complex choreo scenes.
  2458. =====================================
  2459.  
  2460. =====================================
  2461. Class: CAI_BaseNPC
  2462. Base: CBaseCombatCharacter
  2463. Description: The base class all NPCs derive from.
  2464. =====================================
  2465.  
  2466. =====================================
  2467. Class: CAI_Expresser
  2468. Base:
  2469. Description: Expresser class for complex speech.
  2470. =====================================
  2471.  
  2472. =====================================
  2473. Class: CAI_GoalEntity
  2474. Base: CBaseEntity
  2475. Description: The base class for goal entities used to control NPC behavior.
  2476. =====================================
  2477.  
  2478. =====================================
  2479. Class: CAI_Hint
  2480. Base: CBaseEntity
  2481. Description: An entity which gives contextual pointers for NPCs.
  2482. =====================================
  2483.  
  2484. =====================================
  2485. Class: CAI_Squad
  2486. Base:
  2487. Description: NPC squads used for schedule coordination, sharing information about enemies, etc.
  2488. =====================================
  2489.  
  2490. =====================================
  2491. Class: CAI_SquadManager
  2492. Base:
  2493. Description: Manager for NPC squads.
  2494. =====================================
  2495.  
  2496. =====================================
  2497. Class: CAmbientFMOD
  2498. Base: CBaseEntity
  2499. Description: Entity similar to ambient_generic, using FMOD sound system for playback.
  2500. =====================================
  2501.  
  2502. =====================================
  2503. Class: CAmmoDef
  2504. Base:
  2505. Description: The ammo type definition manager.
  2506. =====================================
  2507.  
  2508. =====================================
  2509. Class: CBaseAnimating
  2510. Base: CBaseEntity
  2511. Description: Animating models
  2512. =====================================
  2513.  
  2514. =====================================
  2515. Class: CBaseCombatCharacter
  2516. Base: CBaseFlex
  2517. Description: The base class shared by players and NPCs.
  2518. =====================================
  2519.  
  2520. =====================================
  2521. Class: CBaseCombatWeapon
  2522. Base: CBaseAnimating
  2523. Description: The base class for all equippable weapons.
  2524. =====================================
  2525.  
  2526. =====================================
  2527. Class: CBaseEntity
  2528. Base:
  2529. Description: Root class of all server-side entities
  2530. =====================================
  2531.  
  2532. =====================================
  2533. Class: CBaseFilter
  2534. Base: CBaseEntity
  2535. Description: All entities which could be used as filters.
  2536. =====================================
  2537.  
  2538. =====================================
  2539. Class: CBaseFlex
  2540. Base: CBaseAnimating
  2541. Description: Animated characters who have vertex flex capability.
  2542. =====================================
  2543.  
  2544. =====================================
  2545. Class: CBasePlayer
  2546. Base: CInfectableCharacter
  2547. Description: The player entity.
  2548. =====================================
  2549.  
  2550. =====================================
  2551. Class: CConvars
  2552. Base:
  2553. Description: Provides an interface to convars.
  2554. =====================================
  2555.  
  2556. =====================================
  2557. Class: CDebugOverlayScriptHelper
  2558. Base:
  2559. Description: CDebugOverlayScriptHelper
  2560. =====================================
  2561.  
  2562. =====================================
  2563. Class: CEntities
  2564. Base:
  2565. Description: The global list of entities
  2566. =====================================
  2567.  
  2568. =====================================
  2569. Class: CEnvEntityMaker
  2570. Base: CBaseEntity
  2571. Description: env_entity_maker
  2572. =====================================
  2573.  
  2574. =====================================
  2575. Class: CEnvScreenOverlayMultiplayer
  2576. Base: CBaseEntity
  2577. Description: An entity that can display and control a set of screen overlays, to be displayed over the player's view.
  2578. =====================================
  2579.  
  2580. =====================================
  2581. Class: CEnvTimer
  2582. Base: CBaseEntity
  2583. Description: An entity that displays a simple HUD timer, with controls similar to a stopwatch.
  2584. =====================================
  2585.  
  2586. =====================================
  2587. Class: CFilterScript
  2588. Base: CBaseFilter
  2589. Description: The filter_script entity which allows VScript functions to hook onto filter methods.
  2590. =====================================
  2591.  
  2592. =====================================
  2593. Class: CFuncZombieSpawn
  2594. Base: CBaseEntity
  2595. Description: Zombie spawn volume.
  2596. =====================================
  2597.  
  2598. =====================================
  2599. Class: CFunc_SafeZone
  2600. Base: CBaseEntity
  2601. Description: Safe zone for survival mode.
  2602. =====================================
  2603.  
  2604. =====================================
  2605. Class: CGameRules
  2606. Base:
  2607. Description: The container of the game's rules, handling behavior which could be different on a game-by-game basis.
  2608. =====================================
  2609.  
  2610. =====================================
  2611. Class: CGameState
  2612. Base:
  2613. Description: Helper interface for various game state functions.
  2614. =====================================
  2615.  
  2616. =====================================
  2617. Class: CGameTrace
  2618. Base:
  2619. Description: trace_t
  2620. =====================================
  2621.  
  2622. =====================================
  2623. Class: CInfectableCharacter
  2624. Base: CBaseCombatCharacter
  2625. Description: Base class for all characters that can be infected.
  2626. =====================================
  2627.  
  2628. =====================================
  2629. Class: CItem_AmmoBox
  2630. Base: CBaseAnimating
  2631. Description: Ammo box.
  2632. =====================================
  2633.  
  2634. =====================================
  2635. Class: CItem_InventoryBox
  2636. Base: CBaseAnimating
  2637. Description: Inventory box, an entity used for supply crates.
  2638. =====================================
  2639.  
  2640. =====================================
  2641. Class: CLogicProgress
  2642. Base: CBaseEntity
  2643. Description: An entity that displays a HUD progress bar on clients, stores progress, and fires an output on completion.
  2644. =====================================
  2645.  
  2646. =====================================
  2647. Class: CLogicScriptProxy
  2648. Base: CBaseEntity
  2649. Description: Script proxy, an entity bridge between VScript and server plugins.
  2650. =====================================
  2651.  
  2652. =====================================
  2653. Class: CNMRiH_BarricadePoint
  2654. Base: CBaseAnimating
  2655. Description: A place that a player can barricade.
  2656. =====================================
  2657.  
  2658. =====================================
  2659. Class: CNMRiH_BaseZombie
  2660. Base: CAI_BaseNPC
  2661. Description: The zombie entity.
  2662. =====================================
  2663.  
  2664. =====================================
  2665. Class: CNMRiH_GameRules
  2666. Base: CGameRules
  2667. =====================================
  2668.  
  2669. =====================================
  2670. Class: CNMRiH_HealthStationLocation
  2671. Base: CBaseAnimating
  2672. Description: Health station.
  2673. =====================================
  2674.  
  2675. =====================================
  2676. Class: CNMRiH_ItemCustom
  2677. Base: CBaseAnimating
  2678. Description: A carryable item with custom properties.
  2679. =====================================
  2680.  
  2681. =====================================
  2682. Class: CNMRiH_Music_Manager
  2683. Base: CBaseEntity
  2684. Description: Dynamic music manager.
  2685. =====================================
  2686.  
  2687. =====================================
  2688. Class: CNMRiH_Player
  2689. Base: CBasePlayer
  2690. Description: The player entity for NMRiH.
  2691. =====================================
  2692.  
  2693. =====================================
  2694. Class: CNMRiH_WeaponBase
  2695. Base: CBaseCombatWeapon
  2696. Description: The weapon entity for NMRiH.
  2697. =====================================
  2698.  
  2699. =====================================
  2700. Class: CNavMesh
  2701. Base:
  2702. Description: An interface for nav areas.
  2703. =====================================
  2704.  
  2705. =====================================
  2706. Class: CNetPropManager
  2707. Base:
  2708. Description: Allows reading and updating the network properties and data fields of an entity.
  2709. =====================================
  2710.  
  2711. =====================================
  2712. Class: CObjective
  2713. Base:
  2714. Description: A map objective, used in conjunction with CObjectiveManager.
  2715. =====================================
  2716.  
  2717. =====================================
  2718. Class: CObjectiveManager
  2719. Base:
  2720. Description: Interface for objective manager.
  2721. =====================================
  2722.  
  2723. =====================================
  2724. Class: COverlord_Wave_Controller
  2725. Base: CBaseEntity
  2726. Description: The wave controller.
  2727. =====================================
  2728.  
  2729. =====================================
  2730. Class: COverlord_Zombie_Helper
  2731. Base: CBaseEntity
  2732. Description: The zombie helper.
  2733. =====================================
  2734.  
  2735. =====================================
  2736. Class: CPointMessageMultiplayer
  2737. Base: CBaseEntity
  2738. Description: An entity that displays a text message in the world, at its origin. Has multiplayer support.
  2739. =====================================
  2740.  
  2741. =====================================
  2742. Class: CPointViewControlMultiplayer
  2743. Base: CBaseEntity
  2744. Description: A camera entity that controls the player's view. While it's active, the player will see out of the camera. Has multiplayer support.
  2745. =====================================
  2746.  
  2747. =====================================
  2748. Class: CPointWorldText
  2749. Base: CBaseEntity
  2750. Description: An entity that displays a text message oriented in the world, at its origin.
  2751. =====================================
  2752.  
  2753. =====================================
  2754. Class: CRagdollProp
  2755. Base: CBaseAnimating
  2756. Description: Ragdoll physics prop.
  2757. =====================================
  2758.  
  2759. =====================================
  2760. Class: CRandomSpawnController
  2761. Base: CBaseEntity
  2762. Description: Entity to limit items created by random_spawner entities.
  2763. =====================================
  2764.  
  2765. =====================================
  2766. Class: CRandom_Spawner
  2767. Base: CBaseEntity
  2768. Description: An entity that spawns random items.
  2769. =====================================
  2770.  
  2771. =====================================
  2772. Class: CRulesetManager
  2773. Base:
  2774. Description: Interface for ruleset manager.
  2775. =====================================
  2776.  
  2777. =====================================
  2778. Class: CSceneEntity
  2779. Base: CBaseEntity
  2780. Description: Choreographed scene which controls animation and/or dialog on one or more actors.
  2781. =====================================
  2782.  
  2783. =====================================
  2784. Class: CSceneListManager
  2785. Base: CBaseEntity
  2786. Description: Stores choreo scenes and cleans them up when a later scene in the list begins playing.
  2787. =====================================
  2788.  
  2789. =====================================
  2790. Class: CScriptKeyValues
  2791. Base:
  2792. Description: Wrapper class over KeyValues instance
  2793. =====================================
  2794.  
  2795. =====================================
  2796. Class: CScriptNavArea
  2797. Base:
  2798. Description: Rectangular region defining a walkable area in the environment.
  2799. =====================================
  2800.  
  2801. =====================================
  2802. Class: CSound
  2803. Base:
  2804. Description: A sound NPCs can hear.
  2805. =====================================
  2806.  
  2807. =====================================
  2808. Class: CTakeDamageInfo
  2809. Base:
  2810. Description: Damage information handler.
  2811. =====================================
  2812.  
  2813. =====================================
  2814. Class: CUserCmd
  2815. Base:
  2816. =====================================
  2817.  
  2818. =====================================
  2819. Class: CVersion
  2820. Base:
  2821. Description: Utilities for NMRiH versioning, such as patch labels.
  2822. =====================================
  2823.  
  2824. =====================================
  2825. Class: Color
  2826. Base:
  2827. =====================================
  2828.  
  2829. =====================================
  2830. Class: EmitSound_t
  2831. Base:
  2832. =====================================
  2833.  
  2834. =====================================
  2835. Class: FireBulletsInfo_t
  2836. Base:
  2837. =====================================
  2838.  
  2839. =====================================
  2840. Class: IPhysicsObject
  2841. Base:
  2842. Description: VPhysics object class.
  2843. =====================================
  2844.  
  2845. =====================================
  2846. Class: Quaternion
  2847. Base:
  2848. Description: A quaternion.
  2849. =====================================
  2850.  
  2851. =====================================
  2852. Class: Vector
  2853. Base:
  2854. Description: Basic 3-float Vector class.
  2855. =====================================
  2856.  
  2857. =====================================
  2858. Class: cplane_t
  2859. Base:
  2860. =====================================
  2861.  
  2862. =====================================
  2863. Class: csurface_t
  2864. Base:
  2865. =====================================
  2866.  
  2867. =====================================
  2868. Class: matrix3x4_t
  2869. Base:
  2870. Description: A 3x4 matrix transform.
  2871. =====================================
  2872.  
  2873. =====================================
  2874. Class: scriptanimevent_t
  2875. Base:
  2876. =====================================
  2877.  
  2878. =====================================
  2879. Class: surfacedata_t
  2880. Base:
  2881. =====================================
  2882.  
  2883. Function: AI_EnemyInfo_t::DangerMemory
  2884. Signature: bool AI_EnemyInfo_t::DangerMemory()
  2885. Description: Get the memory of danger position w/o enemy pointer.
  2886.  
  2887. Function: AI_EnemyInfo_t::EludedMe
  2888. Signature: bool AI_EnemyInfo_t::EludedMe()
  2889. Description: Get whether the enemy is not at the last known location.
  2890.  
  2891. Function: AI_EnemyInfo_t::Enemy
  2892. Signature: handle AI_EnemyInfo_t::Enemy()
  2893. Description: Get the enemy.
  2894.  
  2895. Function: AI_EnemyInfo_t::LastKnownLocation
  2896. Signature: Vector AI_EnemyInfo_t::LastKnownLocation()
  2897. Description: Get the enemy's last known location.
  2898.  
  2899. Function: AI_EnemyInfo_t::LastSeenLocation
  2900. Signature: Vector AI_EnemyInfo_t::LastSeenLocation()
  2901. Description: Get the enemy's last seen location.
  2902.  
  2903. Function: AI_EnemyInfo_t::MobbedMe
  2904. Signature: bool AI_EnemyInfo_t::MobbedMe()
  2905. Description: Get whether the enemy was part of a mob at some point.
  2906.  
  2907. Function: AI_EnemyInfo_t::SetDangerMemory
  2908. Signature: void AI_EnemyInfo_t::SetDangerMemory(bool)
  2909. Description: Set the memory of danger position w/o enemy pointer.
  2910.  
  2911. Function: AI_EnemyInfo_t::SetEludedMe
  2912. Signature: void AI_EnemyInfo_t::SetEludedMe(bool)
  2913. Description: Set whether the enemy is not at the last known location.
  2914.  
  2915. Function: AI_EnemyInfo_t::SetEnemy
  2916. Signature: void AI_EnemyInfo_t::SetEnemy(handle)
  2917. Description: Set the enemy.
  2918.  
  2919. Function: AI_EnemyInfo_t::SetLastKnownLocation
  2920. Signature: void AI_EnemyInfo_t::SetLastKnownLocation(Vector)
  2921. Description: Set the enemy's last known location.
  2922.  
  2923. Function: AI_EnemyInfo_t::SetLastSeenLocation
  2924. Signature: void AI_EnemyInfo_t::SetLastSeenLocation(Vector)
  2925. Description: Set the enemy's last seen location.
  2926.  
  2927. Function: AI_EnemyInfo_t::SetMobbedMe
  2928. Signature: void AI_EnemyInfo_t::SetMobbedMe(bool)
  2929. Description: Set whether the enemy was part of a mob at some point.
  2930.  
  2931. Function: AI_EnemyInfo_t::SetTimeAtFirstHand
  2932. Signature: void AI_EnemyInfo_t::SetTimeAtFirstHand(float)
  2933. Description: Set the time at which the enemy was seen firsthand.
  2934.  
  2935. Function: AI_EnemyInfo_t::SetTimeFirstSeen
  2936. Signature: void AI_EnemyInfo_t::SetTimeFirstSeen(float)
  2937. Description: Set the first time the enemy was seen.
  2938.  
  2939. Function: AI_EnemyInfo_t::SetTimeLastReacquired
  2940. Signature: void AI_EnemyInfo_t::SetTimeLastReacquired(float)
  2941. Description: Set the last time the enemy was reaquired.
  2942.  
  2943. Function: AI_EnemyInfo_t::SetTimeLastReceivedDamageFrom
  2944. Signature: void AI_EnemyInfo_t::SetTimeLastReceivedDamageFrom(float)
  2945. Description: Set the last time damage was received from this enemy.
  2946.  
  2947. Function: AI_EnemyInfo_t::SetTimeLastSeen
  2948. Signature: void AI_EnemyInfo_t::SetTimeLastSeen(float)
  2949. Description: Set the last time the enemy was seen.
  2950.  
  2951. Function: AI_EnemyInfo_t::SetTimeValidEnemy
  2952. Signature: void AI_EnemyInfo_t::SetTimeValidEnemy(float)
  2953. Description: Set the time at which the enemy can be selected (reaction delay).
  2954.  
  2955. Function: AI_EnemyInfo_t::SetUnforgettable
  2956. Signature: void AI_EnemyInfo_t::SetUnforgettable(bool)
  2957. Description: Set whether the enemy is unforgettable.
  2958.  
  2959. Function: AI_EnemyInfo_t::TimeAtFirstHand
  2960. Signature: float AI_EnemyInfo_t::TimeAtFirstHand()
  2961. Description: Get the time at which the enemy was seen firsthand.
  2962.  
  2963. Function: AI_EnemyInfo_t::TimeFirstSeen
  2964. Signature: float AI_EnemyInfo_t::TimeFirstSeen()
  2965. Description: Get the first time the enemy was seen.
  2966.  
  2967. Function: AI_EnemyInfo_t::TimeLastReacquired
  2968. Signature: float AI_EnemyInfo_t::TimeLastReacquired()
  2969. Description: Get the last time the enemy was reaquired.
  2970.  
  2971. Function: AI_EnemyInfo_t::TimeLastReceivedDamageFrom
  2972. Signature: float AI_EnemyInfo_t::TimeLastReceivedDamageFrom()
  2973. Description: Get the last time damage was received from this enemy.
  2974.  
  2975. Function: AI_EnemyInfo_t::TimeLastSeen
  2976. Signature: float AI_EnemyInfo_t::TimeLastSeen()
  2977. Description: Get the last time the enemy was seen.
  2978.  
  2979. Function: AI_EnemyInfo_t::TimeValidEnemy
  2980. Signature: float AI_EnemyInfo_t::TimeValidEnemy()
  2981. Description: Get the time at which the enemy can be selected (reaction delay).
  2982.  
  2983. Function: AI_EnemyInfo_t::Unforgettable
  2984. Signature: bool AI_EnemyInfo_t::Unforgettable()
  2985. Description: Get whether the enemy is unforgettable.
  2986.  
  2987. Function: AddPhysVelocity
  2988. Signature: void AddPhysVelocity(handle, Vector, Vector)
  2989. Description: Adds physics velocity for the given VPhysics object
  2990.  
  2991. Function: AddThinkToEnt
  2992. Signature: void AddThinkToEnt(handle, string)
  2993. Description: This will put a think function onto an entity, or pass null to remove it. This is NOT chained, so be careful.
  2994.  
  2995. Function: AngleDiff
  2996. Signature: float AngleDiff(float, float)
  2997. Description: Returns the degrees difference between two yaw angles.
  2998.  
  2999. Function: AngleDistance
  3000. Signature: float AngleDistance(float, float)
  3001.  
  3002. Function: AngleIMatrix
  3003. Signature: void AngleIMatrix(Vector, Vector, handle)
  3004. Description: Sets the inverted angles and position of a matrix.
  3005.  
  3006. Function: AngleMatrix
  3007. Signature: void AngleMatrix(Vector, Vector, handle)
  3008. Description: Sets the angles and position of a matrix.
  3009.  
  3010. Function: AngleNormalize
  3011. Signature: float AngleNormalize(float)
  3012. Description: Clamps an angle to be in between -360 and 360.
  3013.  
  3014. Function: AngleNormalizePositive
  3015. Signature: float AngleNormalizePositive(float)
  3016. Description: Clamps an angle to be in between 0 and 360.
  3017.  
  3018. Function: AngleVectors
  3019. Signature: Vector AngleVectors(Vector)
  3020. Description: Turns an angle into a direction vector.
  3021.  
  3022. Function: AnglesAreEqual
  3023. Signature: bool AnglesAreEqual(float, float, float)
  3024. Description: Checks if two angles are equal based on a given tolerance value.
  3025.  
  3026. Function: Approach
  3027. Signature: float Approach(float, float, float)
  3028.  
  3029. Function: ApproachAngle
  3030. Signature: float ApproachAngle(float, float, float)
  3031. Description: Returns an angle which approaches the target angle from the input angle with the specified speed.
  3032.  
  3033. Function: Bias
  3034. Signature: float Bias(float, float)
  3035. Description: The curve is biased towards 0 or 1 based on biasAmt, which is between 0 and 1.
  3036.  
  3037. Function: CAI_BaseActor::AddLookTarget
  3038. Signature: void CAI_BaseActor::AddLookTarget(handle, float, float, float)
  3039. Description: Add a potential look target for this actor.
  3040.  
  3041. Function: CAI_BaseActor::AddLookTargetPos
  3042. Signature: void CAI_BaseActor::AddLookTargetPos(Vector, float, float, float)
  3043. Description: Add a potential look target position for this actor.
  3044.  
  3045. Function: CAI_BaseNPC::AddSleepFlags
  3046. Signature: void CAI_BaseNPC::AddSleepFlags(int)
  3047. Description: Add to the NPC's sleep flags. (see AI_SLEEP_ set of constants)
  3048.  
  3049. Function: CAI_BaseNPC::CapabilitiesAdd
  3050. Signature: int CAI_BaseNPC::CapabilitiesAdd(int)
  3051. Description: Add capabilities to the NPC.
  3052.  
  3053. Function: CAI_BaseNPC::CapabilitiesClear
  3054. Signature: void CAI_BaseNPC::CapabilitiesClear()
  3055. Description: Clear capabilities for the NPC.
  3056.  
  3057. Function: CAI_BaseNPC::CapabilitiesGet
  3058. Signature: int CAI_BaseNPC::CapabilitiesGet()
  3059. Description: Get the capabilities the NPC currently possesses.
  3060.  
  3061. Function: CAI_BaseNPC::CapabilitiesRemove
  3062. Signature: int CAI_BaseNPC::CapabilitiesRemove(int)
  3063. Description: Remove capabilities from the NPC.
  3064.  
  3065. Function: CAI_BaseNPC::ClearCondition
  3066. Signature: void CAI_BaseNPC::ClearCondition(string)
  3067. Description: Clear a condition on the NPC.
  3068.  
  3069. Function: CAI_BaseNPC::ClearConditionID
  3070. Signature: void CAI_BaseNPC::ClearConditionID(int)
  3071. Description: Clear a condition on the NPC by ID.
  3072.  
  3073. Function: CAI_BaseNPC::ClearSchedule
  3074. Signature: void CAI_BaseNPC::ClearSchedule(string)
  3075. Description: Clear the NPC's current schedule for the specified reason.
  3076.  
  3077. Function: CAI_BaseNPC::FindEnemyMemory
  3078. Signature: handle CAI_BaseNPC::FindEnemyMemory(handle)
  3079. Description: Get information about the NPC's current enemy.
  3080.  
  3081. Function: CAI_BaseNPC::Freeze
  3082. Signature: void CAI_BaseNPC::Freeze()
  3083. Description: Freezes NPC in place and pauses their sequence.
  3084.  
  3085. Function: CAI_BaseNPC::GetActivity
  3086. Signature: string CAI_BaseNPC::GetActivity()
  3087. Description: Get the NPC's current activity.
  3088.  
  3089. Function: CAI_BaseNPC::GetActivityID
  3090. Signature: int CAI_BaseNPC::GetActivityID()
  3091. Description: Get the NPC's current activity ID.
  3092.  
  3093. Function: CAI_BaseNPC::GetCine
  3094. Signature: handle CAI_BaseNPC::GetCine()
  3095. Description: Get the NPC's currently running scripted sequence if it has one.
  3096.  
  3097. Function: CAI_BaseNPC::GetEnemy
  3098. Signature: handle CAI_BaseNPC::GetEnemy()
  3099. Description: Get the NPC's current enemy.
  3100.  
  3101. Function: CAI_BaseNPC::GetEnemyLKP
  3102. Signature: Vector CAI_BaseNPC::GetEnemyLKP()
  3103. Description: Get the last known position of the NPC's current enemy.
  3104.  
  3105. Function: CAI_BaseNPC::GetExpresser
  3106. Signature: handle CAI_BaseNPC::GetExpresser()
  3107. Description: Get a handle for this NPC's expresser.
  3108.  
  3109. Function: CAI_BaseNPC::GetHintGroup
  3110. Signature: string CAI_BaseNPC::GetHintGroup()
  3111. Description: Get the name of the NPC's hint group.
  3112.  
  3113. Function: CAI_BaseNPC::GetHintNode
  3114. Signature: handle CAI_BaseNPC::GetHintNode()
  3115. Description: Get the NPC's current AI hint.
  3116.  
  3117. Function: CAI_BaseNPC::GetLastAttackTime
  3118. Signature: float CAI_BaseNPC::GetLastAttackTime()
  3119. Description: Get the last time the NPC has used an attack (e.g. fired a bullet from a gun).
  3120.  
  3121. Function: CAI_BaseNPC::GetLastDamageTime
  3122. Signature: float CAI_BaseNPC::GetLastDamageTime()
  3123. Description: Get the last time the NPC has been damaged.
  3124.  
  3125. Function: CAI_BaseNPC::GetLastEnemyTime
  3126. Signature: float CAI_BaseNPC::GetLastEnemyTime()
  3127. Description: Get the last time the NPC has seen an enemy.
  3128.  
  3129. Function: CAI_BaseNPC::GetLastPlayerDamageTime
  3130. Signature: float CAI_BaseNPC::GetLastPlayerDamageTime()
  3131. Description: Get the last time the NPC has been damaged by a player.
  3132.  
  3133. Function: CAI_BaseNPC::GetNPCState
  3134. Signature: int CAI_BaseNPC::GetNPCState()
  3135. Description: Get the NPC's current state.
  3136.  
  3137. Function: CAI_BaseNPC::GetSchedule
  3138. Signature: string CAI_BaseNPC::GetSchedule()
  3139. Description: Get the NPC's current schedule.
  3140.  
  3141. Function: CAI_BaseNPC::GetScheduleID
  3142. Signature: int CAI_BaseNPC::GetScheduleID()
  3143. Description: Get the NPC's current schedule ID.
  3144.  
  3145. Function: CAI_BaseNPC::GetScriptState
  3146. Signature: int CAI_BaseNPC::GetScriptState()
  3147. Description: Get the NPC's current scripted sequence state.
  3148.  
  3149. Function: CAI_BaseNPC::GetSleepState
  3150. Signature: int CAI_BaseNPC::GetSleepState()
  3151. Description: Get the NPC's sleep state. (see AISS_ set of constants)
  3152.  
  3153. Function: CAI_BaseNPC::GetSquad
  3154. Signature: handle CAI_BaseNPC::GetSquad()
  3155. Description: Get the NPC's squad if it has one.
  3156.  
  3157. Function: CAI_BaseNPC::GetTask
  3158. Signature: string CAI_BaseNPC::GetTask()
  3159. Description: Get the NPC's current task.
  3160.  
  3161. Function: CAI_BaseNPC::GetTaskID
  3162. Signature: int CAI_BaseNPC::GetTaskID()
  3163. Description: Get the NPC's current task ID.
  3164.  
  3165. Function: CAI_BaseNPC::HasCondition
  3166. Signature: bool CAI_BaseNPC::HasCondition(string)
  3167. Description: Get whether the NPC has a condition.
  3168.  
  3169. Function: CAI_BaseNPC::HasConditionID
  3170. Signature: bool CAI_BaseNPC::HasConditionID(int)
  3171. Description: Get whether the NPC has a condition ID.
  3172.  
  3173. Function: CAI_BaseNPC::HasSleepFlags
  3174. Signature: bool CAI_BaseNPC::HasSleepFlags(int)
  3175. Description: Return true if the NPC has the specified sleep flags. (see AI_SLEEP_ set of constants)
  3176.  
  3177. Function: CAI_BaseNPC::IsCommandable
  3178. Signature: bool CAI_BaseNPC::IsCommandable()
  3179. Description: Check if the NPC is commandable.
  3180.  
  3181. Function: CAI_BaseNPC::IsFrozen
  3182. Signature: bool CAI_BaseNPC::IsFrozen()
  3183. Description: Returns true if NPC is frozen.
  3184.  
  3185. Function: CAI_BaseNPC::IsInPlayerSquad
  3186. Signature: bool CAI_BaseNPC::IsInPlayerSquad()
  3187. Description: Check if the NPC is in the player's squad.
  3188.  
  3189. Function: CAI_BaseNPC::IsInSquad
  3190. Signature: bool CAI_BaseNPC::IsInSquad()
  3191. Description: Returns true if the NPC is in a squad.
  3192.  
  3193. Function: CAI_BaseNPC::IsMoving
  3194. Signature: bool CAI_BaseNPC::IsMoving()
  3195. Description: Check if the NPC is moving.
  3196.  
  3197. Function: CAI_BaseNPC::NumWeaponsInSquad
  3198. Signature: int CAI_BaseNPC::NumWeaponsInSquad(string)
  3199. Description: Get the number of weapons in a squad.
  3200.  
  3201. Function: CAI_BaseNPC::RemoveSleepFlags
  3202. Signature: void CAI_BaseNPC::RemoveSleepFlags(int)
  3203. Description: Remove from NPC's sleep flags. (see AI_SLEEP_ set of constants)
  3204.  
  3205. Function: CAI_BaseNPC::ResetActivity
  3206. Signature: void CAI_BaseNPC::ResetActivity()
  3207. Description: Reset the NPC's current activity.
  3208.  
  3209. Function: CAI_BaseNPC::SetActivity
  3210. Signature: void CAI_BaseNPC::SetActivity(string)
  3211. Description: Set the NPC's current activity.
  3212.  
  3213. Function: CAI_BaseNPC::SetActivityID
  3214. Signature: void CAI_BaseNPC::SetActivityID(int)
  3215. Description: Set the NPC's current activity ID.
  3216.  
  3217. Function: CAI_BaseNPC::SetCondition
  3218. Signature: void CAI_BaseNPC::SetCondition(string)
  3219. Description: Set a condition on the NPC.
  3220.  
  3221. Function: CAI_BaseNPC::SetConditionID
  3222. Signature: void CAI_BaseNPC::SetConditionID(int)
  3223. Description: Set a condition on the NPC by ID.
  3224.  
  3225. Function: CAI_BaseNPC::SetEnemy
  3226. Signature: void CAI_BaseNPC::SetEnemy(handle)
  3227. Description: Set the NPC's current enemy.
  3228.  
  3229. Function: CAI_BaseNPC::SetSchedule
  3230. Signature: void CAI_BaseNPC::SetSchedule(string)
  3231. Description: Set the NPC's current schedule.
  3232.  
  3233. Function: CAI_BaseNPC::SetScheduleID
  3234. Signature: void CAI_BaseNPC::SetScheduleID(int)
  3235. Description: Set the NPC's current schedule ID.
  3236.  
  3237. Function: CAI_BaseNPC::SetSleepState
  3238. Signature: void CAI_BaseNPC::SetSleepState(int)
  3239. Description: Set the NPC's sleep state. (see AISS_ set of constants)
  3240.  
  3241. Function: CAI_BaseNPC::Sleep
  3242. Signature: void CAI_BaseNPC::Sleep()
  3243. Description: Puts the NPC into a sleeping state.
  3244.  
  3245. Function: CAI_BaseNPC::Unfreeze
  3246. Signature: void CAI_BaseNPC::Unfreeze()
  3247. Description: Unfreezes NPC if they're frozen.
  3248.  
  3249. Function: CAI_BaseNPC::Wake
  3250. Signature: void CAI_BaseNPC::Wake(handle)
  3251. Description: Awakens the NPC if it is currently asleep.
  3252.  
  3253. Function: CAI_Expresser::BlockSpeechUntil
  3254. Signature: void CAI_Expresser::BlockSpeechUntil(float)
  3255. Description: Block speech for a certain amount of time. This is stored in curtime.
  3256.  
  3257. Function: CAI_Expresser::CanSpeak
  3258. Signature: bool CAI_Expresser::CanSpeak()
  3259. Description: Check if the actor can speak.
  3260.  
  3261. Function: CAI_Expresser::ForceNotSpeaking
  3262. Signature: void CAI_Expresser::ForceNotSpeaking()
  3263. Description: If the actor is speaking, force the system to recognize them as not speaking.
  3264.  
  3265. Function: CAI_Expresser::GetVoicePitch
  3266. Signature: int CAI_Expresser::GetVoicePitch()
  3267. Description: Get the actor's voice pitch. Used in sentences.
  3268.  
  3269. Function: CAI_Expresser::IsSpeaking
  3270. Signature: bool CAI_Expresser::IsSpeaking()
  3271. Description: Check if the actor is speaking.
  3272.  
  3273. Function: CAI_Expresser::SetVoicePitch
  3274. Signature: void CAI_Expresser::SetVoicePitch(int)
  3275. Description: Set the actor's voice pitch. Used in sentences.
  3276.  
  3277. Function: CAI_Expresser::Speak
  3278. Signature: bool CAI_Expresser::Speak(string, string)
  3279. Description: Speak a response concept with the specified modifiers.
  3280.  
  3281. Function: CAI_Expresser::SpeakAutoGeneratedScene
  3282. Signature: bool CAI_Expresser::SpeakAutoGeneratedScene(string, float)
  3283. Description: Speak an automatically generated, instanced VCD scene for this sound as though it were played through the Response System. Return whether the scene successfully plays.
  3284.  
  3285. Function: CAI_Expresser::SpeakRawScene
  3286. Signature: bool CAI_Expresser::SpeakRawScene(string, float)
  3287. Description: Speak a raw, instanced VCD scene as though it were played through the Response System. Return whether the scene successfully plays.
  3288.  
  3289. Function: CAI_Expresser::SpeakRawSentence
  3290. Signature: int CAI_Expresser::SpeakRawSentence(string, float)
  3291. Description: Speak a raw sentence as though it were played through the Response System. Return the sentence's index; -1 if not successfully played.
  3292.  
  3293. Function: CAI_GoalEntity::IsActive
  3294. Signature: bool CAI_GoalEntity::IsActive()
  3295. Description: Check if the goal entity is active.
  3296.  
  3297. Function: CAI_GoalEntity::NumActors
  3298. Signature: int CAI_GoalEntity::NumActors()
  3299. Description: Get the number of actors using this goal entity.
  3300.  
  3301. Function: CAI_Hint::GetDirection
  3302. Signature: Vector CAI_Hint::GetDirection()
  3303. Description: Get the hint's direction.
  3304.  
  3305. Function: CAI_Hint::GetHintActivity
  3306. Signature: string CAI_Hint::GetHintActivity()
  3307. Description: Get the name of the hint activity.
  3308.  
  3309. Function: CAI_Hint::GetHintGroup
  3310. Signature: string CAI_Hint::GetHintGroup()
  3311. Description: Get the name of the hint's group.
  3312.  
  3313. Function: CAI_Hint::GetHintType
  3314. Signature: int CAI_Hint::GetHintType()
  3315. Description: Get the hint's type ID.
  3316.  
  3317. Function: CAI_Hint::GetNodeId
  3318. Signature: int CAI_Hint::GetNodeId()
  3319. Description: Get the hint's node ID.
  3320.  
  3321. Function: CAI_Hint::GetUser
  3322. Signature: handle CAI_Hint::GetUser()
  3323. Description: Get the hint's current user.
  3324.  
  3325. Function: CAI_Hint::IsDisabled
  3326. Signature: bool CAI_Hint::IsDisabled()
  3327. Description: Check if the hint is disabled.
  3328.  
  3329. Function: CAI_Hint::IsLocked
  3330. Signature: bool CAI_Hint::IsLocked()
  3331. Description: Check if the hint is locked.
  3332.  
  3333. Function: CAI_Hint::Yaw
  3334. Signature: float CAI_Hint::Yaw()
  3335. Description: Get the hint's yaw.
  3336.  
  3337. Function: CAI_Squad::AddToSquad
  3338. Signature: void CAI_Squad::AddToSquad(handle)
  3339. Description: Adds a NPC to the squad.
  3340.  
  3341. Function: CAI_Squad::GetAnyMember
  3342. Signature: handle CAI_Squad::GetAnyMember()
  3343. Description: Randomly get any one of the squad's members.
  3344.  
  3345. Function: CAI_Squad::GetFirstMember
  3346. Signature: handle CAI_Squad::GetFirstMember(bool)
  3347. Description: Get the squad's first member. The parameter is for whether to ignore silent members (see CAI_Squad::IsSilentMember() for more info).
  3348.  
  3349. Function: CAI_Squad::GetLeader
  3350. Signature: handle CAI_Squad::GetLeader()
  3351. Description: Get the squad's leader.
  3352.  
  3353. Function: CAI_Squad::GetMember
  3354. Signature: handle CAI_Squad::GetMember(int)
  3355. Description: Get one of the squad's members by their index.
  3356.  
  3357. Function: CAI_Squad::GetName
  3358. Signature: string CAI_Squad::GetName()
  3359. Description: Get the squad's name.
  3360.  
  3361. Function: CAI_Squad::GetSquadData
  3362. Signature: string CAI_Squad::GetSquadData(int)
  3363. Description: Get the squad data in the specified slot.
  3364.  
  3365. Function: CAI_Squad::GetSquadIndex
  3366. Signature: int CAI_Squad::GetSquadIndex(handle)
  3367. Description: Get the index of the specified NPC in the squad.
  3368.  
  3369. Function: CAI_Squad::GetSquadMemberNearestTo
  3370. Signature: handle CAI_Squad::GetSquadMemberNearestTo(Vector)
  3371. Description: Get the squad member nearest to a point.
  3372.  
  3373. Function: CAI_Squad::GetVisibleSquadMembers
  3374. Signature: int CAI_Squad::GetVisibleSquadMembers(handle)
  3375. Description: Get the number of squad members visible to the specified member.
  3376.  
  3377. Function: CAI_Squad::IsLeader
  3378. Signature: bool CAI_Squad::IsLeader(handle)
  3379. Description: Returns true if the specified NPC is the squad's leader.
  3380.  
  3381. Function: CAI_Squad::IsMember
  3382. Signature: bool CAI_Squad::IsMember(handle)
  3383. Description: Returns true if the specified NPC is a member of the squad.
  3384.  
  3385. Function: CAI_Squad::IsSilentMember
  3386. Signature: bool CAI_Squad::IsSilentMember(handle)
  3387. Description: Returns true if the specified NPC is a "silent squad member", which means it's only in squads for enemy information purposes and does not actually participate in any tactics. For example, this is used for npc_enemyfinder and vital allies (e.g. Alyx) in the player's squad. Please note that this does not check if the NPC is in the squad first.
  3388.  
  3389. Function: CAI_Squad::NearestSquadMember
  3390. Signature: handle CAI_Squad::NearestSquadMember(handle)
  3391. Description: Get the squad member nearest to the specified member.
  3392.  
  3393. Function: CAI_Squad::NumMembers
  3394. Signature: int CAI_Squad::NumMembers(bool)
  3395. Description: Get the squad's number of members. The parameter is for whether to ignore silent members (see CAI_Squad::IsSilentMember() for more info).
  3396.  
  3397. Function: CAI_Squad::RemoveFromSquad
  3398. Signature: void CAI_Squad::RemoveFromSquad(handle)
  3399. Description: Removes a NPC from the squad.
  3400.  
  3401. Function: CAI_Squad::SetSquadData
  3402. Signature: void CAI_Squad::SetSquadData(int, string)
  3403. Description: Set the squad data in the specified slot.
  3404.  
  3405. Function: CAI_Squad::SquadMemberInRange
  3406. Signature: handle CAI_Squad::SquadMemberInRange(Vector, float)
  3407. Description: Get the first squad member found around the specified position in the specified range.
  3408.  
  3409. Function: CAI_Squad::UpdateEnemyMemory
  3410. Signature: void CAI_Squad::UpdateEnemyMemory(handle, handle, Vector)
  3411. Description: Updates the squad's memory of an enemy. The first parameter is the updater, the second parameter is the enemy, and the third parameter is the position.
  3412.  
  3413. Function: CAI_SquadManager::FindCreateSquad
  3414. Signature: handle CAI_SquadManager::FindCreateSquad(string)
  3415. Description: Find the specified squad in the squad list or create it if it doesn't exist.
  3416.  
  3417. Function: CAI_SquadManager::FindSquad
  3418. Signature: handle CAI_SquadManager::FindSquad(string)
  3419. Description: Find the specified squad in the squad list. Returns null if none found.
  3420.  
  3421. Function: CAI_SquadManager::GetFirstSquad
  3422. Signature: handle CAI_SquadManager::GetFirstSquad()
  3423. Description: Get the first squad in the squad list.
  3424.  
  3425. Function: CAI_SquadManager::GetNextSquad
  3426. Signature: handle CAI_SquadManager::GetNextSquad(handle)
  3427. Description: Get the next squad in the squad list starting from the specified squad.
  3428.  
  3429. Function: CAI_SquadManager::NumSquads
  3430. Signature: int CAI_SquadManager::NumSquads()
  3431. Description: Get the number of squads in the list.
  3432.  
  3433. Function: CAmbientFMOD::DecreaseVolume
  3434. Signature: void CAmbientFMOD::DecreaseVolume(float)
  3435. Description: Decreases volume by the specified amount. If this result is less than the min. volume, it will be set to silent.
  3436.  
  3437. Function: CAmbientFMOD::IncreaseVolume
  3438. Signature: void CAmbientFMOD::IncreaseVolume(float)
  3439. Description: Increases volume by the specified amount. If this result is greater than the max. volume, it will be set to loudest.
  3440.  
  3441. Function: CAmbientFMOD::PlaySound
  3442. Signature: void CAmbientFMOD::PlaySound()
  3443.  
  3444. Function: CAmbientFMOD::SetSound
  3445. Signature: void CAmbientFMOD::SetSound(string)
  3446. Description: Sets a sound for playback, parameter can be a GameSound entry, or a direct filename. Supported formats: AIFF, ASF, ASX, DLS, FLAC, FSB, IT, M3U, MIDI, MOD, MP2, MP3, OGG, PLS, S3M, WAV, WAX, WMA, XM
  3447.  
  3448. Function: CAmbientFMOD::SetSoundSource
  3449. Signature: void CAmbientFMOD::SetSoundSource(handle)
  3450. Description: Sets sound source, with a parameter of an entity handle.
  3451.  
  3452. Function: CAmbientFMOD::SetVolume
  3453. Signature: void CAmbientFMOD::SetVolume(float)
  3454. Description: Sets sound volume, expressed as a range from 0.0 to 10.0, where 10.0 is the loudest.
  3455.  
  3456. Function: CAmbientFMOD::StopSound
  3457. Signature: void CAmbientFMOD::StopSound()
  3458.  
  3459. Function: CAmbientFMOD::ToggleSound
  3460. Signature: void CAmbientFMOD::ToggleSound()
  3461.  
  3462. Function: CAmmoDef::DamageForce
  3463. Signature: float CAmmoDef::DamageForce(int)
  3464. Description: Gets the amount of force this ammo type deals.
  3465.  
  3466. Function: CAmmoDef::DamageType
  3467. Signature: int CAmmoDef::DamageType(int)
  3468. Description: Gets the type of damage this ammo type deals.
  3469.  
  3470. Function: CAmmoDef::Flags
  3471. Signature: int CAmmoDef::Flags(int)
  3472. Description: Gets the flags this ammo type uses.
  3473.  
  3474. Function: CAmmoDef::GetNumAmmoTypes
  3475. Signature: int CAmmoDef::GetNumAmmoTypes()
  3476. Description: Gets the number of ammo types which currently exist.
  3477.  
  3478. Function: CAmmoDef::Index
  3479. Signature: int CAmmoDef::Index(string)
  3480. Description: Gets the index of the specified ammo type name.
  3481.  
  3482. Function: CAmmoDef::MaxCarry
  3483. Signature: int CAmmoDef::MaxCarry(int)
  3484. Description: Gets the maximum amount of this ammo type which players should be able to carry.
  3485.  
  3486. Function: CAmmoDef::MaxSplashSize
  3487. Signature: int CAmmoDef::MaxSplashSize(int)
  3488. Description: Gets the maximum size of water splashes caused by impacts from this ammo type.
  3489.  
  3490. Function: CAmmoDef::MinSplashSize
  3491. Signature: int CAmmoDef::MinSplashSize(int)
  3492. Description: Gets the minimum size of water splashes caused by impacts from this ammo type.
  3493.  
  3494. Function: CAmmoDef::NPCDamage
  3495. Signature: int CAmmoDef::NPCDamage(int)
  3496. Description: Gets the damage NPCs deal for the specified ammo type.
  3497.  
  3498. Function: CAmmoDef::PlrDamage
  3499. Signature: int CAmmoDef::PlrDamage(int)
  3500. Description: Gets the damage players deal for the specified ammo type.
  3501.  
  3502. Function: CAmmoDef::TracerType
  3503. Signature: int CAmmoDef::TracerType(int)
  3504. Description: Gets the type of tracer this ammo type uses.
  3505.  
  3506. Function: CBaseAnimating::BecomeRagdollOnClient
  3507. Signature: bool CBaseAnimating::BecomeRagdollOnClient(Vector)
  3508.  
  3509. Function: CBaseAnimating::CanBecomeRagdoll
  3510. Signature: bool CBaseAnimating::CanBecomeRagdoll()
  3511.  
  3512. Function: CBaseAnimating::DisableGlow
  3513. Signature: void CBaseAnimating::DisableGlow()
  3514. Description: Disables outline glow, requires entity to be 'glowable'.
  3515.  
  3516. Function: CBaseAnimating::Dissolve
  3517. Signature: bool CBaseAnimating::Dissolve(string, float, bool, int, Vector, int)
  3518. Description: Use 'sprites/blueglow1.vmt' for the default material, Time() for the default start time, false for npcOnly if you don't want it to check if the entity is a NPC first, 0 for the default dissolve type, Vector(0,0,0) for the default dissolver origin, and 0 for the default magnitude.
  3519.  
  3520. Function: CBaseAnimating::EnableGlow
  3521. Signature: void CBaseAnimating::EnableGlow()
  3522. Description: Enables outline glow, requires entity to be 'glowable'.
  3523.  
  3524. Function: CBaseAnimating::FindBodygroupByName
  3525. Signature: int CBaseAnimating::FindBodygroupByName(string)
  3526. Description: Finds a bodygroup by name
  3527.  
  3528. Function: CBaseAnimating::GetAttachmentAngles
  3529. Signature: Vector CBaseAnimating::GetAttachmentAngles(int)
  3530. Description: Get the attachement id's angles as a p,y,r vector
  3531.  
  3532. Function: CBaseAnimating::GetAttachmentMatrix
  3533. Signature: handle CBaseAnimating::GetAttachmentMatrix(int)
  3534. Description: Get the attachement id's matrix transform
  3535.  
  3536. Function: CBaseAnimating::GetAttachmentOrigin
  3537. Signature: Vector CBaseAnimating::GetAttachmentOrigin(int)
  3538. Description: Get the attachement id's origin vector
  3539.  
  3540. Function: CBaseAnimating::GetBodygroup
  3541. Signature: int CBaseAnimating::GetBodygroup(int)
  3542. Description: Gets a bodygroup
  3543.  
  3544. Function: CBaseAnimating::GetBodygroupCount
  3545. Signature: int CBaseAnimating::GetBodygroupCount(int)
  3546. Description: Gets the number of models in a bodygroup
  3547.  
  3548. Function: CBaseAnimating::GetBodygroupName
  3549. Signature: string CBaseAnimating::GetBodygroupName(int)
  3550. Description: Gets a bodygroup name
  3551.  
  3552. Function: CBaseAnimating::GetBoneTransform
  3553. Signature: void CBaseAnimating::GetBoneTransform(int, handle)
  3554. Description: Get the transform for the specified bone
  3555.  
  3556. Function: CBaseAnimating::GetCycle
  3557. Signature: float CBaseAnimating::GetCycle()
  3558.  
  3559. Function: CBaseAnimating::GetModelScale
  3560. Signature: float CBaseAnimating::GetModelScale()
  3561. Description: Returns current model scale.
  3562.  
  3563. Function: CBaseAnimating::GetNumBodyGroups
  3564. Signature: int CBaseAnimating::GetNumBodyGroups()
  3565. Description: Gets the number of bodygroups
  3566.  
  3567. Function: CBaseAnimating::GetNumBones
  3568. Signature: int CBaseAnimating::GetNumBones()
  3569. Description: Get the number of bones
  3570.  
  3571. Function: CBaseAnimating::GetPhysicsBone
  3572. Signature: int CBaseAnimating::GetPhysicsBone(int)
  3573. Description: Get physics bone from bone index
  3574.  
  3575. Function: CBaseAnimating::GetPlaybackRate
  3576. Signature: float CBaseAnimating::GetPlaybackRate()
  3577.  
  3578. Function: CBaseAnimating::GetPoseParameter
  3579. Signature: float CBaseAnimating::GetPoseParameter(string)
  3580. Description: Get the specified pose parameter's value
  3581.  
  3582. Function: CBaseAnimating::GetSequence
  3583. Signature: int CBaseAnimating::GetSequence()
  3584. Description: Gets the current sequence
  3585.  
  3586. Function: CBaseAnimating::GetSequenceActivity
  3587. Signature: int CBaseAnimating::GetSequenceActivity(int)
  3588. Description: Gets the activity ID of the specified sequence index
  3589.  
  3590. Function: CBaseAnimating::GetSequenceActivityName
  3591. Signature: string CBaseAnimating::GetSequenceActivityName(int)
  3592. Description: Gets the activity name of the specified sequence index
  3593.  
  3594. Function: CBaseAnimating::GetSequenceKeyValues
  3595. Signature: handle CBaseAnimating::GetSequenceKeyValues(int)
  3596. Description: Get a KeyValue class instance on the specified sequence. WARNING: This uses the same KeyValue pointer as GetModelKeyValues!
  3597.  
  3598. Function: CBaseAnimating::GetSequenceMoveDist
  3599. Signature: float CBaseAnimating::GetSequenceMoveDist(int)
  3600. Description: Gets the move distance of the specified sequence
  3601.  
  3602. Function: CBaseAnimating::GetSequenceMoveYaw
  3603. Signature: float CBaseAnimating::GetSequenceMoveYaw(int)
  3604. Description: Gets the move yaw of the specified sequence
  3605.  
  3606. Function: CBaseAnimating::GetSequenceName
  3607. Signature: string CBaseAnimating::GetSequenceName(int)
  3608. Description: Gets the name of the specified sequence index
  3609.  
  3610. Function: CBaseAnimating::GetSkin
  3611. Signature: int CBaseAnimating::GetSkin()
  3612. Description: Gets the model's skin
  3613.  
  3614. Function: CBaseAnimating::Ignite
  3615. Signature: void CBaseAnimating::Ignite(float, bool, float, bool)
  3616. Description: 'NPCOnly' only lets this fall through if the entity is a NPC and 'CalledByLevelDesigner' determines whether to treat this like the Ignite input or just an internal ignition call.
  3617.  
  3618. Function: CBaseAnimating::IsGlowable
  3619. Signature: bool CBaseAnimating::IsGlowable()
  3620. Description: Returns true if this entity can have an outline glow.
  3621.  
  3622. Function: CBaseAnimating::IsRagdoll
  3623. Signature: bool CBaseAnimating::IsRagdoll()
  3624.  
  3625. Function: CBaseAnimating::IsSequenceFinished
  3626. Signature: bool CBaseAnimating::IsSequenceFinished()
  3627. Description: Ask whether the main sequence is done playing
  3628.  
  3629. Function: CBaseAnimating::LookupActivity
  3630. Signature: int CBaseAnimating::LookupActivity(string)
  3631. Description: Gets the ID of the specified activity name
  3632.  
  3633. Function: CBaseAnimating::LookupAttachment
  3634. Signature: int CBaseAnimating::LookupAttachment(string)
  3635. Description: Get the named attachement id
  3636.  
  3637. Function: CBaseAnimating::LookupBone
  3638. Signature: int CBaseAnimating::LookupBone(string)
  3639. Description: Get the named bone id
  3640.  
  3641. Function: CBaseAnimating::LookupSequence
  3642. Signature: int CBaseAnimating::LookupSequence(string)
  3643. Description: Gets the index of the specified sequence name
  3644.  
  3645. Function: CBaseAnimating::ResetSequenceInfo
  3646. Signature: void CBaseAnimating::ResetSequenceInfo()
  3647.  
  3648. Function: CBaseAnimating::Scorch
  3649. Signature: void CBaseAnimating::Scorch(int, int)
  3650. Description: Makes the entity darker from scorching
  3651.  
  3652. Function: CBaseAnimating::SelectHeaviestSequence
  3653. Signature: int CBaseAnimating::SelectHeaviestSequence(int)
  3654. Description: Selects the sequence with the heaviest weight for the specified activity ID
  3655.  
  3656. Function: CBaseAnimating::SelectWeightedSequence
  3657. Signature: int CBaseAnimating::SelectWeightedSequence(int, int)
  3658. Description: Selects a sequence for the specified activity ID
  3659.  
  3660. Function: CBaseAnimating::SequenceDuration
  3661. Signature: float CBaseAnimating::SequenceDuration(int)
  3662. Description: Get the specified sequence duration
  3663.  
  3664. Function: CBaseAnimating::SequenceHasMovement
  3665. Signature: bool CBaseAnimating::SequenceHasMovement(int)
  3666. Description: Checks if the specified sequence has movement
  3667.  
  3668. Function: CBaseAnimating::SequenceLoops
  3669. Signature: bool CBaseAnimating::SequenceLoops()
  3670. Description: Does the current sequence loop?
  3671.  
  3672. Function: CBaseAnimating::SetBodygroup
  3673. Signature: void CBaseAnimating::SetBodygroup(int, int)
  3674. Description: Sets a bodygroup
  3675.  
  3676. Function: CBaseAnimating::SetCycle
  3677. Signature: void CBaseAnimating::SetCycle(float)
  3678.  
  3679. Function: CBaseAnimating::SetGlowBlip
  3680. Signature: void CBaseAnimating::SetGlowBlip(bool)
  3681. Description: When true, this glow will show a 'blip' in the player compass.
  3682.  
  3683. Function: CBaseAnimating::SetGlowColor
  3684. Signature: void CBaseAnimating::SetGlowColor(int, int, int)
  3685. Description: Sets glow color, with RGB parameters.
  3686.  
  3687. Function: CBaseAnimating::SetGlowDistance
  3688. Signature: void CBaseAnimating::SetGlowDistance(float)
  3689. Description: Sets max. distance for a player to see the glow, in units. Use -1 for no limit.
  3690.  
  3691. Function: CBaseAnimating::SetGlowable
  3692. Signature: void CBaseAnimating::SetGlowable(bool)
  3693. Description: Sets the 'glowable' state. If you want to use glow properties and functions, you'll have to enable this first.
  3694.  
  3695. Function: CBaseAnimating::SetModelScale
  3696. Signature: void CBaseAnimating::SetModelScale(float, float)
  3697. Description: Changes model scale. Params: <scale> <change duration in seconds>
  3698.  
  3699. Function: CBaseAnimating::SetPlaybackRate
  3700. Signature: void CBaseAnimating::SetPlaybackRate(float)
  3701.  
  3702. Function: CBaseAnimating::SetPoseParameter
  3703. Signature: void CBaseAnimating::SetPoseParameter(string, float)
  3704. Description: Set the specified pose parameter to the specified value
  3705.  
  3706. Function: CBaseAnimating::SetSequence
  3707. Signature: void CBaseAnimating::SetSequence(int)
  3708. Description: Sets the current sequence
  3709.  
  3710. Function: CBaseAnimating::SetSkin
  3711. Signature: void CBaseAnimating::SetSkin(int)
  3712. Description: Sets the model's skin
  3713.  
  3714. Function: CBaseAnimating::StudioFrameAdvance
  3715. Signature: void CBaseAnimating::StudioFrameAdvance()
  3716.  
  3717. Function: CBaseCombatCharacter::BodyAngles
  3718. Signature: Vector CBaseCombatCharacter::BodyAngles()
  3719. Description: Get the body's angles.
  3720.  
  3721. Function: CBaseCombatCharacter::BodyDirection2D
  3722. Signature: Vector CBaseCombatCharacter::BodyDirection2D()
  3723. Description: Get the body's 2D direction.
  3724.  
  3725. Function: CBaseCombatCharacter::BodyDirection3D
  3726. Signature: Vector CBaseCombatCharacter::BodyDirection3D()
  3727. Description: Get the body's 3D direction.
  3728.  
  3729. Function: CBaseCombatCharacter::DoMuzzleFlash
  3730. Signature: void CBaseCombatCharacter::DoMuzzleFlash()
  3731. Description: Does a muzzle flash.
  3732.  
  3733. Function: CBaseCombatCharacter::DropAllWeapons
  3734. Signature: void CBaseCombatCharacter::DropAllWeapons(bool)
  3735. Description: Make the character drop all of its weapons.
  3736.  
  3737. Function: CBaseCombatCharacter::DropWeapon
  3738. Signature: void CBaseCombatCharacter::DropWeapon(handle)
  3739. Description: Make the character drop the specified weapon entity if they own it.
  3740.  
  3741. Function: CBaseCombatCharacter::EntInAimCone
  3742. Signature: bool CBaseCombatCharacter::EntInAimCone(handle)
  3743. Description: Check if the specified entity is in the character's aim cone.
  3744.  
  3745. Function: CBaseCombatCharacter::EntInViewCone
  3746. Signature: bool CBaseCombatCharacter::EntInViewCone(handle)
  3747. Description: Check if the specified entity is in the character's viewcone.
  3748.  
  3749. Function: CBaseCombatCharacter::EquipWeapon
  3750. Signature: void CBaseCombatCharacter::EquipWeapon(handle)
  3751. Description: Make the character equip the specified weapon entity. If they don't already own the weapon, they will acquire it instantly.
  3752.  
  3753. Function: CBaseCombatCharacter::EyeDirection2D
  3754. Signature: Vector CBaseCombatCharacter::EyeDirection2D()
  3755. Description: Get the eyes' 2D direction.
  3756.  
  3757. Function: CBaseCombatCharacter::EyeDirection3D
  3758. Signature: Vector CBaseCombatCharacter::EyeDirection3D()
  3759. Description: Get the eyes' 3D direction.
  3760.  
  3761. Function: CBaseCombatCharacter::FindWeapon
  3762. Signature: handle CBaseCombatCharacter::FindWeapon(string, int)
  3763. Description: Find a specific weapon in the character's inventory by its classname.
  3764.  
  3765. Function: CBaseCombatCharacter::GetActiveWeapon
  3766. Signature: handle CBaseCombatCharacter::GetActiveWeapon()
  3767. Description: Get the character's active weapon entity.
  3768.  
  3769. Function: CBaseCombatCharacter::GetAllWeapons
  3770. Signature: void CBaseCombatCharacter::GetAllWeapons(handle)
  3771. Description: Get the character's weapon inventory.
  3772.  
  3773. Function: CBaseCombatCharacter::GetAmmoCount
  3774. Signature: int CBaseCombatCharacter::GetAmmoCount(int)
  3775. Description: Get the ammo count of the specified ammo type.
  3776.  
  3777. Function: CBaseCombatCharacter::GetAttackSpread
  3778. Signature: Vector CBaseCombatCharacter::GetAttackSpread(handle, handle)
  3779. Description: Get the attack spread.
  3780.  
  3781. Function: CBaseCombatCharacter::GetCurrentWeaponProficiency
  3782. Signature: int CBaseCombatCharacter::GetCurrentWeaponProficiency()
  3783. Description: Get the character's current proficiency (accuracy) with their current weapon.
  3784.  
  3785. Function: CBaseCombatCharacter::GetRelationPriority
  3786. Signature: int CBaseCombatCharacter::GetRelationPriority(handle)
  3787. Description: Get a character's relationship priority for a specific entity.
  3788.  
  3789. Function: CBaseCombatCharacter::GetRelationship
  3790. Signature: int CBaseCombatCharacter::GetRelationship(handle)
  3791. Description: Get a character's relationship to a specific entity.
  3792.  
  3793. Function: CBaseCombatCharacter::GetSpreadBias
  3794. Signature: float CBaseCombatCharacter::GetSpreadBias(handle, handle)
  3795. Description: Get the spread bias.
  3796.  
  3797. Function: CBaseCombatCharacter::GetVehicleEntity
  3798. Signature: handle CBaseCombatCharacter::GetVehicleEntity()
  3799. Description: Get the entity for a character's current vehicle if they're in one.
  3800.  
  3801. Function: CBaseCombatCharacter::GetWeapon
  3802. Signature: handle CBaseCombatCharacter::GetWeapon(int)
  3803. Description: Get a specific weapon in the character's inventory.
  3804.  
  3805. Function: CBaseCombatCharacter::HeadDirection2D
  3806. Signature: Vector CBaseCombatCharacter::HeadDirection2D()
  3807. Description: Get the head's 2D direction.
  3808.  
  3809. Function: CBaseCombatCharacter::HeadDirection3D
  3810. Signature: Vector CBaseCombatCharacter::HeadDirection3D()
  3811. Description: Get the head's 3D direction.
  3812.  
  3813. Function: CBaseCombatCharacter::InAimCone
  3814. Signature: bool CBaseCombatCharacter::InAimCone(Vector)
  3815. Description: Check if the specified position is in the character's aim cone.
  3816.  
  3817. Function: CBaseCombatCharacter::InViewCone
  3818. Signature: bool CBaseCombatCharacter::InViewCone(Vector)
  3819. Description: Check if the specified position is in the character's viewcone.
  3820.  
  3821. Function: CBaseCombatCharacter::SetAmmoCount
  3822. Signature: void CBaseCombatCharacter::SetAmmoCount(int, int)
  3823. Description: Set the ammo count of the specified ammo type.
  3824.  
  3825. Function: CBaseCombatCharacter::SetRelationship
  3826. Signature: void CBaseCombatCharacter::SetRelationship(handle, int, int)
  3827. Description: Set a character's relationship with a specific entity.
  3828.  
  3829. Function: CBaseCombatCharacter::ShootPosition
  3830. Signature: Vector CBaseCombatCharacter::ShootPosition()
  3831. Description: Get the character's shoot position.
  3832.  
  3833. Function: CBaseCombatCharacter::WeaponCount
  3834. Signature: int CBaseCombatCharacter::WeaponCount()
  3835. Description: Get the number of weapons a character possesses.
  3836.  
  3837. Function: CBaseCombatWeapon::AddViewKick
  3838. Signature: void CBaseCombatWeapon::AddViewKick()
  3839. Description: Applies the weapon's view kick.
  3840.  
  3841. Function: CBaseCombatWeapon::AltFiresUnderwater
  3842. Signature: bool CBaseCombatWeapon::AltFiresUnderwater()
  3843. Description: Returns true if this weapon can alt-fire underwater.
  3844.  
  3845. Function: CBaseCombatWeapon::CanBePickedUpByNPCs
  3846. Signature: bool CBaseCombatWeapon::CanBePickedUpByNPCs()
  3847. Description: Check if the weapon can be picked up by NPCs.
  3848.  
  3849. Function: CBaseCombatWeapon::CapabilitiesGet
  3850. Signature: int CBaseCombatWeapon::CapabilitiesGet()
  3851. Description: Get the capabilities the weapon currently possesses.
  3852.  
  3853. Function: CBaseCombatWeapon::Clip1
  3854. Signature: int CBaseCombatWeapon::Clip1()
  3855. Description: Get the weapon's current primary ammo.
  3856.  
  3857. Function: CBaseCombatWeapon::Clip2
  3858. Signature: int CBaseCombatWeapon::Clip2()
  3859. Description: Get the weapon's current secondary ammo.
  3860.  
  3861. Function: CBaseCombatWeapon::FireDuration
  3862. Signature: float CBaseCombatWeapon::FireDuration()
  3863. Description: Returns the amount of time that the weapon has sustained firing.
  3864.  
  3865. Function: CBaseCombatWeapon::FiresUnderwater
  3866. Signature: bool CBaseCombatWeapon::FiresUnderwater()
  3867. Description: Returns true if this weapon can fire underwater.
  3868.  
  3869. Function: CBaseCombatWeapon::GetBulletSpread
  3870. Signature: Vector CBaseCombatWeapon::GetBulletSpread()
  3871. Description: Returns the weapon's default bullet spread.
  3872.  
  3873. Function: CBaseCombatWeapon::GetBulletSpreadForProficiency
  3874. Signature: Vector CBaseCombatWeapon::GetBulletSpreadForProficiency(int)
  3875. Description: Returns the weapon's bullet spread for the specified proficiency level.
  3876.  
  3877. Function: CBaseCombatWeapon::GetDefaultAnimSpeed
  3878. Signature: float CBaseCombatWeapon::GetDefaultAnimSpeed()
  3879. Description: Returns the weapon's default animation speed.
  3880.  
  3881. Function: CBaseCombatWeapon::GetDefaultClip1
  3882. Signature: int CBaseCombatWeapon::GetDefaultClip1()
  3883. Description: Get the weapon's default primary ammo.
  3884.  
  3885. Function: CBaseCombatWeapon::GetDefaultClip2
  3886. Signature: int CBaseCombatWeapon::GetDefaultClip2()
  3887. Description: Get the weapon's default secondary ammo.
  3888.  
  3889. Function: CBaseCombatWeapon::GetDrawActivity
  3890. Signature: int CBaseCombatWeapon::GetDrawActivity()
  3891. Description: Returns the weapon's draw activity.
  3892.  
  3893. Function: CBaseCombatWeapon::GetFireRate
  3894. Signature: float CBaseCombatWeapon::GetFireRate()
  3895. Description: Get the weapon's firing rate.
  3896.  
  3897. Function: CBaseCombatWeapon::GetMaxClip1
  3898. Signature: int CBaseCombatWeapon::GetMaxClip1()
  3899. Description: Get the weapon's maximum primary ammo.
  3900.  
  3901. Function: CBaseCombatWeapon::GetMaxClip2
  3902. Signature: int CBaseCombatWeapon::GetMaxClip2()
  3903. Description: Get the weapon's maximum secondary ammo.
  3904.  
  3905. Function: CBaseCombatWeapon::GetOwner
  3906. Signature: handle CBaseCombatWeapon::GetOwner()
  3907. Description: Get the weapon's owner.
  3908.  
  3909. Function: CBaseCombatWeapon::GetPrimaryAmmoType
  3910. Signature: int CBaseCombatWeapon::GetPrimaryAmmoType()
  3911. Description: Get the weapon's primary ammo type.
  3912.  
  3913. Function: CBaseCombatWeapon::GetPrimaryAttackActivity
  3914. Signature: int CBaseCombatWeapon::GetPrimaryAttackActivity()
  3915. Description: Returns the weapon's primary attack activity.
  3916.  
  3917. Function: CBaseCombatWeapon::GetPrintName
  3918. Signature: string CBaseCombatWeapon::GetPrintName()
  3919.  
  3920. Function: CBaseCombatWeapon::GetSecondaryAmmoType
  3921. Signature: int CBaseCombatWeapon::GetSecondaryAmmoType()
  3922. Description: Get the weapon's secondary ammo type.
  3923.  
  3924. Function: CBaseCombatWeapon::GetSecondaryAttackActivity
  3925. Signature: int CBaseCombatWeapon::GetSecondaryAttackActivity()
  3926. Description: Returns the weapon's secondary attack activity.
  3927.  
  3928. Function: CBaseCombatWeapon::GetSubType
  3929. Signature: int CBaseCombatWeapon::GetSubType()
  3930. Description: Get the weapon's subtype.
  3931.  
  3932. Function: CBaseCombatWeapon::GetViewModel
  3933. Signature: string CBaseCombatWeapon::GetViewModel(int)
  3934. Description: Get the weapon's view model.
  3935.  
  3936. Function: CBaseCombatWeapon::GetViewModelSequenceDuration
  3937. Signature: float CBaseCombatWeapon::GetViewModelSequenceDuration()
  3938. Description: Gets the sequence duration of the current view model animation.
  3939.  
  3940. Function: CBaseCombatWeapon::GetWeaponIdleTime
  3941. Signature: float CBaseCombatWeapon::GetWeaponIdleTime()
  3942. Description: Returns the next time WeaponIdle() will run.
  3943.  
  3944. Function: CBaseCombatWeapon::GetWeight
  3945. Signature: int CBaseCombatWeapon::GetWeight()
  3946. Description: Get the weapon's weight.
  3947.  
  3948. Function: CBaseCombatWeapon::GetWorldModel
  3949. Signature: string CBaseCombatWeapon::GetWorldModel()
  3950. Description: Get the weapon's world model.
  3951.  
  3952. Function: CBaseCombatWeapon::GiveDefaultAmmo
  3953. Signature: void CBaseCombatWeapon::GiveDefaultAmmo()
  3954. Description: Fill the weapon back up to default ammo.
  3955.  
  3956. Function: CBaseCombatWeapon::HasAnyAmmo
  3957. Signature: bool CBaseCombatWeapon::HasAnyAmmo()
  3958. Description: Check if the weapon currently has ammo or doesn't need ammo.
  3959.  
  3960. Function: CBaseCombatWeapon::HasPrimaryAmmo
  3961. Signature: bool CBaseCombatWeapon::HasPrimaryAmmo()
  3962. Description: Check if the weapon currently has ammo or doesn't need primary ammo.
  3963.  
  3964. Function: CBaseCombatWeapon::HasSecondaryAmmo
  3965. Signature: bool CBaseCombatWeapon::HasSecondaryAmmo()
  3966. Description: Check if the weapon currently has ammo or doesn't need secondary ammo.
  3967.  
  3968. Function: CBaseCombatWeapon::HasWeaponIdleTimeElapsed
  3969. Signature: bool CBaseCombatWeapon::HasWeaponIdleTimeElapsed()
  3970. Description: Returns true if the idle time has elapsed.
  3971.  
  3972. Function: CBaseCombatWeapon::IsViewModelSequenceFinished
  3973. Signature: bool CBaseCombatWeapon::IsViewModelSequenceFinished()
  3974. Description: Returns true if the current view model animation is finished.
  3975.  
  3976. Function: CBaseCombatWeapon::MinRange1
  3977. Signature: float CBaseCombatWeapon::MinRange1()
  3978. Description: Returns the closest this weapon can be used.
  3979.  
  3980. Function: CBaseCombatWeapon::MinRange2
  3981. Signature: float CBaseCombatWeapon::MinRange2()
  3982. Description: Returns the closest this weapon can be used.
  3983.  
  3984. Function: CBaseCombatWeapon::NextPrimaryAttack
  3985. Signature: float CBaseCombatWeapon::NextPrimaryAttack()
  3986. Description: Returns the next time PrimaryAttack() will run when the player is pressing +ATTACK.
  3987.  
  3988. Function: CBaseCombatWeapon::NextSecondaryAttack
  3989. Signature: float CBaseCombatWeapon::NextSecondaryAttack()
  3990. Description: Returns the next time SecondaryAttack() will run when the player is pressing +ATTACK2.
  3991.  
  3992. Function: CBaseCombatWeapon::ReloadsSingly
  3993. Signature: bool CBaseCombatWeapon::ReloadsSingly()
  3994. Description: Returns true if this weapon reloads 1 round at a time.
  3995.  
  3996. Function: CBaseCombatWeapon::SendWeaponAnim
  3997. Signature: bool CBaseCombatWeapon::SendWeaponAnim(int)
  3998. Description: Sends a weapon animation.
  3999.  
  4000. Function: CBaseCombatWeapon::SetAltFiresUnderwater
  4001. Signature: void CBaseCombatWeapon::SetAltFiresUnderwater(bool)
  4002. Description: Sets whether this weapon can alt-fire underwater.
  4003.  
  4004. Function: CBaseCombatWeapon::SetClip1
  4005. Signature: void CBaseCombatWeapon::SetClip1(int)
  4006. Description: Set the weapon's current primary ammo.
  4007.  
  4008. Function: CBaseCombatWeapon::SetClip2
  4009. Signature: void CBaseCombatWeapon::SetClip2(int)
  4010. Description: Set the weapon's current secondary ammo.
  4011.  
  4012. Function: CBaseCombatWeapon::SetFireDuration
  4013. Signature: void CBaseCombatWeapon::SetFireDuration(float)
  4014. Description: Sets the amount of time that the weapon has sustained firing.
  4015.  
  4016. Function: CBaseCombatWeapon::SetFiresUnderwater
  4017. Signature: void CBaseCombatWeapon::SetFiresUnderwater(bool)
  4018. Description: Sets whether this weapon can fire underwater.
  4019.  
  4020. Function: CBaseCombatWeapon::SetMinRange1
  4021. Signature: void CBaseCombatWeapon::SetMinRange1(float)
  4022. Description: Sets the closest this weapon can be used.
  4023.  
  4024. Function: CBaseCombatWeapon::SetMinRange2
  4025. Signature: void CBaseCombatWeapon::SetMinRange2(float)
  4026. Description: Sets the closest this weapon can be used.
  4027.  
  4028. Function: CBaseCombatWeapon::SetNextPrimaryAttack
  4029. Signature: void CBaseCombatWeapon::SetNextPrimaryAttack(float)
  4030. Description: Sets the next time PrimaryAttack() will run when the player is pressing +ATTACK.
  4031.  
  4032. Function: CBaseCombatWeapon::SetNextSecondaryAttack
  4033. Signature: void CBaseCombatWeapon::SetNextSecondaryAttack(float)
  4034. Description: Sets the next time SecondaryAttack() will run when the player is pressing +ATTACK2.
  4035.  
  4036. Function: CBaseCombatWeapon::SetOwner
  4037. Signature: void CBaseCombatWeapon::SetOwner(handle)
  4038. Description: Set the weapon's owner.
  4039.  
  4040. Function: CBaseCombatWeapon::SetReloadsSingly
  4041. Signature: void CBaseCombatWeapon::SetReloadsSingly(bool)
  4042. Description: Sets whether this weapon reloads 1 round at a time.
  4043.  
  4044. Function: CBaseCombatWeapon::SetSubType
  4045. Signature: void CBaseCombatWeapon::SetSubType(int)
  4046. Description: Set the weapon's subtype.
  4047.  
  4048. Function: CBaseCombatWeapon::SetWeaponIdleTime
  4049. Signature: void CBaseCombatWeapon::SetWeaponIdleTime(float)
  4050. Description: Sets the next time WeaponIdle() will run.
  4051.  
  4052. Function: CBaseCombatWeapon::UsesClipsForAmmo1
  4053. Signature: bool CBaseCombatWeapon::UsesClipsForAmmo1()
  4054. Description: Check if the weapon uses clips for primary ammo.
  4055.  
  4056. Function: CBaseCombatWeapon::UsesClipsForAmmo2
  4057. Signature: bool CBaseCombatWeapon::UsesClipsForAmmo2()
  4058. Description: Check if the weapon uses clips for secondary ammo.
  4059.  
  4060. Function: CBaseCombatWeapon::UsesPrimaryAmmo
  4061. Signature: bool CBaseCombatWeapon::UsesPrimaryAmmo()
  4062. Description: Check if the weapon uses primary ammo.
  4063.  
  4064. Function: CBaseCombatWeapon::UsesSecondaryAmmo
  4065. Signature: bool CBaseCombatWeapon::UsesSecondaryAmmo()
  4066. Description: Check if the weapon uses secondary ammo.
  4067.  
  4068. Function: CBaseCombatWeapon::WeaponSound
  4069. Signature: void CBaseCombatWeapon::WeaponSound(int, float)
  4070. Description: Plays one of the weapon's sounds.
  4071.  
  4072. Function: CBaseEntity::AcceptInput
  4073. Signature: bool CBaseEntity::AcceptInput(string, string, handle, handle)
  4074.  
  4075. Function: CBaseEntity::Activate
  4076. Signature: void CBaseEntity::Activate()
  4077.  
  4078. Function: CBaseEntity::AddEFlags
  4079. Signature: void CBaseEntity::AddEFlags(int)
  4080. Description: Add Eflags
  4081.  
  4082. Function: CBaseEntity::AddEffects
  4083. Signature: void CBaseEntity::AddEffects(int)
  4084. Description: Add effect(s)
  4085.  
  4086. Function: CBaseEntity::AddFlag
  4087. Signature: void CBaseEntity::AddFlag(int)
  4088. Description: Add flag
  4089.  
  4090. Function: CBaseEntity::AddOutput
  4091. Signature: bool CBaseEntity::AddOutput(string, string, string, string, float, int)
  4092. Description: Add an output
  4093.  
  4094. Function: CBaseEntity::AddSolidFlags
  4095. Signature: void CBaseEntity::AddSolidFlags(int)
  4096. Description: Add solid flags
  4097.  
  4098. Function: CBaseEntity::AddSpawnFlags
  4099. Signature: void CBaseEntity::AddSpawnFlags(int)
  4100. Description: Add spawnflag(s)
  4101.  
  4102. Function: CBaseEntity::ApplyAbsVelocityImpulse
  4103. Signature: void CBaseEntity::ApplyAbsVelocityImpulse(Vector)
  4104.  
  4105. Function: CBaseEntity::ApplyLocalAngularVelocityImpulse
  4106. Signature: void CBaseEntity::ApplyLocalAngularVelocityImpulse(Vector)
  4107.  
  4108. Function: CBaseEntity::BodyTarget
  4109. Signature: Vector CBaseEntity::BodyTarget(Vector, bool)
  4110.  
  4111. Function: CBaseEntity::Classify
  4112. Signature: int CBaseEntity::Classify()
  4113. Description: Get Class_T class ID (corresponds to the CLASS_ set of constants)
  4114.  
  4115. Function: CBaseEntity::ClearEffects
  4116. Signature: void CBaseEntity::ClearEffects()
  4117. Description: Clear effect(s)
  4118.  
  4119. Function: CBaseEntity::ClearSpawnFlags
  4120. Signature: void CBaseEntity::ClearSpawnFlags()
  4121. Description: Clear spawnflag(s)
  4122.  
  4123. Function: CBaseEntity::ConnectOutput
  4124. Signature: void CBaseEntity::ConnectOutput(string, string)
  4125. Description: Adds an I/O connection that will call the named function when the specified output fires
  4126.  
  4127. Function: CBaseEntity::Destroy
  4128. Signature: void CBaseEntity::Destroy()
  4129.  
  4130. Function: CBaseEntity::DisconnectOutput
  4131. Signature: void CBaseEntity::DisconnectOutput(string, string)
  4132. Description: Removes a connected script function from an I/O event.
  4133.  
  4134. Function: CBaseEntity::EmitSound
  4135. Signature: void CBaseEntity::EmitSound(string)
  4136. Description: Plays a sound from this entity.
  4137.  
  4138. Function: CBaseEntity::EntityToWorldTransform
  4139. Signature: handle CBaseEntity::EntityToWorldTransform()
  4140. Description: Get the entity's transform
  4141.  
  4142. Function: CBaseEntity::EyeAngles
  4143. Signature: Vector CBaseEntity::EyeAngles()
  4144. Description: Get eye pitch, yaw, roll as a vector
  4145.  
  4146. Function: CBaseEntity::EyePosition
  4147. Signature: Vector CBaseEntity::EyePosition()
  4148. Description: Get vector to eye position - absolute coords
  4149.  
  4150. Function: CBaseEntity::FireBullets
  4151. Signature: void CBaseEntity::FireBullets(handle)
  4152. Description: Fire bullets from entity with a given info handle
  4153.  
  4154. Function: CBaseEntity::FireOutput
  4155. Signature: void CBaseEntity::FireOutput(string, handle, handle, string, float)
  4156. Description: Fire an entity output
  4157.  
  4158. Function: CBaseEntity::FirstMoveChild
  4159. Signature: handle CBaseEntity::FirstMoveChild()
  4160.  
  4161. Function: CBaseEntity::FollowEntity
  4162. Signature: void CBaseEntity::FollowEntity(handle, bool)
  4163. Description: Begin following the specified entity. This makes this entity non-solid, parents it to the target entity, and teleports it to the specified entity's origin. The second parameter is whether or not to use bonemerging while following.
  4164.  
  4165. Function: CBaseEntity::GetAngles
  4166. Signature: Vector CBaseEntity::GetAngles()
  4167. Description: Get entity pitch, yaw, roll as a vector
  4168.  
  4169. Function: CBaseEntity::GetAngularVelocity
  4170. Signature: Vector CBaseEntity::GetAngularVelocity()
  4171. Description: Get the local angular velocity - returns a vector of pitch,yaw,roll
  4172.  
  4173. Function: CBaseEntity::GetBoundingMaxs
  4174. Signature: Vector CBaseEntity::GetBoundingMaxs()
  4175. Description: Get a vector containing max bounds, centered on object
  4176.  
  4177. Function: CBaseEntity::GetBoundingMins
  4178. Signature: Vector CBaseEntity::GetBoundingMins()
  4179. Description: Get a vector containing min bounds, centered on object
  4180.  
  4181. Function: CBaseEntity::GetCenter
  4182. Signature: Vector CBaseEntity::GetCenter()
  4183. Description: Get vector to center of object - absolute coords
  4184.  
  4185. Function: CBaseEntity::GetClassname
  4186. Signature: string CBaseEntity::GetClassname()
  4187.  
  4188. Function: CBaseEntity::GetCollisionGroup
  4189. Signature: int CBaseEntity::GetCollisionGroup()
  4190. Description: Get the collision group
  4191.  
  4192. Function: CBaseEntity::GetContextCount
  4193. Signature: int CBaseEntity::GetContextCount()
  4194. Description: Get the number of response contexts
  4195.  
  4196. Function: CBaseEntity::GetDebugName
  4197. Signature: string CBaseEntity::GetDebugName()
  4198. Description: If name exists returns name, otherwise returns classname
  4199.  
  4200. Function: CBaseEntity::GetEFlags
  4201. Signature: int CBaseEntity::GetEFlags()
  4202. Description: Get Eflags
  4203.  
  4204. Function: CBaseEntity::GetEffects
  4205. Signature: int CBaseEntity::GetEffects()
  4206. Description: Get effects
  4207.  
  4208. Function: CBaseEntity::GetFlags
  4209. Signature: int CBaseEntity::GetFlags()
  4210. Description: Get flags
  4211.  
  4212. Function: CBaseEntity::GetFollowedEntity
  4213. Signature: handle CBaseEntity::GetFollowedEntity()
  4214. Description: Get the entity we're following.
  4215.  
  4216. Function: CBaseEntity::GetForwardVector
  4217. Signature: Vector CBaseEntity::GetForwardVector()
  4218. Description: Get the forward vector of the entity
  4219.  
  4220. Function: CBaseEntity::GetFriction
  4221. Signature: float CBaseEntity::GetFriction()
  4222.  
  4223. Function: CBaseEntity::GetGravity
  4224. Signature: float CBaseEntity::GetGravity()
  4225.  
  4226. Function: CBaseEntity::GetGroundEntity
  4227. Signature: handle CBaseEntity::GetGroundEntity()
  4228. Description: Returns handle to ground entity.
  4229.  
  4230. Function: CBaseEntity::GetHealth
  4231. Signature: int CBaseEntity::GetHealth()
  4232.  
  4233. Function: CBaseEntity::GetKeyValue
  4234. Signature: string CBaseEntity::GetKeyValue(string)
  4235. Description: Get a keyvalue
  4236.  
  4237. Function: CBaseEntity::GetLocalAngles
  4238. Signature: Vector CBaseEntity::GetLocalAngles()
  4239. Description: GetLocalAngles
  4240.  
  4241. Function: CBaseEntity::GetLocalOrigin
  4242. Signature: Vector CBaseEntity::GetLocalOrigin()
  4243. Description: GetLocalOrigin
  4244.  
  4245. Function: CBaseEntity::GetMass
  4246. Signature: float CBaseEntity::GetMass()
  4247.  
  4248. Function: CBaseEntity::GetMaxHealth
  4249. Signature: int CBaseEntity::GetMaxHealth()
  4250.  
  4251. Function: CBaseEntity::GetMaxOutputDelay
  4252. Signature: float CBaseEntity::GetMaxOutputDelay(string)
  4253. Description: Get the longest delay for all events attached to an output
  4254.  
  4255. Function: CBaseEntity::GetModelKeyValues
  4256. Signature: handle CBaseEntity::GetModelKeyValues()
  4257. Description: Get a KeyValue class instance on this entity's model
  4258.  
  4259. Function: CBaseEntity::GetModelName
  4260. Signature: string CBaseEntity::GetModelName()
  4261. Description: Returns the name of the model
  4262.  
  4263. Function: CBaseEntity::GetMoveParent
  4264. Signature: handle CBaseEntity::GetMoveParent()
  4265. Description: If in hierarchy, retrieves the entity's parent
  4266.  
  4267. Function: CBaseEntity::GetMoveType
  4268. Signature: int CBaseEntity::GetMoveType()
  4269. Description: Get the move type
  4270.  
  4271. Function: CBaseEntity::GetName
  4272. Signature: string CBaseEntity::GetName()
  4273.  
  4274. Function: CBaseEntity::GetOrCreatePrivateScriptScope
  4275. Signature: handle CBaseEntity::GetOrCreatePrivateScriptScope()
  4276. Description: Create and retrieve the script-side data associated with an entity
  4277.  
  4278. Function: CBaseEntity::GetOrigin
  4279. Signature: Vector CBaseEntity::GetOrigin()
  4280.  
  4281. Function: CBaseEntity::GetOwner
  4282. Signature: handle CBaseEntity::GetOwner()
  4283. Description: Gets this entity's owner
  4284.  
  4285. Function: CBaseEntity::GetPhysicsObject
  4286. Signature: handle CBaseEntity::GetPhysicsObject()
  4287. Description: Get the entity's physics object if it has one
  4288.  
  4289. Function: CBaseEntity::GetPreTemplateName
  4290. Signature: string CBaseEntity::GetPreTemplateName()
  4291. Description: Get the entity name stripped of template unique decoration
  4292.  
  4293. Function: CBaseEntity::GetRenderAlpha
  4294. Signature: int CBaseEntity::GetRenderAlpha()
  4295. Description: Get the render color's alpha value
  4296.  
  4297. Function: CBaseEntity::GetRenderColorB
  4298. Signature: int CBaseEntity::GetRenderColorB()
  4299. Description: Get the render color's B value
  4300.  
  4301. Function: CBaseEntity::GetRenderColorG
  4302. Signature: int CBaseEntity::GetRenderColorG()
  4303. Description: Get the render color's G value
  4304.  
  4305. Function: CBaseEntity::GetRenderColorR
  4306. Signature: int CBaseEntity::GetRenderColorR()
  4307. Description: Get the render color's R value
  4308.  
  4309. Function: CBaseEntity::GetRenderColorVector
  4310. Signature: Vector CBaseEntity::GetRenderColorVector()
  4311. Description: Get the render color as a vector
  4312.  
  4313. Function: CBaseEntity::GetRenderMode
  4314. Signature: int CBaseEntity::GetRenderMode()
  4315. Description: Get render mode
  4316.  
  4317. Function: CBaseEntity::GetRightVector
  4318. Signature: Vector CBaseEntity::GetRightVector()
  4319. Description: Get the right vector of the entity
  4320.  
  4321. Function: CBaseEntity::GetRootMoveParent
  4322. Signature: handle CBaseEntity::GetRootMoveParent()
  4323. Description: If in hierarchy, walks up the hierarchy to find the root parent
  4324.  
  4325. Function: CBaseEntity::GetScriptId
  4326. Signature: string CBaseEntity::GetScriptId()
  4327. Description: Retrieve the unique identifier used to refer to the entity within the scripting system
  4328.  
  4329. Function: CBaseEntity::GetScriptScope
  4330. Signature: handle CBaseEntity::GetScriptScope()
  4331. Description: Retrieve the script-side data associated with an entity
  4332.  
  4333. Function: CBaseEntity::GetSolid
  4334. Signature: int CBaseEntity::GetSolid()
  4335.  
  4336. Function: CBaseEntity::GetSolidFlags
  4337. Signature: int CBaseEntity::GetSolidFlags()
  4338. Description: Get solid flags
  4339.  
  4340. Function: CBaseEntity::GetSoundDuration
  4341. Signature: float CBaseEntity::GetSoundDuration(string, string)
  4342. Description: Returns float duration of the sound. Takes soundname and optional actormodelname.
  4343.  
  4344. Function: CBaseEntity::GetSpawnFlags
  4345. Signature: int CBaseEntity::GetSpawnFlags()
  4346. Description: Get spawnflags
  4347.  
  4348. Function: CBaseEntity::GetTakeDamage
  4349. Signature: int CBaseEntity::GetTakeDamage()
  4350. Description: Gets this entity's m_takedamage value. (DAMAGE_YES, DAMAGE_NO, etc.)
  4351.  
  4352. Function: CBaseEntity::GetTeam
  4353. Signature: int CBaseEntity::GetTeam()
  4354.  
  4355. Function: CBaseEntity::GetTransmitState
  4356. Signature: int CBaseEntity::GetTransmitState()
  4357.  
  4358. Function: CBaseEntity::GetUpVector
  4359. Signature: Vector CBaseEntity::GetUpVector()
  4360. Description: Get the up vector of the entity
  4361.  
  4362. Function: CBaseEntity::GetVelocity
  4363. Signature: Vector CBaseEntity::GetVelocity()
  4364.  
  4365. Function: CBaseEntity::GetWaterLevel
  4366. Signature: int CBaseEntity::GetWaterLevel()
  4367. Description: Get current level of water submergence
  4368.  
  4369. Function: CBaseEntity::HasSpawnFlags
  4370. Signature: bool CBaseEntity::HasSpawnFlags(int)
  4371. Description: Check if the entity has specific spawnflag(s) ticked
  4372.  
  4373. Function: CBaseEntity::HeadTarget
  4374. Signature: Vector CBaseEntity::HeadTarget(Vector)
  4375.  
  4376. Function: CBaseEntity::IsAlive
  4377. Signature: bool CBaseEntity::IsAlive()
  4378. Description: Return true if this entity is alive
  4379.  
  4380. Function: CBaseEntity::IsCombatCharacter
  4381. Signature: bool CBaseEntity::IsCombatCharacter()
  4382. Description: Returns true if this entity is a combat character (player or NPC).
  4383.  
  4384. Function: CBaseEntity::IsEffectActive
  4385. Signature: bool CBaseEntity::IsEffectActive(int)
  4386. Description: Check if an effect is active
  4387.  
  4388. Function: CBaseEntity::IsEntVisible
  4389. Signature: bool CBaseEntity::IsEntVisible(handle)
  4390. Description: Check if the specified entity can be visible to this entity.
  4391.  
  4392. Function: CBaseEntity::IsFollowingEntity
  4393. Signature: bool CBaseEntity::IsFollowingEntity()
  4394. Description: Returns true if this entity is following another entity.
  4395.  
  4396. Function: CBaseEntity::IsNPC
  4397. Signature: bool CBaseEntity::IsNPC()
  4398. Description: Returns true if this entity is a NPC.
  4399.  
  4400. Function: CBaseEntity::IsPlayer
  4401. Signature: bool CBaseEntity::IsPlayer()
  4402. Description: Returns true if this entity is a player.
  4403.  
  4404. Function: CBaseEntity::IsVisible
  4405. Signature: bool CBaseEntity::IsVisible(Vector)
  4406. Description: Check if the specified position can be visible to this entity.
  4407.  
  4408. Function: CBaseEntity::IsVisibleWithMask
  4409. Signature: bool CBaseEntity::IsVisibleWithMask(Vector, int)
  4410. Description: Check if the specified position can be visible to this entity with a specific trace mask.
  4411.  
  4412. Function: CBaseEntity::IsWeapon
  4413. Signature: bool CBaseEntity::IsWeapon()
  4414. Description: Returns true if this entity is a weapon.
  4415.  
  4416. Function: CBaseEntity::IsWorld
  4417. Signature: bool CBaseEntity::IsWorld()
  4418. Description: Returns true if this entity is the world.
  4419.  
  4420. Function: CBaseEntity::KeyValueFromFloat
  4421. Signature: bool CBaseEntity::KeyValueFromFloat(string, float)
  4422. Description: Executes KeyValue with a float, same caveat from KeyValueFromString applies.
  4423.  
  4424. Function: CBaseEntity::KeyValueFromInt
  4425. Signature: bool CBaseEntity::KeyValueFromInt(string, int)
  4426. Description: Executes KeyValue with an int, same caveat from KeyValueFromString applies.
  4427.  
  4428. Function: CBaseEntity::KeyValueFromString
  4429. Signature: bool CBaseEntity::KeyValueFromString(string, string)
  4430. Description: Executes KeyValue with a string. Warning: Does not update the internal network state of the entity, which can result in any desired visual changes being delayed for clients if used after spawning. Netprops can be used instead which correctly updates the networking state and results in an immediate update.
  4431.  
  4432. Function: CBaseEntity::KeyValueFromVector
  4433. Signature: bool CBaseEntity::KeyValueFromVector(string, Vector)
  4434. Description: Executes KeyValue with a vector, same caveat from KeyValueFromString applies.
  4435.  
  4436. Function: CBaseEntity::NextMovePeer
  4437. Signature: handle CBaseEntity::NextMovePeer()
  4438.  
  4439. Function: CBaseEntity::PhysicsDestroyObject
  4440. Signature: void CBaseEntity::PhysicsDestroyObject()
  4441. Description: Destroys the entity's physics object
  4442.  
  4443. Function: CBaseEntity::PhysicsInitNormal
  4444. Signature: void CBaseEntity::PhysicsInitNormal(int, int, bool)
  4445. Description: Initializes the entity's physics object with the specified solid type, solid flags, and whether to start asleep
  4446.  
  4447. Function: CBaseEntity::PrecacheSoundScript
  4448. Signature: void CBaseEntity::PrecacheSoundScript(string)
  4449. Description: Precache a sound for later playing.
  4450.  
  4451. Function: CBaseEntity::RemoveEFlags
  4452. Signature: void CBaseEntity::RemoveEFlags(int)
  4453. Description: Remove Eflags
  4454.  
  4455. Function: CBaseEntity::RemoveEffects
  4456. Signature: void CBaseEntity::RemoveEffects(int)
  4457. Description: Remove effect(s)
  4458.  
  4459. Function: CBaseEntity::RemoveFlag
  4460. Signature: void CBaseEntity::RemoveFlag(int)
  4461. Description: Remove flag
  4462.  
  4463. Function: CBaseEntity::RemoveSolidFlags
  4464. Signature: void CBaseEntity::RemoveSolidFlags(int)
  4465. Description: Remove solid flags
  4466.  
  4467. Function: CBaseEntity::RemoveSpawnFlags
  4468. Signature: void CBaseEntity::RemoveSpawnFlags(int)
  4469. Description: Remove spawnflag(s)
  4470.  
  4471. Function: CBaseEntity::SetAbsAngles
  4472. Signature: void CBaseEntity::SetAbsAngles(Vector)
  4473. Description: SetAbsAngles
  4474.  
  4475. Function: CBaseEntity::SetAbsOrigin
  4476. Signature: void CBaseEntity::SetAbsOrigin(Vector)
  4477. Description: SetAbsOrigin
  4478.  
  4479. Function: CBaseEntity::SetAngles
  4480. Signature: void CBaseEntity::SetAngles(Vector)
  4481. Description: Set entity pitch, yaw, roll
  4482.  
  4483. Function: CBaseEntity::SetAngularVelocity
  4484. Signature: void CBaseEntity::SetAngularVelocity(float, float, float)
  4485. Description: Set the local angular velocity - takes float pitch,yaw,roll velocities
  4486.  
  4487. Function: CBaseEntity::SetCauser
  4488. Signature: void CBaseEntity::SetCauser(handle)
  4489. Description: Set who gets credit for a kill from this entity.
  4490.  
  4491. Function: CBaseEntity::SetClassname
  4492. Signature: void CBaseEntity::SetClassname(string)
  4493. Description: Replaces entity's classname. Very dangerous, use with care.
  4494.  
  4495. Function: CBaseEntity::SetCollisionGroup
  4496. Signature: void CBaseEntity::SetCollisionGroup(int)
  4497. Description: Set the collision group
  4498.  
  4499. Function: CBaseEntity::SetContextThink
  4500. Signature: void CBaseEntity::SetContextThink(string, handle, float)
  4501. Description: Set a think function on this entity.
  4502.  
  4503. Function: CBaseEntity::SetEffects
  4504. Signature: void CBaseEntity::SetEffects(int)
  4505. Description: Set effect(s)
  4506.  
  4507. Function: CBaseEntity::SetForwardVector
  4508. Signature: void CBaseEntity::SetForwardVector(Vector)
  4509. Description: Set the orientation of the entity to have this forward vector
  4510.  
  4511. Function: CBaseEntity::SetFriction
  4512. Signature: void CBaseEntity::SetFriction(float)
  4513.  
  4514. Function: CBaseEntity::SetGravity
  4515. Signature: void CBaseEntity::SetGravity(float)
  4516.  
  4517. Function: CBaseEntity::SetGroundEntity
  4518. Signature: void CBaseEntity::SetGroundEntity(handle)
  4519. Description: Sets ground entity by handle, pass null to clear it.
  4520.  
  4521. Function: CBaseEntity::SetHealth
  4522. Signature: void CBaseEntity::SetHealth(int)
  4523.  
  4524. Function: CBaseEntity::SetLocalAngles
  4525. Signature: void CBaseEntity::SetLocalAngles(Vector)
  4526. Description: SetLocalAngles
  4527.  
  4528. Function: CBaseEntity::SetLocalOrigin
  4529. Signature: void CBaseEntity::SetLocalOrigin(Vector)
  4530. Description: SetLocalOrigin
  4531.  
  4532. Function: CBaseEntity::SetMass
  4533. Signature: void CBaseEntity::SetMass(float)
  4534.  
  4535. Function: CBaseEntity::SetMaxHealth
  4536. Signature: void CBaseEntity::SetMaxHealth(int)
  4537.  
  4538. Function: CBaseEntity::SetModel
  4539. Signature: void CBaseEntity::SetModel(string)
  4540.  
  4541. Function: CBaseEntity::SetMoveType
  4542. Signature: void CBaseEntity::SetMoveType(int)
  4543. Description: Set the move type
  4544.  
  4545. Function: CBaseEntity::SetName
  4546. Signature: void CBaseEntity::SetName(string)
  4547.  
  4548. Function: CBaseEntity::SetOrigin
  4549. Signature: void CBaseEntity::SetOrigin(Vector)
  4550.  
  4551. Function: CBaseEntity::SetOriginAngles
  4552. Signature: void CBaseEntity::SetOriginAngles(Vector, Vector)
  4553. Description: Set both the origin and the angles
  4554.  
  4555. Function: CBaseEntity::SetOriginAnglesVelocity
  4556. Signature: void CBaseEntity::SetOriginAnglesVelocity(Vector, Vector, Vector)
  4557. Description: Set the origin, the angles, and the velocity
  4558.  
  4559. Function: CBaseEntity::SetOwner
  4560. Signature: void CBaseEntity::SetOwner(handle)
  4561. Description: Sets this entity's owner
  4562.  
  4563. Function: CBaseEntity::SetParent
  4564. Signature: void CBaseEntity::SetParent(handle, string)
  4565.  
  4566. Function: CBaseEntity::SetRenderAlpha
  4567. Signature: void CBaseEntity::SetRenderAlpha(int)
  4568. Description: Set the render color's alpha value
  4569.  
  4570. Function: CBaseEntity::SetRenderColor
  4571. Signature: void CBaseEntity::SetRenderColor(int, int, int)
  4572. Description: Set the render color
  4573.  
  4574. Function: CBaseEntity::SetRenderColorB
  4575. Signature: void CBaseEntity::SetRenderColorB(int)
  4576. Description: Set the render color's B value
  4577.  
  4578. Function: CBaseEntity::SetRenderColorG
  4579. Signature: void CBaseEntity::SetRenderColorG(int)
  4580. Description: Set the render color's G value
  4581.  
  4582. Function: CBaseEntity::SetRenderColorR
  4583. Signature: void CBaseEntity::SetRenderColorR(int)
  4584. Description: Set the render color's R value
  4585.  
  4586. Function: CBaseEntity::SetRenderColorVector
  4587. Signature: void CBaseEntity::SetRenderColorVector(Vector)
  4588. Description: Set the render color as a vector
  4589.  
  4590. Function: CBaseEntity::SetRenderMode
  4591. Signature: void CBaseEntity::SetRenderMode(int)
  4592. Description: Set render mode
  4593.  
  4594. Function: CBaseEntity::SetSize
  4595. Signature: void CBaseEntity::SetSize(Vector, Vector)
  4596.  
  4597. Function: CBaseEntity::SetSolid
  4598. Signature: void CBaseEntity::SetSolid(int)
  4599.  
  4600. Function: CBaseEntity::SetTakeDamage
  4601. Signature: void CBaseEntity::SetTakeDamage(int)
  4602. Description: Sets this entity's m_takedamage value. (DAMAGE_YES, DAMAGE_NO, etc.)
  4603.  
  4604. Function: CBaseEntity::SetTeam
  4605. Signature: void CBaseEntity::SetTeam(int)
  4606.  
  4607. Function: CBaseEntity::SetThink
  4608. Signature: void CBaseEntity::SetThink(handle, float)
  4609.  
  4610. Function: CBaseEntity::SetThinkFunction
  4611. Signature: void CBaseEntity::SetThinkFunction(string, float)
  4612.  
  4613. Function: CBaseEntity::SetTransmitState
  4614. Signature: int CBaseEntity::SetTransmitState(int)
  4615.  
  4616. Function: CBaseEntity::SetVelocity
  4617. Signature: void CBaseEntity::SetVelocity(Vector)
  4618.  
  4619. Function: CBaseEntity::StopFollowingEntity
  4620. Signature: void CBaseEntity::StopFollowingEntity()
  4621. Description: Stops following an entity if we're following one.
  4622.  
  4623. Function: CBaseEntity::StopSound
  4624. Signature: void CBaseEntity::StopSound(string)
  4625. Description: Stops a sound from this entity.
  4626.  
  4627. Function: CBaseEntity::StopThink
  4628. Signature: void CBaseEntity::StopThink()
  4629.  
  4630. Function: CBaseEntity::StopThinkFunction
  4631. Signature: void CBaseEntity::StopThinkFunction()
  4632.  
  4633. Function: CBaseEntity::TakeDamage
  4634. Signature: int CBaseEntity::TakeDamage(handle)
  4635. Description: Apply damage to this entity with a given info handle
  4636.  
  4637. Function: CBaseEntity::TakeHealth
  4638. Signature: int CBaseEntity::TakeHealth(float, int)
  4639. Description: Give this entity health
  4640.  
  4641. Function: CBaseEntity::ValidateScriptScope
  4642. Signature: bool CBaseEntity::ValidateScriptScope()
  4643. Description: Ensure that an entity's script scope has been created
  4644.  
  4645. Function: CBaseEntity::entindex
  4646. Signature: int CBaseEntity::entindex()
  4647.  
  4648. Function: CBaseFilter::PassesDamageFilter
  4649. Signature: bool CBaseFilter::PassesDamageFilter(handle, handle)
  4650. Description: Check if the given caller and damage info pass the damage filter, with the second parameter being a CTakeDamageInfo instance. The caller is the one who requests the filter result; For example, the entity being damaged when using this as a damage filter.
  4651.  
  4652. Function: CBaseFilter::PassesFilter
  4653. Signature: bool CBaseFilter::PassesFilter(handle, handle)
  4654. Description: Check if the given caller and entity pass the filter. The caller is the one who requests the filter result; For example, the entity being damaged when using this as a damage filter.
  4655.  
  4656. Function: CBaseFlex::GetCurrentScene
  4657. Signature: handle CBaseFlex::GetCurrentScene()
  4658. Description: Returns the instance of the oldest active scene entity (if any).
  4659.  
  4660. Function: CBaseFlex::GetSceneByIndex
  4661. Signature: handle CBaseFlex::GetSceneByIndex(int)
  4662. Description: Returns the instance of the scene entity at the specified index.
  4663.  
  4664. Function: CBasePlayer::CanPickupObject
  4665. Signature: bool CBasePlayer::CanPickupObject(handle, float, float)
  4666. Description: Can player pick up this entity? With float parameters for mass limit, and size limit.
  4667.  
  4668. Function: CBasePlayer::DeathCount
  4669. Signature: int CBasePlayer::DeathCount()
  4670. Description: Gets the number of deaths this player has had in a multiplayer game.
  4671.  
  4672. Function: CBasePlayer::DisableButtons
  4673. Signature: void CBasePlayer::DisableButtons(int)
  4674. Description: Disables the specified button mask.
  4675.  
  4676. Function: CBasePlayer::EnableButtons
  4677. Signature: void CBasePlayer::EnableButtons(int)
  4678. Description: Enables the specified button mask if it was disabled before.
  4679.  
  4680. Function: CBasePlayer::FlashlightIsOn
  4681. Signature: int CBasePlayer::FlashlightIsOn()
  4682. Description: Returns true if the flashlight is on.
  4683.  
  4684. Function: CBasePlayer::FlashlightTurnOff
  4685. Signature: void CBasePlayer::FlashlightTurnOff()
  4686. Description: Turns off the flashlight.
  4687.  
  4688. Function: CBasePlayer::FlashlightTurnOn
  4689. Signature: void CBasePlayer::FlashlightTurnOn()
  4690. Description: Turns on the flashlight.
  4691.  
  4692. Function: CBasePlayer::ForceButtons
  4693. Signature: void CBasePlayer::ForceButtons(int)
  4694. Description: Forces the specified button mask.
  4695.  
  4696. Function: CBasePlayer::FragCount
  4697. Signature: int CBasePlayer::FragCount()
  4698. Description: Gets the number of frags (kills) this player has in a multiplayer game.
  4699.  
  4700. Function: CBasePlayer::GetArmor
  4701. Signature: int CBasePlayer::GetArmor()
  4702. Description: Gets the player's armor.
  4703.  
  4704. Function: CBasePlayer::GetAutoaimVector
  4705. Signature: Vector CBasePlayer::GetAutoaimVector(float)
  4706. Description: Gets the player's autoaim shooting direction with the specified scale.
  4707.  
  4708. Function: CBasePlayer::GetAutoaimVectorCustomMaxDist
  4709. Signature: Vector CBasePlayer::GetAutoaimVectorCustomMaxDist(float, float)
  4710. Description: Gets the player's autoaim shooting direction with the specified scale and a custom max distance.
  4711.  
  4712. Function: CBasePlayer::GetButtonDisabled
  4713. Signature: int CBasePlayer::GetButtonDisabled()
  4714. Description: Gets the player's currently unusable buttons.
  4715.  
  4716. Function: CBasePlayer::GetButtonForced
  4717. Signature: int CBasePlayer::GetButtonForced()
  4718. Description: Gets the player's currently forced buttons.
  4719.  
  4720. Function: CBasePlayer::GetButtonLast
  4721. Signature: int CBasePlayer::GetButtonLast()
  4722. Description: Gets the player's previously active buttons.
  4723.  
  4724. Function: CBasePlayer::GetButtonPressed
  4725. Signature: int CBasePlayer::GetButtonPressed()
  4726. Description: Gets the player's currently pressed buttons.
  4727.  
  4728. Function: CBasePlayer::GetButtonReleased
  4729. Signature: int CBasePlayer::GetButtonReleased()
  4730. Description: Gets the player's just-released buttons.
  4731.  
  4732. Function: CBasePlayer::GetButtons
  4733. Signature: int CBasePlayer::GetButtons()
  4734. Description: Gets the player's active buttons.
  4735.  
  4736. Function: CBasePlayer::GetExpresser
  4737. Signature: handle CBasePlayer::GetExpresser()
  4738. Description: Gets a handle for this player's expresser.
  4739.  
  4740. Function: CBasePlayer::GetEyeForward
  4741. Signature: Vector CBasePlayer::GetEyeForward()
  4742. Description: Gets the player's forward eye vector.
  4743.  
  4744. Function: CBasePlayer::GetEyeRight
  4745. Signature: Vector CBasePlayer::GetEyeRight()
  4746. Description: Gets the player's right eye vector.
  4747.  
  4748. Function: CBasePlayer::GetEyeUp
  4749. Signature: Vector CBasePlayer::GetEyeUp()
  4750. Description: Gets the player's up eye vector.
  4751.  
  4752. Function: CBasePlayer::GetFOV
  4753. Signature: int CBasePlayer::GetFOV()
  4754.  
  4755. Function: CBasePlayer::GetFOVOwner
  4756. Signature: handle CBasePlayer::GetFOVOwner()
  4757. Description: Gets current view owner.
  4758.  
  4759. Function: CBasePlayer::GetNetworkIDString
  4760. Signature: string CBasePlayer::GetNetworkIDString()
  4761. Description: Gets the player's network (i.e. Steam) ID.
  4762.  
  4763. Function: CBasePlayer::GetPlayerName
  4764. Signature: string CBasePlayer::GetPlayerName()
  4765. Description: Gets the player's name.
  4766.  
  4767. Function: CBasePlayer::GetUserID
  4768. Signature: int CBasePlayer::GetUserID()
  4769. Description: Gets the player's user ID.
  4770.  
  4771. Function: CBasePlayer::IsConnected
  4772. Signature: bool CBasePlayer::IsConnected()
  4773. Description: Returns true if this player is connected.
  4774.  
  4775. Function: CBasePlayer::IsDisconnecting
  4776. Signature: bool CBasePlayer::IsDisconnecting()
  4777. Description: Returns true if this player is disconnecting.
  4778.  
  4779. Function: CBasePlayer::IsNoclipping
  4780. Signature: bool CBasePlayer::IsNoclipping()
  4781. Description: Returns true if the player is in noclip mode.
  4782.  
  4783. Function: CBasePlayer::IsSuitEquipped
  4784. Signature: bool CBasePlayer::IsSuitEquipped()
  4785. Description: Returns true if this player had the HEV suit equipped.
  4786.  
  4787. Function: CBasePlayer::SetArmor
  4788. Signature: void CBasePlayer::SetArmor(int)
  4789. Description: Sets the player's armor.
  4790.  
  4791. Function: CBasePlayer::SetFOV
  4792. Signature: void CBasePlayer::SetFOV(int, float)
  4793. Description: Sets player FOV regardless of view owner.
  4794.  
  4795. Function: CBasePlayer::SetMuzzleFlashTime
  4796. Signature: void CBasePlayer::SetMuzzleFlashTime(float)
  4797. Description: Sets the player's muzzle flash time for AI.
  4798.  
  4799. Function: CBasePlayer::SetSuitUpdate
  4800. Signature: void CBasePlayer::SetSuitUpdate(string, int, int)
  4801. Description: Sets an update for the player's HEV suit.
  4802.  
  4803. Function: CBasePlayer::ShouldAutoaim
  4804. Signature: bool CBasePlayer::ShouldAutoaim()
  4805. Description: Returns true if the player should be autoaiming.
  4806.  
  4807. Function: CBasePlayer::UnforceButtons
  4808. Signature: void CBasePlayer::UnforceButtons(int)
  4809. Description: Unforces the specified button mask if it was forced before.
  4810.  
  4811. Function: CBasePlayer::ViewPunch
  4812. Signature: void CBasePlayer::ViewPunch(Vector)
  4813. Description: Punches the player's view with the specified vector.
  4814.  
  4815. Function: CConvars::GetBool
  4816. Signature: bool CConvars::GetBool(string)
  4817. Description: Returns the convar as a bool. May return null if no such convar.
  4818.  
  4819. Function: CConvars::GetClientConvarValue
  4820. Signature: CConvars::GetClientConvarValue(string, int)
  4821. Description: Returns the convar value for the entindex as a string. Only works with client convars with the FCVAR_USERINFO flag.
  4822.  
  4823. Function: CConvars::GetCommandClient
  4824. Signature: handle CConvars::GetCommandClient()
  4825. Description: returns the player who issued this console command.
  4826.  
  4827. Function: CConvars::GetDefaultValue
  4828. Signature: string CConvars::GetDefaultValue(string)
  4829. Description: Returns the convar's default value as a string. May return null if no such convar.
  4830.  
  4831. Function: CConvars::GetFloat
  4832. Signature: float CConvars::GetFloat(string)
  4833. Description: Returns the convar as a float. May return null if no such convar.
  4834.  
  4835. Function: CConvars::GetInt
  4836. Signature: int CConvars::GetInt(string)
  4837. Description: Returns the convar as an int. May return null if no such convar.
  4838.  
  4839. Function: CConvars::GetStr
  4840. Signature: string CConvars::GetStr(string)
  4841. Description: Returns the convar as a string. May return null if no such convar.
  4842.  
  4843. Function: CConvars::IsFlagSet
  4844. Signature: bool CConvars::IsFlagSet(string, int)
  4845. Description: Returns the convar's flags. May return null if no such convar.
  4846.  
  4847. Function: CConvars::RegisterAdminCommand
  4848. Signature: void CConvars::RegisterAdminCommand(string, handle, string, int)
  4849. Description: Registers an admin command, only server admins are able to execute it. Otherwise identical to RegisterCommand. Usage: RegisterAdminCommand(<name>, <callback function>, <description>, <flags>)
  4850.  
  4851. Function: CConvars::RegisterCommand
  4852. Signature: void CConvars::RegisterCommand(string, handle, string, int)
  4853. Description: Registers a console command. For callback, args will be mirrored as function params (e.g. Callback(name, arg1, arg2, ...)) Usage: RegisterCommand(<name>, <callback function>, <description>, <flags>)
  4854.  
  4855. Function: CConvars::RegisterConvar
  4856. Signature: void CConvars::RegisterConvar(string, string, string, int)
  4857. Description: Registers a new console variable. Usage: RegisterConvar(<name>, <default value>, <description>, <flags>)
  4858.  
  4859. Function: CConvars::SetBool
  4860. Signature: void CConvars::SetBool(string, bool)
  4861. Description: Sets the value of the convar as a bool.
  4862.  
  4863. Function: CConvars::SetChangeCallback
  4864. Signature: void CConvars::SetChangeCallback(string, handle)
  4865. Description: callback is called with 5 parameters (var, szOldValue, flOldValue, szNewValue, flNewValue)
  4866.  
  4867. Function: CConvars::SetCompletionCallback
  4868. Signature: void CConvars::SetCompletionCallback(string, handle)
  4869. Description: callback is called with 3 parameters (cmd, partial, commands), user strings must be appended to 'commands' array
  4870.  
  4871. Function: CConvars::SetFloat
  4872. Signature: void CConvars::SetFloat(string, float)
  4873. Description: Sets the value of the convar as a float.
  4874.  
  4875. Function: CConvars::SetInt
  4876. Signature: void CConvars::SetInt(string, int)
  4877. Description: Sets the value of the convar as an int.
  4878.  
  4879. Function: CConvars::SetStr
  4880. Signature: void CConvars::SetStr(string, string)
  4881. Description: Sets the value of the convar as a string.
  4882.  
  4883. Function: CConvars::UnregisterCommand
  4884. Signature: void CConvars::UnregisterCommand(string)
  4885. Description: unregister a console command.
  4886.  
  4887. Function: CDebugOverlayScriptHelper::Axis
  4888. Signature: void CDebugOverlayScriptHelper::Axis(Vector, Vector, float, bool, float)
  4889. Description: Draws an axis. Specify origin + orientation in world space.
  4890.  
  4891. Function: CDebugOverlayScriptHelper::Box
  4892. Signature: void CDebugOverlayScriptHelper::Box(Vector, Vector, Vector, int, int, int, int, float)
  4893. Description: Draws a world-space axis-aligned box. Specify bounds in world space.
  4894.  
  4895. Function: CDebugOverlayScriptHelper::BoxAngles
  4896. Signature: void CDebugOverlayScriptHelper::BoxAngles(Vector, Vector, Vector, Vector, int, int, int, int, float)
  4897. Description: Draws an oriented box at the origin. Specify bounds in local space.
  4898.  
  4899. Function: CDebugOverlayScriptHelper::BoxDirection
  4900. Signature: void CDebugOverlayScriptHelper::BoxDirection(Vector, Vector, Vector, Vector, int, int, int, int, float)
  4901. Description: Draw box oriented to a Vector direction
  4902.  
  4903. Function: CDebugOverlayScriptHelper::Circle
  4904. Signature: void CDebugOverlayScriptHelper::Circle(Vector, Vector, Vector, float, int, int, int, int, bool, float)
  4905. Description: Draws a circle. Specify center in world space.
  4906.  
  4907. Function: CDebugOverlayScriptHelper::CircleOriented
  4908. Signature: void CDebugOverlayScriptHelper::CircleOriented(Vector, Vector, float, int, int, int, int, bool, float)
  4909. Description: Draws a circle oriented. Specify center in world space.
  4910.  
  4911. Function: CDebugOverlayScriptHelper::ClearAllOverlays
  4912. Signature: void CDebugOverlayScriptHelper::ClearAllOverlays()
  4913. Description: Clear all debug overlays at once
  4914.  
  4915. Function: CDebugOverlayScriptHelper::Cross3D
  4916. Signature: void CDebugOverlayScriptHelper::Cross3D(Vector, float, int, int, int, bool, float)
  4917. Description: Draws a world-aligned cross. Specify origin in world space.
  4918.  
  4919. Function: CDebugOverlayScriptHelper::Cross3DOriented
  4920. Signature: void CDebugOverlayScriptHelper::Cross3DOriented(Vector, Vector, float, int, int, int, bool, float)
  4921. Description: Draws an oriented cross. Specify origin in world space.
  4922.  
  4923. Function: CDebugOverlayScriptHelper::DrawTickMarkedLine
  4924. Signature: void CDebugOverlayScriptHelper::DrawTickMarkedLine(Vector, Vector, float, int, int, int, int, bool, float)
  4925. Description: Draws a dashed line. Specify endpoints in world space.
  4926.  
  4927. Function: CDebugOverlayScriptHelper::EntityBounds
  4928. Signature: void CDebugOverlayScriptHelper::EntityBounds(handle, int, int, int, int, float)
  4929. Description: Draws bounds of an entity
  4930.  
  4931. Function: CDebugOverlayScriptHelper::EntityText
  4932. Signature: void CDebugOverlayScriptHelper::EntityText(int, int, string, float, int, int, int, int)
  4933. Description: Draws text on an entity
  4934.  
  4935. Function: CDebugOverlayScriptHelper::EntityTextAtPosition
  4936. Signature: void CDebugOverlayScriptHelper::EntityTextAtPosition(Vector, int, string, float, int, int, int, int)
  4937. Description: Draw entity text overlay at a specific position
  4938.  
  4939. Function: CDebugOverlayScriptHelper::Grid
  4940. Signature: void CDebugOverlayScriptHelper::Grid(Vector)
  4941. Description: Add grid overlay
  4942.  
  4943. Function: CDebugOverlayScriptHelper::HorzArrow
  4944. Signature: void CDebugOverlayScriptHelper::HorzArrow(Vector, Vector, float, int, int, int, int, bool, float)
  4945. Description: Draws a horizontal arrow. Specify endpoints in world space.
  4946.  
  4947. Function: CDebugOverlayScriptHelper::Line
  4948. Signature: void CDebugOverlayScriptHelper::Line(Vector, Vector, int, int, int, bool, float)
  4949. Description: Draws a line between two points
  4950.  
  4951. Function: CDebugOverlayScriptHelper::ScreenText
  4952. Signature: void CDebugOverlayScriptHelper::ScreenText(float, float, string, int, int, int, int, float)
  4953. Description: Draws 2D text. Specify coordinates in screen space.
  4954.  
  4955. Function: CDebugOverlayScriptHelper::SetDebugBits
  4956. Signature: void CDebugOverlayScriptHelper::SetDebugBits(handle, int)
  4957. Description: Set debug bits on entity
  4958.  
  4959. Function: CDebugOverlayScriptHelper::Sphere
  4960. Signature: void CDebugOverlayScriptHelper::Sphere(Vector, float, int, int, int, bool, float)
  4961. Description: Draws a wireframe sphere. Specify center in world space.
  4962.  
  4963. Function: CDebugOverlayScriptHelper::SweptBox
  4964. Signature: void CDebugOverlayScriptHelper::SweptBox(Vector, Vector, Vector, Vector, Vector, int, int, int, int, float)
  4965. Description: Draws a swept box. Specify endpoints in world space and the bounds in local space.
  4966.  
  4967. Function: CDebugOverlayScriptHelper::Text
  4968. Signature: void CDebugOverlayScriptHelper::Text(Vector, string, float)
  4969. Description: Draws 2D text. Specify origin in world space.
  4970.  
  4971. Function: CDebugOverlayScriptHelper::Triangle
  4972. Signature: void CDebugOverlayScriptHelper::Triangle(Vector, Vector, Vector, int, int, int, int, bool, float)
  4973. Description: Draws a filled triangle. Specify vertices in world space.
  4974.  
  4975. Function: CDebugOverlayScriptHelper::VertArrow
  4976. Signature: void CDebugOverlayScriptHelper::VertArrow(Vector, Vector, float, int, int, int, int, bool, float)
  4977. Description: Draws a vertical arrow. Specify endpoints in world space.
  4978.  
  4979. Function: CDebugOverlayScriptHelper::YawArrow
  4980. Signature: void CDebugOverlayScriptHelper::YawArrow(Vector, float, float, float, int, int, int, int, bool, float)
  4981. Description: Draws a arrow associated with a specific yaw. Specify endpoints in world space.
  4982.  
  4983. Function: CEntities::CreateByClassname
  4984. Signature: handle CEntities::CreateByClassname(string)
  4985. Description: Creates an entity by classname
  4986.  
  4987. Function: CEntities::FindByClassNearestFacing
  4988. Signature: handle CEntities::FindByClassNearestFacing(Vector, Vector, float, string)
  4989. Description: Find the nearest entity along the facing direction from the given origin within the angular threshold with the given classname.
  4990.  
  4991. Function: CEntities::FindByClassname
  4992. Signature: handle CEntities::FindByClassname(handle, string)
  4993. Description: Find entities by class name. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  4994.  
  4995. Function: CEntities::FindByClassnameNearest
  4996. Signature: handle CEntities::FindByClassnameNearest(string, Vector, float)
  4997. Description: Find entities by class name nearest to a point.
  4998.  
  4999. Function: CEntities::FindByClassnameWithin
  5000. Signature: handle CEntities::FindByClassnameWithin(handle, string, Vector, float)
  5001. Description: Find entities by class name within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  5002.  
  5003. Function: CEntities::FindByClassnameWithinBox
  5004. Signature: handle CEntities::FindByClassnameWithinBox(handle, string, Vector, Vector)
  5005. Description: Find entities by class name within an AABB. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  5006.  
  5007. Function: CEntities::FindByModel
  5008. Signature: handle CEntities::FindByModel(handle, string)
  5009. Description: Find entities by model name. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  5010.  
  5011. Function: CEntities::FindByName
  5012. Signature: handle CEntities::FindByName(handle, string)
  5013. Description: Find entities by name. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  5014.  
  5015. Function: CEntities::FindByNameNearest
  5016. Signature: handle CEntities::FindByNameNearest(string, Vector, float)
  5017. Description: Find entities by name nearest to a point.
  5018.  
  5019. Function: CEntities::FindByNameWithin
  5020. Signature: handle CEntities::FindByNameWithin(handle, string, Vector, float)
  5021. Description: Find entities by name within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  5022.  
  5023. Function: CEntities::FindByTarget
  5024. Signature: handle CEntities::FindByTarget(handle, string)
  5025. Description: Find entities by targetname. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  5026.  
  5027. Function: CEntities::FindInSphere
  5028. Signature: handle CEntities::FindInSphere(handle, Vector, float)
  5029. Description: Find entities within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  5030.  
  5031. Function: CEntities::First
  5032. Signature: handle CEntities::First()
  5033. Description: Begin an iteration over the list of entities
  5034.  
  5035. Function: CEntities::Next
  5036. Signature: handle CEntities::Next(handle)
  5037. Description: Continue an iteration over the list of entities, providing reference to a previously found entity
  5038.  
  5039. Function: CEnvEntityMaker::SpawnEntity
  5040. Signature: void CEnvEntityMaker::SpawnEntity()
  5041. Description: Create an entity at the location of the maker
  5042.  
  5043. Function: CEnvEntityMaker::SpawnEntityAtEntityOrigin
  5044. Signature: void CEnvEntityMaker::SpawnEntityAtEntityOrigin(handle)
  5045. Description: Create an entity at the location of a specified entity instance
  5046.  
  5047. Function: CEnvEntityMaker::SpawnEntityAtLocation
  5048. Signature: void CEnvEntityMaker::SpawnEntityAtLocation(Vector, Vector)
  5049. Description: Create an entity at a specified location and orientaton, orientation is Euler angle in degrees (pitch, yaw, roll)
  5050.  
  5051. Function: CEnvEntityMaker::SpawnEntityAtNamedEntityOrigin
  5052. Signature: void CEnvEntityMaker::SpawnEntityAtNamedEntityOrigin(string)
  5053. Description: Create an entity at the location of a named entity
  5054.  
  5055. Function: CEnvScreenOverlayMultiplayer::StartOverlay
  5056. Signature: void CEnvScreenOverlayMultiplayer::StartOverlay(handle)
  5057. Description: Starts displaying the first overlay for the given player.
  5058.  
  5059. Function: CEnvScreenOverlayMultiplayer::StartOverlayForAllPlayers
  5060. Signature: void CEnvScreenOverlayMultiplayer::StartOverlayForAllPlayers()
  5061. Description: Starts displaying the first overlay for all players.
  5062.  
  5063. Function: CEnvScreenOverlayMultiplayer::StopOverlay
  5064. Signature: void CEnvScreenOverlayMultiplayer::StopOverlay(handle)
  5065. Description: Stops displaying any overlays for the given player.
  5066.  
  5067. Function: CEnvScreenOverlayMultiplayer::StopOverlayForAllPlayers
  5068. Signature: void CEnvScreenOverlayMultiplayer::StopOverlayForAllPlayers()
  5069. Description: Stops displaying any overlays for all players.
  5070.  
  5071. Function: CEnvScreenOverlayMultiplayer::SwitchOverlay
  5072. Signature: void CEnvScreenOverlayMultiplayer::SwitchOverlay(handle, int)
  5073. Description: Switches to displaying a specific overlay. Pass in the desired player and overlay number.
  5074.  
  5075. Function: CEnvScreenOverlayMultiplayer::SwitchOverlayForAllPlayers
  5076. Signature: void CEnvScreenOverlayMultiplayer::SwitchOverlayForAllPlayers(int)
  5077. Description: Switches to displaying a specific overlay for all players. Pass in the desired overlay number.
  5078.  
  5079. Function: CEnvTimer::AddTargetTime
  5080. Signature: void CEnvTimer::AddTargetTime(float)
  5081. Description: Adds a target time, with parameter in seconds. Once met, output OnTargetTime will be fired. You can have multiple.
  5082.  
  5083. Function: CEnvTimer::HideTimer
  5084. Signature: void CEnvTimer::HideTimer()
  5085. Description: Stops displaying the timer.
  5086.  
  5087. Function: CEnvTimer::SetBroadcast
  5088. Signature: void CEnvTimer::SetBroadcast(bool)
  5089. Description: When true, display the timer to all players, and not only the activator.
  5090.  
  5091. Function: CEnvTimer::SetCountdown
  5092. Signature: void CEnvTimer::SetCountdown(bool)
  5093. Description: When true, this timer will count down.
  5094.  
  5095. Function: CEnvTimer::SetResolution
  5096. Signature: void CEnvTimer::SetResolution(int)
  5097. Description: Sets timer resolution. Available values are; 0 - mm:ss, 1 - mm:ss.cs, 2 - hh:mm, 3 - hh:mm:ss, 4 - hh:mm:ss.cs (Key: hh - hours, mm - minutes, ss - seconds, cs - centiseconds)
  5098.  
  5099. Function: CEnvTimer::SetStartTime
  5100. Signature: void CEnvTimer::SetStartTime(float)
  5101. Description: The timer will initialize with this value, in seconds.
  5102.  
  5103. Function: CEnvTimer::SetTime
  5104. Signature: void CEnvTimer::SetTime(float)
  5105. Description: Sets the current time, with the parameter override in seconds.
  5106.  
  5107. Function: CEnvTimer::SetTimerColor
  5108. Signature: void CEnvTimer::SetTimerColor(int, int, int)
  5109. Description: Sets timer color, with RGB parameters.
  5110.  
  5111. Function: CEnvTimer::SetXPos
  5112. Signature: void CEnvTimer::SetXPos(int)
  5113. Description: Overrides proportional X position on the HUD, set to '-1' for default screen adjusted position.
  5114.  
  5115. Function: CEnvTimer::SetYPos
  5116. Signature: void CEnvTimer::SetYPos(int)
  5117. Description: Overrides proportional Y position on the HUD, set to '-1' for default screen adjusted position.
  5118.  
  5119. Function: CEnvTimer::ShowTimer
  5120. Signature: void CEnvTimer::ShowTimer()
  5121. Description: Displays timer on HUD for players. Doesn't start it.
  5122.  
  5123. Function: CEnvTimer::StartTimer
  5124. Signature: void CEnvTimer::StartTimer(handle)
  5125. Description: Starts the timer, with parameter of a player you wish to show it for (has no effect for broadcast timers, can be set to null). If this is a countdown timer, it'll tick down instead.
  5126.  
  5127. Function: CEnvTimer::StopTimer
  5128. Signature: void CEnvTimer::StopTimer()
  5129. Description: Stops the timer, this effectively pauses it.
  5130.  
  5131. Function: CFuncZombieSpawn::CanDespawn
  5132. Signature: bool CFuncZombieSpawn::CanDespawn()
  5133. Description: Returns true if this volume can despawn zombies.
  5134.  
  5135. Function: CFuncZombieSpawn::Disable
  5136. Signature: void CFuncZombieSpawn::Disable()
  5137. Description: Removes self from global list of active zones.
  5138.  
  5139. Function: CFuncZombieSpawn::Enable
  5140. Signature: void CFuncZombieSpawn::Enable()
  5141. Description: Adds self to global list of active zones.
  5142.  
  5143. Function: CFuncZombieSpawn::GetChildChance
  5144. Signature: float CFuncZombieSpawn::GetChildChance()
  5145. Description: Returns current child chance for this volume.
  5146.  
  5147. Function: CFuncZombieSpawn::GetInterimMax
  5148. Signature: int CFuncZombieSpawn::GetInterimMax()
  5149. Description: Returns optimal number of zombies this volume can spawn based on player proximity.
  5150.  
  5151. Function: CFuncZombieSpawn::GetRegenTarget
  5152. Signature: float CFuncZombieSpawn::GetRegenTarget()
  5153. Description: Returns ratio of dead zombie regeneration.
  5154.  
  5155. Function: CFuncZombieSpawn::GetRunnerChance
  5156. Signature: float CFuncZombieSpawn::GetRunnerChance()
  5157. Description: Returns current runner chance for this volume.
  5158.  
  5159. Function: CFuncZombieSpawn::GetSpawnDensity
  5160. Signature: float CFuncZombieSpawn::GetSpawnDensity()
  5161. Description: Returns ratio of spawn density
  5162.  
  5163. Function: CFuncZombieSpawn::GetSpawnMax
  5164. Signature: int CFuncZombieSpawn::GetSpawnMax()
  5165. Description: Returns maximum of zombies this volume can hold.
  5166.  
  5167. Function: CFuncZombieSpawn::GetSpawnedCount
  5168. Signature: int CFuncZombieSpawn::GetSpawnedCount()
  5169. Description: Returns the number of active zombies spawned by this volume.
  5170.  
  5171. Function: CFuncZombieSpawn::GetSpawnedDead
  5172. Signature: int CFuncZombieSpawn::GetSpawnedDead()
  5173. Description: Returns the number of dead zombies that were spawned by this volume. Reduces over time when regen is enabled.
  5174.  
  5175. Function: CFuncZombieSpawn::GetZombiesNeeded
  5176. Signature: int CFuncZombieSpawn::GetZombiesNeeded()
  5177. Description: Returns the number of zombies this volume wants to spawn.
  5178.  
  5179. Function: CFuncZombieSpawn::HasHadPlayers
  5180. Signature: bool CFuncZombieSpawn::HasHadPlayers()
  5181. Description: Returns true if this volume ever had players inside.
  5182.  
  5183. Function: CFuncZombieSpawn::HasPlayers
  5184. Signature: bool CFuncZombieSpawn::HasPlayers()
  5185. Description: Returns true if this volume has players inside.
  5186.  
  5187. Function: CFuncZombieSpawn::InstantSpawn
  5188. Signature: void CFuncZombieSpawn::InstantSpawn(int)
  5189. Description: Instantly spawns given amount of zombies in this volume.
  5190.  
  5191. Function: CFuncZombieSpawn::IsEnabled
  5192. Signature: bool CFuncZombieSpawn::IsEnabled()
  5193. Description: Returns true if this volume is active.
  5194.  
  5195. Function: CFuncZombieSpawn::SetChildChance
  5196. Signature: void CFuncZombieSpawn::SetChildChance(float)
  5197. Description: Sets child chance by given multiplier.
  5198.  
  5199. Function: CFuncZombieSpawn::SetIgnoreVisibility
  5200. Signature: void CFuncZombieSpawn::SetIgnoreVisibility(bool)
  5201. Description: When true, ignores player visibility when spawning zombies.
  5202.  
  5203. Function: CFuncZombieSpawn::SetRunnerChance
  5204. Signature: void CFuncZombieSpawn::SetRunnerChance(float)
  5205. Description: Sets runner chance by given multiplier.
  5206.  
  5207. Function: CFuncZombieSpawn::SetSpawnDensity
  5208. Signature: void CFuncZombieSpawn::SetSpawnDensity(float)
  5209. Description: Sets spawn density by given multiplier.
  5210.  
  5211. Function: CFuncZombieSpawn::SetSpawnRegenTarget
  5212. Signature: void CFuncZombieSpawn::SetSpawnRegenTarget(float)
  5213. Description: Sets regeneration fraction goal.
  5214.  
  5215. Function: CFuncZombieSpawn::SetTarget
  5216. Signature: void CFuncZombieSpawn::SetTarget(string)
  5217. Description: Sets target entity that zombies will head towards after spawning.
  5218.  
  5219. Function: CFunc_SafeZone::Deactivate
  5220. Signature: void CFunc_SafeZone::Deactivate()
  5221.  
  5222. Function: CFunc_SafeZone::Heal
  5223. Signature: void CFunc_SafeZone::Heal(int)
  5224. Description: Heals this safe zone by given amount.
  5225.  
  5226. Function: CFunc_SafeZone::IsActive
  5227. Signature: bool CFunc_SafeZone::IsActive()
  5228.  
  5229. Function: CFunc_SafeZone::IsActiveForZombies
  5230. Signature: bool CFunc_SafeZone::IsActiveForZombies()
  5231. Description: Returns true if the zone is active and not deactivated by map author.
  5232.  
  5233. Function: CFunc_SafeZone::IsPaused
  5234. Signature: bool CFunc_SafeZone::IsPaused()
  5235.  
  5236. Function: CFunc_SafeZone::IsTouchingEntity
  5237. Signature: bool CFunc_SafeZone::IsTouchingEntity(handle)
  5238. Description: Returns true if given entity is inside safe zone bounds.
  5239.  
  5240. Function: CFunc_SafeZone::PauseDrain
  5241. Signature: void CFunc_SafeZone::PauseDrain()
  5242. Description: Pauses safe zone health drain.
  5243.  
  5244. Function: CFunc_SafeZone::Reactivate
  5245. Signature: void CFunc_SafeZone::Reactivate()
  5246.  
  5247. Function: CFunc_SafeZone::Reset
  5248. Signature: void CFunc_SafeZone::Reset()
  5249. Description: Resets this safe zone back to default.
  5250.  
  5251. Function: CFunc_SafeZone::ResumeDrain
  5252. Signature: void CFunc_SafeZone::ResumeDrain()
  5253. Description: Resumes safe zone health drain.
  5254.  
  5255. Function: CGameRules::AllowFlashlight
  5256. Signature: bool CGameRules::AllowFlashlight()
  5257. Description: Returns true if players are allowed to switch on their flashlight.
  5258.  
  5259. Function: CGameRules::AllowNPCs
  5260. Signature: bool CGameRules::AllowNPCs()
  5261. Description: Returns true if NPCs are allowed.
  5262.  
  5263. Function: CGameRules::AllowThirdPersonCamera
  5264. Signature: bool CGameRules::AllowThirdPersonCamera()
  5265. Description: Returns true if third-person camera is allowed.
  5266.  
  5267. Function: CGameRules::Damage_IsTimeBased
  5268. Signature: bool CGameRules::Damage_IsTimeBased(int)
  5269. Description: Damage types that are time-based.
  5270.  
  5271. Function: CGameRules::Damage_NoPhysicsForce
  5272. Signature: bool CGameRules::Damage_NoPhysicsForce(int)
  5273. Description: Damage types that don't have to supply a physics force & position.
  5274.  
  5275. Function: CGameRules::Damage_ShouldGibCorpse
  5276. Signature: bool CGameRules::Damage_ShouldGibCorpse(int)
  5277. Description: Damage types that gib the corpse.
  5278.  
  5279. Function: CGameRules::Damage_ShouldNotBleed
  5280. Signature: bool CGameRules::Damage_ShouldNotBleed(int)
  5281. Description: Damage types that don't make the player bleed.
  5282.  
  5283. Function: CGameRules::Damage_ShowOnHUD
  5284. Signature: bool CGameRules::Damage_ShowOnHUD(int)
  5285. Description: Damage types that have client HUD art.
  5286.  
  5287. Function: CGameRules::DefaultFOV
  5288. Signature: int CGameRules::DefaultFOV()
  5289. Description: Default player FOV in this game.
  5290.  
  5291. Function: CGameRules::GetDamageMultiplier
  5292. Signature: float CGameRules::GetDamageMultiplier()
  5293. Description: Ammo type damage multiplier.
  5294.  
  5295. Function: CGameRules::GetGameDescription
  5296. Signature: string CGameRules::GetGameDescription()
  5297. Description: This is the game description that gets seen in server browsers.
  5298.  
  5299. Function: CGameRules::GetGameType
  5300. Signature: int CGameRules::GetGameType()
  5301.  
  5302. Function: CGameRules::GetGameTypeName
  5303. Signature: string CGameRules::GetGameTypeName()
  5304.  
  5305. Function: CGameRules::GetSkillLevel
  5306. Signature: int CGameRules::GetSkillLevel()
  5307. Description: Returns the game's difficulty/skill level.
  5308.  
  5309. Function: CGameRules::InRoundRestart
  5310. Signature: bool CGameRules::InRoundRestart()
  5311. Description: Returns true if the round is restarting.
  5312.  
  5313. Function: CGameRules::IsCoOp
  5314. Signature: bool CGameRules::IsCoOp()
  5315.  
  5316. Function: CGameRules::IsDeathmatch
  5317. Signature: bool CGameRules::IsDeathmatch()
  5318.  
  5319. Function: CGameRules::IsMultiplayer
  5320. Signature: bool CGameRules::IsMultiplayer()
  5321. Description: Returns true if this is a multiplayer game (like co-op or deathmatch).
  5322.  
  5323. Function: CGameRules::IsSkillLevel
  5324. Signature: bool CGameRules::IsSkillLevel(int)
  5325. Description: Returns true if the game is set to the specified difficulty/skill level.
  5326.  
  5327. Function: CGameRules::IsTeamplay
  5328. Signature: bool CGameRules::IsTeamplay()
  5329.  
  5330. Function: CGameRules::Name
  5331. Signature: string CGameRules::Name()
  5332. Description: Gets the name of these rules.
  5333.  
  5334. Function: CGameRules::RefreshSkillData
  5335. Signature: void CGameRules::RefreshSkillData(bool)
  5336.  
  5337. Function: CGameRules::SetSkillLevel
  5338. Signature: void CGameRules::SetSkillLevel(int)
  5339. Description: Sets the game's difficulty/skill level.
  5340.  
  5341. Function: CGameRules::ShouldCollide
  5342. Signature: bool CGameRules::ShouldCollide(int, int)
  5343. Description: Returns whether two collision groups collide with each other in this game.
  5344.  
  5345. Function: CGameState::EndRound
  5346. Signature: void CGameState::EndRound()
  5347. Description: Ends the round (loss state).
  5348.  
  5349. Function: CGameState::ExtractAllPlayers
  5350. Signature: void CGameState::ExtractAllPlayers()
  5351. Description: Extracts all players (win state).
  5352.  
  5353. Function: CGameState::ExtractPlayer
  5354. Signature: void CGameState::ExtractPlayer(handle)
  5355. Description: Extracts a player.
  5356.  
  5357. Function: CGameState::FreezeAllNPCs
  5358. Signature: void CGameState::FreezeAllNPCs()
  5359. Description: Freezes all NPCs.
  5360.  
  5361. Function: CGameState::FreezeAllPlayers
  5362. Signature: void CGameState::FreezeAllPlayers()
  5363. Description: Freezes all players.
  5364.  
  5365. Function: CGameState::NukePlayers
  5366. Signature: void CGameState::NukePlayers()
  5367. Description: Kills all players, then ends the round (loss state).
  5368.  
  5369. Function: CGameState::RespawnAllPlayers
  5370. Signature: void CGameState::RespawnAllPlayers()
  5371. Description: Respawns all players.
  5372.  
  5373. Function: CGameState::RespawnDeadPlayers
  5374. Signature: void CGameState::RespawnDeadPlayers()
  5375. Description: Respawns dead players.
  5376.  
  5377. Function: CGameState::RespawnPlayer
  5378. Signature: void CGameState::RespawnPlayer(handle)
  5379. Description: Respawns a player.
  5380.  
  5381. Function: CGameState::RestartRound
  5382. Signature: void CGameState::RestartRound()
  5383. Description: Restarts round immediately.
  5384.  
  5385. Function: CGameState::UnfreezeAllNPCs
  5386. Signature: void CGameState::UnfreezeAllNPCs()
  5387. Description: Unfreezes all NPCs.
  5388.  
  5389. Function: CGameState::UnfreezeAllPlayers
  5390. Signature: void CGameState::UnfreezeAllPlayers()
  5391. Description: Unfreezes all players.
  5392.  
  5393. Function: CGameTrace::AllSolid
  5394. Signature: bool CGameTrace::AllSolid()
  5395. Description: Returns whether the trace is completely within a solid.
  5396.  
  5397. Function: CGameTrace::Contents
  5398. Signature: int CGameTrace::Contents()
  5399. Description: Gets the contents of the surface the trace has hit.
  5400.  
  5401. Function: CGameTrace::Destroy
  5402. Signature: void CGameTrace::Destroy()
  5403. Description: Deletes this instance. Important for preventing memory leaks.
  5404.  
  5405. Function: CGameTrace::DidHit
  5406. Signature: bool CGameTrace::DidHit()
  5407. Description: Returns whether the trace hit anything.
  5408.  
  5409. Function: CGameTrace::DidHitNonWorldEntity
  5410. Signature: bool CGameTrace::DidHitNonWorldEntity()
  5411. Description: Returns whether the trace hit something other than the world entity.
  5412.  
  5413. Function: CGameTrace::DidHitWorld
  5414. Signature: bool CGameTrace::DidHitWorld()
  5415. Description: Returns whether the trace hit the world entity or not.
  5416.  
  5417. Function: CGameTrace::DispFlags
  5418. Signature: int CGameTrace::DispFlags()
  5419. Description: Gets the displacement flags of the surface the trace has hit.
  5420.  
  5421. Function: CGameTrace::EndPos
  5422. Signature: Vector CGameTrace::EndPos()
  5423. Description: Gets the trace's end position.
  5424.  
  5425. Function: CGameTrace::Entity
  5426. Signature: handle CGameTrace::Entity()
  5427. Description: Returns the entity this trace has hit.
  5428.  
  5429. Function: CGameTrace::Fraction
  5430. Signature: float CGameTrace::Fraction()
  5431. Description: Gets the fraction of the trace completed. For example, if the trace stopped exactly halfway to the end position, this would be 0.5.
  5432.  
  5433. Function: CGameTrace::FractionLeftSolid
  5434. Signature: float CGameTrace::FractionLeftSolid()
  5435. Description: If this trace started within a solid, this is the point in the trace's fraction at which it left that solid.
  5436.  
  5437. Function: CGameTrace::GetEntityIndex
  5438. Signature: int CGameTrace::GetEntityIndex()
  5439. Description: Returns the index of whatever entity this trace hit.
  5440.  
  5441. Function: CGameTrace::HitBox
  5442. Signature: int CGameTrace::HitBox()
  5443. Description: Returns the hitbox of the entity this trace has hit. If it hit the world entity, this returns the static prop index.
  5444.  
  5445. Function: CGameTrace::HitGroup
  5446. Signature: int CGameTrace::HitGroup()
  5447. Description: Returns the specific hit group this trace hit if it hit an entity.
  5448.  
  5449. Function: CGameTrace::IsDispSurface
  5450. Signature: bool CGameTrace::IsDispSurface()
  5451. Description: Returns whether this trace hit a displacement.
  5452.  
  5453. Function: CGameTrace::IsDispSurfaceBuildable
  5454. Signature: bool CGameTrace::IsDispSurfaceBuildable()
  5455. Description: Returns whether DISPSURF_FLAG_BUILDABLE is ticked on the displacement this trace hit.
  5456.  
  5457. Function: CGameTrace::IsDispSurfaceProp1
  5458. Signature: bool CGameTrace::IsDispSurfaceProp1()
  5459. Description: Returns whether DISPSURF_FLAG_SURFPROP1 is ticked on the displacement this trace hit.
  5460.  
  5461. Function: CGameTrace::IsDispSurfaceProp2
  5462. Signature: bool CGameTrace::IsDispSurfaceProp2()
  5463. Description: Returns whether DISPSURF_FLAG_SURFPROP2 is ticked on the displacement this trace hit.
  5464.  
  5465. Function: CGameTrace::IsDispSurfaceWalkable
  5466. Signature: bool CGameTrace::IsDispSurfaceWalkable()
  5467. Description: Returns whether DISPSURF_FLAG_WALKABLE is ticked on the displacement this trace hit.
  5468.  
  5469. Function: CGameTrace::PhysicsBone
  5470. Signature: int CGameTrace::PhysicsBone()
  5471. Description: Returns the physics bone this trace hit if it hit an entity.
  5472.  
  5473. Function: CGameTrace::Plane
  5474. Signature: handle CGameTrace::Plane()
  5475.  
  5476. Function: CGameTrace::StartPos
  5477. Signature: Vector CGameTrace::StartPos()
  5478. Description: Gets the trace's start position.
  5479.  
  5480. Function: CGameTrace::StartSolid
  5481. Signature: bool CGameTrace::StartSolid()
  5482. Description: Returns whether the trace started within a solid.
  5483.  
  5484. Function: CGameTrace::Surface
  5485. Signature: handle CGameTrace::Surface()
  5486.  
  5487. Function: CInfectableCharacter::BecomeInfected
  5488. Signature: void CInfectableCharacter::BecomeInfected()
  5489. Description: Character becomes infected.
  5490.  
  5491. Function: CInfectableCharacter::CureInfection
  5492. Signature: void CInfectableCharacter::CureInfection()
  5493. Description: Cures active infection.
  5494.  
  5495. Function: CInfectableCharacter::DiedWhileInfected
  5496. Signature: bool CInfectableCharacter::DiedWhileInfected()
  5497. Description: Returns true if character died while infected.
  5498.  
  5499. Function: CInfectableCharacter::GetInfectionDeathTime
  5500. Signature: float CInfectableCharacter::GetInfectionDeathTime()
  5501. Description: Gets the time of when infection takes over.
  5502.  
  5503. Function: CInfectableCharacter::GetInfectionTime
  5504. Signature: float CInfectableCharacter::GetInfectionTime()
  5505. Description: Gets the time of infection.
  5506.  
  5507. Function: CInfectableCharacter::IsInfected
  5508. Signature: bool CInfectableCharacter::IsInfected()
  5509. Description: Returns true if character is infected.
  5510.  
  5511. Function: CInfectableCharacter::TakePills
  5512. Signature: void CInfectableCharacter::TakePills()
  5513. Description: Resets infection time.
  5514.  
  5515. Function: CItem_AmmoBox::GetAmmoType
  5516. Signature: string CItem_AmmoBox::GetAmmoType()
  5517. Description: Returns ammo type name, e.g. ammobox_9mm
  5518.  
  5519. Function: CItem_AmmoBox::GetMaxAmmo
  5520. Signature: int CItem_AmmoBox::GetMaxAmmo()
  5521. Description: Returns max count for current ammo type.
  5522.  
  5523. Function: CItem_AmmoBox::SetAmmoCount
  5524. Signature: void CItem_AmmoBox::SetAmmoCount(int)
  5525. Description: Set ammo count.
  5526.  
  5527. Function: CItem_AmmoBox::SetAmmoType
  5528. Signature: void CItem_AmmoBox::SetAmmoType(string)
  5529. Description: Set ammo type by name.
  5530.  
  5531. Function: CItem_InventoryBox::AddItem
  5532. Signature: bool CItem_InventoryBox::AddItem(string)
  5533. Description: Adds an item to the inventory box, accepts item aliases and spawner keywords. Returns false if the box is full.
  5534.  
  5535. Function: CItem_InventoryBox::AddItemAtIndex
  5536. Signature: void CItem_InventoryBox::AddItemAtIndex(string, int, int)
  5537. Description: Adds an item at specified category and index, accepts item aliases and spawner keywords.
  5538.  
  5539. Function: CItem_InventoryBox::AddRandomAmmo
  5540. Signature: void CItem_InventoryBox::AddRandomAmmo(int)
  5541. Description: Adds a random ammo item to the inventory box, with a parameter of item count. Use -1 to fill all the empty slots.
  5542.  
  5543. Function: CItem_InventoryBox::AddRandomGear
  5544. Signature: void CItem_InventoryBox::AddRandomGear(int)
  5545. Description: Adds a random gear item to the inventory box, with a parameter of item count. Use -1 to fill all the empty slots.
  5546.  
  5547. Function: CItem_InventoryBox::AddRandomWeapon
  5548. Signature: void CItem_InventoryBox::AddRandomWeapon(int)
  5549. Description: Adds a random weapon item to the inventory box, with a parameter of item count. Use -1 to fill all the empty slots.
  5550.  
  5551. Function: CItem_InventoryBox::AllowEmpty
  5552. Signature: void CItem_InventoryBox::AllowEmpty(bool)
  5553. Description: Sets whether or not the box will be removed once it's been emptied, with a boolean parameter.
  5554.  
  5555. Function: CItem_InventoryBox::IsDroppedByChopper
  5556. Signature: bool CItem_InventoryBox::IsDroppedByChopper()
  5557. Description: Returns true if this inventory box is dropped by a chopper, and isn't manually spawned.
  5558.  
  5559. Function: CItem_InventoryBox::IsUncategorized
  5560. Signature: bool CItem_InventoryBox::IsUncategorized()
  5561. Description: Returns true if this inventory box is uncategorized.
  5562.  
  5563. Function: CItem_InventoryBox::ItemAtPosition
  5564. Signature: int CItem_InventoryBox::ItemAtPosition(int, int)
  5565. Description: Returns WeaponID for an item at specified category and index.
  5566.  
  5567. Function: CItem_InventoryBox::RandomizeContents
  5568. Signature: void CItem_InventoryBox::RandomizeContents()
  5569. Description: Randomizes new contents, and replaces all existing items.
  5570.  
  5571. Function: CItem_InventoryBox::RemoveAllItems
  5572. Signature: void CItem_InventoryBox::RemoveAllItems()
  5573. Description: Removes all items in the inventory box.
  5574.  
  5575. Function: CItem_InventoryBox::RemoveItem
  5576. Signature: void CItem_InventoryBox::RemoveItem(int, int)
  5577. Description: Removes an item at specified category and index.
  5578.  
  5579. Function: CItem_InventoryBox::SetBackgroundTexture
  5580. Signature: void CItem_InventoryBox::SetBackgroundTexture(string)
  5581. Description: Changes supply crate background in the client UI, with a parameter of material name.
  5582.  
  5583. Function: CLogicProgress::AddMilestone
  5584. Signature: void CLogicProgress::AddMilestone(float)
  5585. Description: Adds a milestone, with parameter of progress ratio (0.0 - 1.0). Once hit, output OnMilestone will be fired. You can have multiple milestones.
  5586.  
  5587. Function: CLogicProgress::GetProgress
  5588. Signature: float CLogicProgress::GetProgress()
  5589. Description: Returns current progress ratio (0.0 - 1.0).
  5590.  
  5591. Function: CLogicProgress::HideProgress
  5592. Signature: void CLogicProgress::HideProgress()
  5593. Description: Hides progress on HUD while it's still ongoing.
  5594.  
  5595. Function: CLogicProgress::SetBroadcast
  5596. Signature: void CLogicProgress::SetBroadcast(bool)
  5597. Description: When true, display the progress bar to all players, and not only the activator.
  5598.  
  5599. Function: CLogicProgress::SetInvert
  5600. Signature: void CLogicProgress::SetInvert(bool)
  5601. Description: When true, progress decreases and fires output when depleted. Note: Milestones remain unchanged, e.g. 0.75 would be fired when 0.25 is hit.
  5602.  
  5603. Function: CLogicProgress::SetLength
  5604. Signature: void CLogicProgress::SetLength(float)
  5605. Description: Sets length to completion in seconds when the progress activates. Only works in dynamic mode.
  5606.  
  5607. Function: CLogicProgress::SetProgress
  5608. Signature: void CLogicProgress::SetProgress(float)
  5609. Description: Sets current progress, with parameter of ratio (0.0 - 1.0). In dynamic mode, the timer will be set accordingly.
  5610.  
  5611. Function: CLogicProgress::SetProgressColor
  5612. Signature: void CLogicProgress::SetProgressColor(int, int, int)
  5613. Description: Sets a custom color for HUD progress bar, with RGB parameters.
  5614.  
  5615. Function: CLogicProgress::SetStatic
  5616. Signature: void CLogicProgress::SetStatic(bool)
  5617. Description: When true, be a static timer; it'll remain still, and will require manual use of SetProgress. When false, be a dynamic timer; a timer-based counter (i.e. trigger_progress_use).
  5618.  
  5619. Function: CLogicProgress::StartProgress
  5620. Signature: void CLogicProgress::StartProgress(handle)
  5621. Description: Starts progress, with a parameter being the user of this entity.
  5622.  
  5623. Function: CLogicProgress::StopProgress
  5624. Signature: void CLogicProgress::StopProgress()
  5625. Description: Stops progress for all users.
  5626.  
  5627. Function: CLogicProgress::ToggleProgress
  5628. Signature: void CLogicProgress::ToggleProgress()
  5629. Description: Toggles progress on/off.
  5630.  
  5631. Function: CLogicScriptProxy::RunFunction
  5632. Signature: void CLogicScriptProxy::RunFunction(string)
  5633. Description: Runs an entity script function using a proxy.
  5634.  
  5635. Function: CLogicScriptProxy::RunFunctionBool
  5636. Signature: void CLogicScriptProxy::RunFunctionBool(string)
  5637. Description: Runs an entity script function using a proxy, and saves returned value into entprop buffer as boolean (0/1).
  5638.  
  5639. Function: CLogicScriptProxy::RunFunctionEHandle
  5640. Signature: void CLogicScriptProxy::RunFunctionEHandle(string)
  5641. Description: Runs an entity script function using a proxy, and saves returned entity handle into entprop.
  5642.  
  5643. Function: CLogicScriptProxy::RunFunctionFloat
  5644. Signature: void CLogicScriptProxy::RunFunctionFloat(string)
  5645. Description: Runs an entity script function using a proxy, and saves returned float into entprop buffer.
  5646.  
  5647. Function: CLogicScriptProxy::RunFunctionInt
  5648. Signature: void CLogicScriptProxy::RunFunctionInt(string)
  5649. Description: Runs an entity script function using a proxy, and saves returned int into entprop buffer.
  5650.  
  5651. Function: CLogicScriptProxy::RunFunctionString
  5652. Signature: void CLogicScriptProxy::RunFunctionString(string)
  5653. Description: Runs an entity script function using a proxy, and saves returned string into entprop buffer.
  5654.  
  5655. Function: CLogicScriptProxy::RunFunctionVector
  5656. Signature: void CLogicScriptProxy::RunFunctionVector(string)
  5657. Description: Runs an entity script function using a proxy, and saves returned vector into entprop buffer.
  5658.  
  5659. Function: CLogicScriptProxy::SetTargetEntity
  5660. Signature: void CLogicScriptProxy::SetTargetEntity(handle)
  5661. Description: Target chosen entity.
  5662.  
  5663. Function: CNMRiH_BarricadePoint::DoBarricade
  5664. Signature: void CNMRiH_BarricadePoint::DoBarricade()
  5665. Description: Barricades this point, does nothing if it's already used.
  5666.  
  5667. Function: CNMRiH_BarricadePoint::GetBarricadeProp
  5668. Signature: handle CNMRiH_BarricadePoint::GetBarricadeProp()
  5669. Description: Returns entity handle to barricade prop, if one is available.
  5670.  
  5671. Function: CNMRiH_BarricadePoint::IsBlocked
  5672. Signature: bool CNMRiH_BarricadePoint::IsBlocked()
  5673. Description: Returns true if this point is blocked by a player, NPC, or anything else.
  5674.  
  5675. Function: CNMRiH_BarricadePoint::IsInUse
  5676. Signature: bool CNMRiH_BarricadePoint::IsInUse()
  5677. Description: Returns true if this barricade point has been used, i.e. has a prop.
  5678.  
  5679. Function: CNMRiH_BaseZombie::BecomeCrawler
  5680. Signature: void CNMRiH_BaseZombie::BecomeCrawler()
  5681. Description: Turns this zombie into a crawler.
  5682.  
  5683. Function: CNMRiH_BaseZombie::BecomeRunner
  5684. Signature: void CNMRiH_BaseZombie::BecomeRunner()
  5685. Description: Turns this zombie into a runner.
  5686.  
  5687. Function: CNMRiH_BaseZombie::BecomeShambler
  5688. Signature: void CNMRiH_BaseZombie::BecomeShambler()
  5689. Description: Turns this zombie into a shambler.
  5690.  
  5691. Function: CNMRiH_BaseZombie::GetShoved
  5692. Signature: void CNMRiH_BaseZombie::GetShoved(handle)
  5693. Description: Zombie gets shoved back, with entity handle parameter of shove source.
  5694.  
  5695. Function: CNMRiH_BaseZombie::HasArmor
  5696. Signature: bool CNMRiH_BaseZombie::HasArmor()
  5697. Description: Returns true if this zombie has armor (i.e. national guard).
  5698.  
  5699. Function: CNMRiH_BaseZombie::IsCrawler
  5700. Signature: bool CNMRiH_BaseZombie::IsCrawler()
  5701. Description: Returns true if this zombie is a crawler.
  5702.  
  5703. Function: CNMRiH_BaseZombie::IsKid
  5704. Signature: bool CNMRiH_BaseZombie::IsKid()
  5705. Description: Returns true if this zombie is a kid.
  5706.  
  5707. Function: CNMRiH_BaseZombie::IsRunner
  5708. Signature: bool CNMRiH_BaseZombie::IsRunner()
  5709. Description: Returns true if this zombie is a runner.
  5710.  
  5711. Function: CNMRiH_BaseZombie::IsShambler
  5712. Signature: bool CNMRiH_BaseZombie::IsShambler()
  5713. Description: Returns true if this zombie is a shambler.
  5714.  
  5715. Function: CNMRiH_BaseZombie::IsTurned
  5716. Signature: bool CNMRiH_BaseZombie::IsTurned()
  5717. Description: Returns true if this zombie is a turned player.
  5718.  
  5719. Function: CNMRiH_BaseZombie::SetModelOverride
  5720. Signature: void CNMRiH_BaseZombie::SetModelOverride(string)
  5721. Description: Overrides model on this zombie.
  5722.  
  5723. Function: CNMRiH_BaseZombie::SpawnLootAmmo
  5724. Signature: handle CNMRiH_BaseZombie::SpawnLootAmmo(string)
  5725. Description: Spawns loot drop by ammo name, returns handle to new entity.
  5726.  
  5727. Function: CNMRiH_BaseZombie::SpawnLootWeapon
  5728. Signature: handle CNMRiH_BaseZombie::SpawnLootWeapon(string)
  5729. Description: Spawns loot drop by weapon classname, returns handle to new entity.
  5730.  
  5731. Function: CNMRiH_GameRules::AreTokensGivenFromKills
  5732. Signature: bool CNMRiH_GameRules::AreTokensGivenFromKills()
  5733.  
  5734. Function: CNMRiH_GameRules::GetActivePlayerCount
  5735. Signature: int CNMRiH_GameRules::GetActivePlayerCount()
  5736.  
  5737. Function: CNMRiH_GameRules::GetActivePlayerSpawnCount
  5738. Signature: int CNMRiH_GameRules::GetActivePlayerSpawnCount()
  5739.  
  5740. Function: CNMRiH_GameRules::GetCurrentState
  5741. Signature: int CNMRiH_GameRules::GetCurrentState()
  5742.  
  5743. Function: CNMRiH_GameRules::GetDeadPlayerCount
  5744. Signature: int CNMRiH_GameRules::GetDeadPlayerCount()
  5745.  
  5746. Function: CNMRiH_GameRules::GetExtractedPlayerCount
  5747. Signature: int CNMRiH_GameRules::GetExtractedPlayerCount()
  5748.  
  5749. Function: CNMRiH_GameRules::GetGameOverState
  5750. Signature: int CNMRiH_GameRules::GetGameOverState()
  5751.  
  5752. Function: CNMRiH_GameRules::GetInfectionModifier
  5753. Signature: float CNMRiH_GameRules::GetInfectionModifier()
  5754.  
  5755. Function: CNMRiH_GameRules::GetKillsRequiredPerToken
  5756. Signature: int CNMRiH_GameRules::GetKillsRequiredPerToken()
  5757.  
  5758. Function: CNMRiH_GameRules::GetLossState
  5759. Signature: int CNMRiH_GameRules::GetLossState()
  5760.  
  5761. Function: CNMRiH_GameRules::GetPracticeState
  5762. Signature: int CNMRiH_GameRules::GetPracticeState()
  5763.  
  5764. Function: CNMRiH_GameRules::GetRestartState
  5765. Signature: int CNMRiH_GameRules::GetRestartState()
  5766.  
  5767. Function: CNMRiH_GameRules::GetRunningState
  5768. Signature: int CNMRiH_GameRules::GetRunningState()
  5769.  
  5770. Function: CNMRiH_GameRules::GetStateTransitionTime
  5771. Signature: float CNMRiH_GameRules::GetStateTransitionTime()
  5772.  
  5773. Function: CNMRiH_GameRules::GetSuppliesDroppedCount
  5774. Signature: int CNMRiH_GameRules::GetSuppliesDroppedCount()
  5775.  
  5776. Function: CNMRiH_GameRules::GetWinState
  5777. Signature: int CNMRiH_GameRules::GetWinState()
  5778.  
  5779. Function: CNMRiH_GameRules::HasLevelTransitioned
  5780. Signature: bool CNMRiH_GameRules::HasLevelTransitioned()
  5781.  
  5782. Function: CNMRiH_GameRules::IsIntermission
  5783. Signature: bool CNMRiH_GameRules::IsIntermission()
  5784.  
  5785. Function: CNMRiH_HealthStationLocation::BecomeActive
  5786. Signature: void CNMRiH_HealthStationLocation::BecomeActive()
  5787. Description: Activates health station.
  5788.  
  5789. Function: CNMRiH_HealthStationLocation::BecomeDepleted
  5790. Signature: void CNMRiH_HealthStationLocation::BecomeDepleted()
  5791. Description: Depletes health station.
  5792.  
  5793. Function: CNMRiH_HealthStationLocation::GetHealthPercentage
  5794. Signature: float CNMRiH_HealthStationLocation::GetHealthPercentage()
  5795. Description: Returns percentage of health remaining in the station.
  5796.  
  5797. Function: CNMRiH_HealthStationLocation::GetStationHealth
  5798. Signature: int CNMRiH_HealthStationLocation::GetStationHealth()
  5799. Description: Returns amount of health remaining in the station.
  5800.  
  5801. Function: CNMRiH_HealthStationLocation::IsActive
  5802. Signature: bool CNMRiH_HealthStationLocation::IsActive()
  5803. Description: Returns true when health station is active.
  5804.  
  5805. Function: CNMRiH_HealthStationLocation::IsFadingOut
  5806. Signature: bool CNMRiH_HealthStationLocation::IsFadingOut()
  5807. Description: Returns true when depleted health station is fading out.
  5808.  
  5809. Function: CNMRiH_HealthStationLocation::SetStationHealth
  5810. Signature: void CNMRiH_HealthStationLocation::SetStationHealth(int)
  5811. Description: Sets amount of health remaining in the station.
  5812.  
  5813. Function: CNMRiH_ItemCustom::ApplyItem
  5814. Signature: bool CNMRiH_ItemCustom::ApplyItem()
  5815. Description: Applies item to its owner, returns success.
  5816.  
  5817. Function: CNMRiH_ItemCustom::CanHoverSelect
  5818. Signature: bool CNMRiH_ItemCustom::CanHoverSelect()
  5819. Description: Returns true when the item can be applied by hovering and closing the radial wheel.
  5820.  
  5821. Function: CNMRiH_ItemCustom::DropItem
  5822. Signature: bool CNMRiH_ItemCustom::DropItem()
  5823. Description: Drops item from its owner if it's being held, returns success.
  5824.  
  5825. Function: CNMRiH_ItemCustom::GetIcon
  5826. Signature: string CNMRiH_ItemCustom::GetIcon()
  5827. Description: Returns material name of the inventory icon.
  5828.  
  5829. Function: CNMRiH_ItemCustom::GetLabel
  5830. Signature: string CNMRiH_ItemCustom::GetLabel()
  5831. Description: Returns inventory label.
  5832.  
  5833. Function: CNMRiH_ItemCustom::GetWeight
  5834. Signature: int CNMRiH_ItemCustom::GetWeight()
  5835. Description: Returns physical weight.
  5836.  
  5837. Function: CNMRiH_ItemCustom::GiveItem
  5838. Signature: bool CNMRiH_ItemCustom::GiveItem(handle)
  5839. Description: Attempts to give item to a target player, returns success.
  5840.  
  5841. Function: CNMRiH_ItemCustom::IsHighlighted
  5842. Signature: bool CNMRiH_ItemCustom::IsHighlighted()
  5843. Description: Returns true when the item is displayed as highlighted in the inventory.
  5844.  
  5845. Function: CNMRiH_ItemCustom::SetHighlight
  5846. Signature: void CNMRiH_ItemCustom::SetHighlight(bool)
  5847. Description: When true, highlight entry in the inventory.
  5848.  
  5849. Function: CNMRiH_ItemCustom::SetHoverSelect
  5850. Signature: void CNMRiH_ItemCustom::SetHoverSelect(bool)
  5851. Description: When true, item can be applied by hovering and closing the radial wheel, when false, user must click to apply.
  5852.  
  5853. Function: CNMRiH_ItemCustom::SetIcon
  5854. Signature: void CNMRiH_ItemCustom::SetIcon(string)
  5855. Description: Sets material name for VGUI inventory icon.
  5856.  
  5857. Function: CNMRiH_ItemCustom::SetLabel
  5858. Signature: void CNMRiH_ItemCustom::SetLabel(string)
  5859. Description: Sets visible name for inventory wheel, accepts localization strings.
  5860.  
  5861. Function: CNMRiH_ItemCustom::SetWeight
  5862. Signature: void CNMRiH_ItemCustom::SetWeight(int)
  5863. Description: Sets physical weight.
  5864.  
  5865. Function: CNMRiH_Music_Manager::EndEvac
  5866. Signature: void CNMRiH_Music_Manager::EndEvac()
  5867. Description: Stops playing evac music.
  5868.  
  5869. Function: CNMRiH_Music_Manager::Mute
  5870. Signature: void CNMRiH_Music_Manager::Mute()
  5871. Description: Mutes all music.
  5872.  
  5873. Function: CNMRiH_Music_Manager::StartCustomMusicState
  5874. Signature: void CNMRiH_Music_Manager::StartCustomMusicState(int)
  5875. Description: Starts playing custom music, with parameter of state number (1-3).
  5876.  
  5877. Function: CNMRiH_Music_Manager::StopCustomMusicState
  5878. Signature: void CNMRiH_Music_Manager::StopCustomMusicState()
  5879. Description: Stops playing custom music.
  5880.  
  5881. Function: CNMRiH_Music_Manager::TriggerEvac
  5882. Signature: void CNMRiH_Music_Manager::TriggerEvac()
  5883. Description: Starts playing evac music.
  5884.  
  5885. Function: CNMRiH_Music_Manager::Unmute
  5886. Signature: void CNMRiH_Music_Manager::Unmute()
  5887. Description: Unmutes all music.
  5888.  
  5889. Function: CNMRiH_Player::AddCarriedWeight
  5890. Signature: void CNMRiH_Player::AddCarriedWeight(int)
  5891. Description: Adds carried inventory weight.
  5892.  
  5893. Function: CNMRiH_Player::Ammo_Drop
  5894. Signature: bool CNMRiH_Player::Ammo_Drop(string)
  5895. Description: Drops one box of owned ammo, with parameter of ammo name (without ammobox_ prefix, e.g. '12gauge'). Returns success.
  5896.  
  5897. Function: CNMRiH_Player::ApplyBandage
  5898. Signature: void CNMRiH_Player::ApplyBandage()
  5899. Description: Applies the effect of using a bandage.
  5900.  
  5901. Function: CNMRiH_Player::ApplyFirstAidKit
  5902. Signature: void CNMRiH_Player::ApplyFirstAidKit()
  5903. Description: Applies the effect of using a first aid kit.
  5904.  
  5905. Function: CNMRiH_Player::ApplyVaccine
  5906. Signature: void CNMRiH_Player::ApplyVaccine()
  5907. Description: Applies the effect of gene therapy vaccine, cures and immunizes infection.
  5908.  
  5909. Function: CNMRiH_Player::BleedOut
  5910. Signature: void CNMRiH_Player::BleedOut()
  5911. Description: Inflicts bleeding.
  5912.  
  5913. Function: CNMRiH_Player::CancelSuicide
  5914. Signature: void CNMRiH_Player::CancelSuicide(bool)
  5915. Description: Cancels suicide when contemplating, with boolean parameter for playing cancel animation.
  5916.  
  5917. Function: CNMRiH_Player::CancelThrowDrop
  5918. Signature: void CNMRiH_Player::CancelThrowDrop()
  5919. Description: Cancels active weapon throw.
  5920.  
  5921. Function: CNMRiH_Player::ClearHandModelOverride
  5922. Signature: void CNMRiH_Player::ClearHandModelOverride()
  5923. Description: Resets viewmodel hands back to default.
  5924.  
  5925. Function: CNMRiH_Player::ContemplateSuicide
  5926. Signature: void CNMRiH_Player::ContemplateSuicide()
  5927. Description: Begins contemplating suicide.
  5928.  
  5929. Function: CNMRiH_Player::DeathCount
  5930. Signature: int CNMRiH_Player::DeathCount()
  5931. Description: Returns the amount of times player has died.
  5932.  
  5933. Function: CNMRiH_Player::DecrementRespawnTokens
  5934. Signature: void CNMRiH_Player::DecrementRespawnTokens()
  5935. Description: Decrements active respawn tokens.
  5936.  
  5937. Function: CNMRiH_Player::DestroyAllAmmo
  5938. Signature: void CNMRiH_Player::DestroyAllAmmo()
  5939. Description: Destroys all ammo that player owns.
  5940.  
  5941. Function: CNMRiH_Player::DestroyAllWeapons
  5942. Signature: void CNMRiH_Player::DestroyAllWeapons()
  5943. Description: Destroys all weapons that player owns.
  5944.  
  5945. Function: CNMRiH_Player::DestroyEverything
  5946. Signature: void CNMRiH_Player::DestroyEverything()
  5947. Description: Destroys all items that player owns.
  5948.  
  5949. Function: CNMRiH_Player::DoCommitSuicide
  5950. Signature: void CNMRiH_Player::DoCommitSuicide()
  5951. Description: Does commit suicide.
  5952.  
  5953. Function: CNMRiH_Player::DropEverything
  5954. Signature: void CNMRiH_Player::DropEverything()
  5955. Description: Drops all items that player owns.
  5956.  
  5957. Function: CNMRiH_Player::EnableSprint
  5958. Signature: void CNMRiH_Player::EnableSprint(bool)
  5959. Description: Enables / disables sprinting ability.
  5960.  
  5961. Function: CNMRiH_Player::GetAmmoCarryWeight
  5962. Signature: int CNMRiH_Player::GetAmmoCarryWeight()
  5963. Description: Returns ammo inventory weight.
  5964.  
  5965. Function: CNMRiH_Player::GetCarriedItems
  5966. Signature: void CNMRiH_Player::GetCarriedItems(handle)
  5967. Description: Fills table with carried inventory items, including weapons and custom items (excl. passive items such as fists, zippo, and ammo).
  5968.  
  5969. Function: CNMRiH_Player::GetCarriedWeight
  5970. Signature: int CNMRiH_Player::GetCarriedWeight()
  5971. Description: Returns total carried inventory weight.
  5972.  
  5973. Function: CNMRiH_Player::GetHeldEntity
  5974. Signature: handle CNMRiH_Player::GetHeldEntity()
  5975. Description: Returns a prop player is holding.
  5976.  
  5977. Function: CNMRiH_Player::GetJumpStaminaCost
  5978. Signature: float CNMRiH_Player::GetJumpStaminaCost()
  5979. Description: Returns the amount of stamina jumping costs.
  5980.  
  5981. Function: CNMRiH_Player::GetLastObserverMode
  5982. Signature: int CNMRiH_Player::GetLastObserverMode()
  5983. Description: Returns previous observer mode.
  5984.  
  5985. Function: CNMRiH_Player::GetMaxCarriedWeight
  5986. Signature: float CNMRiH_Player::GetMaxCarriedWeight()
  5987. Description: Returns max carried inventory weight.
  5988.  
  5989. Function: CNMRiH_Player::GetNextRespawnTime
  5990. Signature: float CNMRiH_Player::GetNextRespawnTime()
  5991. Description: Returns next respawn time for this player.
  5992.  
  5993. Function: CNMRiH_Player::GetNextSpawnTryTime
  5994. Signature: float CNMRiH_Player::GetNextSpawnTryTime()
  5995. Description: Returns next spawn attempt time for this player.
  5996.  
  5997. Function: CNMRiH_Player::GetSpeedModifier
  5998. Signature: float CNMRiH_Player::GetSpeedModifier()
  5999. Description: Returns active speed modifier.
  6000.  
  6001. Function: CNMRiH_Player::GetSpeedOverride
  6002. Signature: float CNMRiH_Player::GetSpeedOverride()
  6003. Description: Returns active speed override, -1.0 if none is applied.
  6004.  
  6005. Function: CNMRiH_Player::GetStamina
  6006. Signature: float CNMRiH_Player::GetStamina()
  6007. Description: Returns player stamina.
  6008.  
  6009. Function: CNMRiH_Player::GetThrowScale
  6010. Signature: float CNMRiH_Player::GetThrowScale()
  6011. Description: Returns current weapon throw scale.
  6012.  
  6013. Function: CNMRiH_Player::GetThrowVector
  6014. Signature: Vector CNMRiH_Player::GetThrowVector(float)
  6015. Description: Returns weapon throw vector, with parameter of throw force.
  6016.  
  6017. Function: CNMRiH_Player::HasFlashlight
  6018. Signature: bool CNMRiH_Player::HasFlashlight()
  6019. Description: Returns true if player owns flashlight.
  6020.  
  6021. Function: CNMRiH_Player::HasLeftoverWeight
  6022. Signature: bool CNMRiH_Player::HasLeftoverWeight(int)
  6023. Description: Returns true if player has given weight available.
  6024.  
  6025. Function: CNMRiH_Player::HasWalkieTalkie
  6026. Signature: bool CNMRiH_Player::HasWalkieTalkie()
  6027. Description: Returns true if player owns walkie talkie.
  6028.  
  6029. Function: CNMRiH_Player::IncreaseBloodiness
  6030. Signature: void CNMRiH_Player::IncreaseBloodiness()
  6031. Description: Increases visual bloodiness.
  6032.  
  6033. Function: CNMRiH_Player::IncrementRespawnTokens
  6034. Signature: void CNMRiH_Player::IncrementRespawnTokens()
  6035. Description: Increments active respawn tokens.
  6036.  
  6037. Function: CNMRiH_Player::IsBleedingOut
  6038. Signature: bool CNMRiH_Player::IsBleedingOut()
  6039. Description: Returns true is player is bleeding.
  6040.  
  6041. Function: CNMRiH_Player::IsContemplatingSuicide
  6042. Signature: bool CNMRiH_Player::IsContemplatingSuicide()
  6043. Description: Returns true when player is contemplating suicide.
  6044.  
  6045. Function: CNMRiH_Player::IsDucking
  6046. Signature: bool CNMRiH_Player::IsDucking()
  6047. Description: Returns true if player is ducking.
  6048.  
  6049. Function: CNMRiH_Player::IsExtracted
  6050. Signature: bool CNMRiH_Player::IsExtracted()
  6051. Description: Returns true if player is extracted.
  6052.  
  6053. Function: CNMRiH_Player::IsGrabbed
  6054. Signature: bool CNMRiH_Player::IsGrabbed()
  6055. Description: Returns true if player is being grabbed by a zombie.
  6056.  
  6057. Function: CNMRiH_Player::IsHoldingEntity
  6058. Signature: bool CNMRiH_Player::IsHoldingEntity()
  6059. Description: Returns true if player is holding a prop.
  6060.  
  6061. Function: CNMRiH_Player::IsHost
  6062. Signature: bool CNMRiH_Player::IsHost()
  6063. Description: Returns true if this player is a listen server host.
  6064.  
  6065. Function: CNMRiH_Player::IsInBarricadingMode
  6066. Signature: bool CNMRiH_Player::IsInBarricadingMode()
  6067. Description: Returns true when player is in barricade build mode (i.e. has a board out and sees points).
  6068.  
  6069. Function: CNMRiH_Player::IsInLevelTransition
  6070. Signature: bool CNMRiH_Player::IsInLevelTransition()
  6071. Description: Returns true if player is in level transition.
  6072.  
  6073. Function: CNMRiH_Player::IsJumping
  6074. Signature: bool CNMRiH_Player::IsJumping()
  6075. Description: Returns true if player is jumping.
  6076.  
  6077. Function: CNMRiH_Player::IsPartialBlindnessActive
  6078. Signature: bool CNMRiH_Player::IsPartialBlindnessActive()
  6079. Description: Returns true if player is experiencing blindness from vaccine side effects.
  6080.  
  6081. Function: CNMRiH_Player::IsPlacingBoard
  6082. Signature: bool CNMRiH_Player::IsPlacingBoard()
  6083. Description: Returns true when player is nailing a board while barricading.
  6084.  
  6085. Function: CNMRiH_Player::IsSprinting
  6086. Signature: bool CNMRiH_Player::IsSprinting()
  6087. Description: Returns true if player is sprinting.
  6088.  
  6089. Function: CNMRiH_Player::IsTalkingLocal
  6090. Signature: bool CNMRiH_Player::IsTalkingLocal()
  6091. Description: Returns true if player is talking without a walkie talkie.
  6092.  
  6093. Function: CNMRiH_Player::IsTalkingWalkie
  6094. Signature: bool CNMRiH_Player::IsTalkingWalkie()
  6095. Description: Returns true if player is talking with a walkie talkie.
  6096.  
  6097. Function: CNMRiH_Player::IsUsingProgressTrigger
  6098. Signature: bool CNMRiH_Player::IsUsingProgressTrigger()
  6099. Description: Returns true if player is using a tool.
  6100.  
  6101. Function: CNMRiH_Player::IsVaccinated
  6102. Signature: bool CNMRiH_Player::IsVaccinated()
  6103. Description: Returns true if player is vaccinated.
  6104.  
  6105. Function: CNMRiH_Player::IsVoiceCommandTimerExpired
  6106. Signature: bool CNMRiH_Player::IsVoiceCommandTimerExpired()
  6107. Description: Returns true when voice command timer has expired.
  6108.  
  6109. Function: CNMRiH_Player::ReadyToRespawn
  6110. Signature: bool CNMRiH_Player::ReadyToRespawn()
  6111. Description: Returns true if player is ready to respawn.
  6112.  
  6113. Function: CNMRiH_Player::RemoveCarriedWeight
  6114. Signature: void CNMRiH_Player::RemoveCarriedWeight(int)
  6115. Description: Removes carried inventory weight.
  6116.  
  6117. Function: CNMRiH_Player::RemoveInflictions
  6118. Signature: void CNMRiH_Player::RemoveInflictions()
  6119. Description: Removes infection and bleeding.
  6120.  
  6121. Function: CNMRiH_Player::ResetRespawnTokens
  6122. Signature: void CNMRiH_Player::ResetRespawnTokens()
  6123. Description: Resets active respawn tokens.
  6124.  
  6125. Function: CNMRiH_Player::ResetVoiceCommandTimer
  6126. Signature: void CNMRiH_Player::ResetVoiceCommandTimer()
  6127. Description: Resets voice command cooldown timer.
  6128.  
  6129. Function: CNMRiH_Player::RespawnTokenCount
  6130. Signature: int CNMRiH_Player::RespawnTokenCount()
  6131. Description: Returns active respawn token count.
  6132.  
  6133. Function: CNMRiH_Player::SetExtracted
  6134. Signature: void CNMRiH_Player::SetExtracted(bool)
  6135. Description: Sets this player as extracted.
  6136.  
  6137. Function: CNMRiH_Player::SetHandModelOverride
  6138. Signature: void CNMRiH_Player::SetHandModelOverride(string)
  6139. Description: Overrides viewmodel hands, with string parameter for model name.
  6140.  
  6141. Function: CNMRiH_Player::SetIdleTimeout
  6142. Signature: void CNMRiH_Player::SetIdleTimeout(float)
  6143. Description: Sets timeout for idle auto-kick.
  6144.  
  6145. Function: CNMRiH_Player::SetIgnoreFallDamage
  6146. Signature: void CNMRiH_Player::SetIgnoreFallDamage(bool)
  6147. Description: Makes the player ignore all fall damage.
  6148.  
  6149. Function: CNMRiH_Player::SetNextRespawnTime
  6150. Signature: void CNMRiH_Player::SetNextRespawnTime(float)
  6151. Description: Sets next respawn time for this player.
  6152.  
  6153. Function: CNMRiH_Player::SetNextSpawnTryTime
  6154. Signature: void CNMRiH_Player::SetNextSpawnTryTime(float)
  6155. Description: Sets next spawn attempt time for this player.
  6156.  
  6157. Function: CNMRiH_Player::SetRespawnTokens
  6158. Signature: void CNMRiH_Player::SetRespawnTokens(int, bool)
  6159. Description: Sets active respawn tokens, with boolean parameter if player should be notified.
  6160.  
  6161. Function: CNMRiH_Player::SetSpawnWeapon
  6162. Signature: void CNMRiH_Player::SetSpawnWeapon(string, int)
  6163. Description: Sets starting weapon when player spawns, with weapon classname, and ammo percent as integer.
  6164.  
  6165. Function: CNMRiH_Player::SetSpeedModifier
  6166. Signature: void CNMRiH_Player::SetSpeedModifier(float)
  6167. Description: Sets overall player speed modifier, applied last.
  6168.  
  6169. Function: CNMRiH_Player::SetSpeedOverride
  6170. Signature: void CNMRiH_Player::SetSpeedOverride(float)
  6171. Description: Overrides player speed to an absolute value, ignoring all modifiers.
  6172.  
  6173. Function: CNMRiH_Player::SetStamina
  6174. Signature: void CNMRiH_Player::SetStamina(float)
  6175. Description: Sets player stamina.
  6176.  
  6177. Function: CNMRiH_Player::SetUsingProgressTrigger
  6178. Signature: void CNMRiH_Player::SetUsingProgressTrigger(bool)
  6179. Description: Sets the state of player using a tool.
  6180.  
  6181. Function: CNMRiH_Player::ShouldIgnoreFallDamage
  6182. Signature: bool CNMRiH_Player::ShouldIgnoreFallDamage()
  6183. Description: Returns true if player should ignore fall damage.
  6184.  
  6185. Function: CNMRiH_Player::StopBleedingOut
  6186. Signature: void CNMRiH_Player::StopBleedingOut()
  6187. Description: Stops bleeding.
  6188.  
  6189. Function: CNMRiH_Player::ThrowAllAmmo
  6190. Signature: void CNMRiH_Player::ThrowAllAmmo()
  6191. Description: Throws all ammo that player owns.
  6192.  
  6193. Function: CNMRiH_Player::ThrowAllCustomItems
  6194. Signature: void CNMRiH_Player::ThrowAllCustomItems()
  6195. Description: Throws all custom items that player owns.
  6196.  
  6197. Function: CNMRiH_Player::ThrowAllWeapons
  6198. Signature: void CNMRiH_Player::ThrowAllWeapons()
  6199. Description: Throws all weapons that player owns.
  6200.  
  6201. Function: CNMRiH_Player::VoiceCommand
  6202. Signature: void CNMRiH_Player::VoiceCommand(int, bool)
  6203. Description: Tries a voice command, with boolean parameter for playing it regardless of cooldown.
  6204.  
  6205. Function: CNMRiH_WeaponBase::AllowsSelectiveFire
  6206. Signature: bool CNMRiH_WeaponBase::AllowsSelectiveFire()
  6207. Description: Returns true if the weapon allows different fire modes.
  6208.  
  6209. Function: CNMRiH_WeaponBase::AllowsSuicide
  6210. Signature: bool CNMRiH_WeaponBase::AllowsSuicide()
  6211.  
  6212. Function: CNMRiH_WeaponBase::CanIronsight
  6213. Signature: bool CNMRiH_WeaponBase::CanIronsight()
  6214.  
  6215. Function: CNMRiH_WeaponBase::ClearIconOverride
  6216. Signature: void CNMRiH_WeaponBase::ClearIconOverride()
  6217. Description: Resets icon back to default.
  6218.  
  6219. Function: CNMRiH_WeaponBase::ClearLabelOverride
  6220. Signature: void CNMRiH_WeaponBase::ClearLabelOverride()
  6221. Description: Resets label back to default.
  6222.  
  6223. Function: CNMRiH_WeaponBase::ClearShootSoundOverride
  6224. Signature: void CNMRiH_WeaponBase::ClearShootSoundOverride(string)
  6225. Description: Clears shoot sound override by key name.
  6226.  
  6227. Function: CNMRiH_WeaponBase::ClearViewModelOverride
  6228. Signature: void CNMRiH_WeaponBase::ClearViewModelOverride()
  6229. Description: Resets viewmodel back to default.
  6230.  
  6231. Function: CNMRiH_WeaponBase::ClearWeightOverride
  6232. Signature: void CNMRiH_WeaponBase::ClearWeightOverride()
  6233. Description: Resets physical weight back to default.
  6234.  
  6235. Function: CNMRiH_WeaponBase::ClearWorldModelOverride
  6236. Signature: void CNMRiH_WeaponBase::ClearWorldModelOverride()
  6237. Description: Resets world model back to default.
  6238.  
  6239. Function: CNMRiH_WeaponBase::GetBloodCount
  6240. Signature: int CNMRiH_WeaponBase::GetBloodCount()
  6241. Description: Returns visual bloodiness level.
  6242.  
  6243. Function: CNMRiH_WeaponBase::GetIronsightPlayerSpeed
  6244. Signature: float CNMRiH_WeaponBase::GetIronsightPlayerSpeed()
  6245. Description: Returns player movement speed while in ironsights.
  6246.  
  6247. Function: CNMRiH_WeaponBase::GetMaxThrowDistance
  6248. Signature: int CNMRiH_WeaponBase::GetMaxThrowDistance()
  6249. Description: Returns calculated distance for the weapon throw.
  6250.  
  6251. Function: CNMRiH_WeaponBase::GetThrower
  6252. Signature: handle CNMRiH_WeaponBase::GetThrower()
  6253. Description: Returns handle to weapon thrower.
  6254.  
  6255. Function: CNMRiH_WeaponBase::GetViewModelOverride
  6256. Signature: string CNMRiH_WeaponBase::GetViewModelOverride()
  6257. Description: Returns viewmodel override if it's set, empty string otherwise.
  6258.  
  6259. Function: CNMRiH_WeaponBase::GetWeaponID
  6260. Signature: int CNMRiH_WeaponBase::GetWeaponID()
  6261. Description: Returns weapon ID.
  6262.  
  6263. Function: CNMRiH_WeaponBase::GetWorldModelOverride
  6264. Signature: string CNMRiH_WeaponBase::GetWorldModelOverride()
  6265. Description: Returns world model override if it's set, empty string otherwise.
  6266.  
  6267. Function: CNMRiH_WeaponBase::HasFirstDrawActivity
  6268. Signature: bool CNMRiH_WeaponBase::HasFirstDrawActivity()
  6269. Description: Returns true if this weapon has an initial draw animation, e.g. pulling back the hammer on pistols.
  6270.  
  6271. Function: CNMRiH_WeaponBase::IsAttacking
  6272. Signature: bool CNMRiH_WeaponBase::IsAttacking()
  6273.  
  6274. Function: CNMRiH_WeaponBase::IsBashActiveTimeExpired
  6275. Signature: bool CNMRiH_WeaponBase::IsBashActiveTimeExpired()
  6276. Description: Returns true if the shove cooldown has expired.
  6277.  
  6278. Function: CNMRiH_WeaponBase::IsDry
  6279. Signature: bool CNMRiH_WeaponBase::IsDry()
  6280. Description: Returns true if the current magazine is empty.
  6281.  
  6282. Function: CNMRiH_WeaponBase::IsFlashlightAllowed
  6283. Signature: bool CNMRiH_WeaponBase::IsFlashlightAllowed()
  6284.  
  6285. Function: CNMRiH_WeaponBase::IsFlashlightOn
  6286. Signature: bool CNMRiH_WeaponBase::IsFlashlightOn()
  6287.  
  6288. Function: CNMRiH_WeaponBase::IsIdle
  6289. Signature: bool CNMRiH_WeaponBase::IsIdle()
  6290.  
  6291. Function: CNMRiH_WeaponBase::IsIronsighted
  6292. Signature: bool CNMRiH_WeaponBase::IsIronsighted()
  6293.  
  6294. Function: CNMRiH_WeaponBase::IsShoveStab
  6295. Signature: bool CNMRiH_WeaponBase::IsShoveStab()
  6296. Description: Returns true if the shove does stab, i.e. bayonet.
  6297.  
  6298. Function: CNMRiH_WeaponBase::SetIconOverride
  6299. Signature: void CNMRiH_WeaponBase::SetIconOverride(string)
  6300. Description: Overrides icon in the inventory wheel.
  6301.  
  6302. Function: CNMRiH_WeaponBase::SetLabelOverride
  6303. Signature: void CNMRiH_WeaponBase::SetLabelOverride(string)
  6304. Description: Overrides label in the inventory wheel.
  6305.  
  6306. Function: CNMRiH_WeaponBase::SetShootSoundOverride
  6307. Signature: void CNMRiH_WeaponBase::SetShootSoundOverride(string, string)
  6308. Description: Overrides shoot sound, with parameters of key name and sound name. For example: SetShootSoundOverride("single_shot", "Weapon_1911.Single"). Available keys: empty, single_shot, single_shot_npc, double_shot, double_shot_npc, burst, reload, reload_npc, melee_miss, melee_hit, melee_hit_world, special1, special2, special3, taunt, deploy
  6309.  
  6310. Function: CNMRiH_WeaponBase::SetViewModelOverride
  6311. Signature: void CNMRiH_WeaponBase::SetViewModelOverride(string)
  6312. Description: Overrides viewmodel, with string parameter for model name. Use with caution, sequences on the new model should match the existing weapon viewmodel!
  6313.  
  6314. Function: CNMRiH_WeaponBase::SetWeightOverride
  6315. Signature: void CNMRiH_WeaponBase::SetWeightOverride(int)
  6316. Description: Overrides physical weight.
  6317.  
  6318. Function: CNMRiH_WeaponBase::SetWorldModelOverride
  6319. Signature: void CNMRiH_WeaponBase::SetWorldModelOverride(string)
  6320. Description: Overrides world model, with string parameter for model name.
  6321.  
  6322. Function: CNMRiH_WeaponBase::UsesTacticalReload
  6323. Signature: bool CNMRiH_WeaponBase::UsesTacticalReload()
  6324. Description: Returns true if this weapon can be reloaded while having a full magazine.
  6325.  
  6326. Function: CNavMesh::FindNavAreaAlongRay
  6327. Signature: handle CNavMesh::FindNavAreaAlongRay(Vector, Vector, handle)
  6328. Description: Returns nav area from ray.
  6329.  
  6330. Function: CNavMesh::GetAllAreas
  6331. Signature: void CNavMesh::GetAllAreas(handle)
  6332. Description: Fills table with all areas in the nav mesh.
  6333.  
  6334. Function: CNavMesh::GetAreasWithAttributes
  6335. Signature: void CNavMesh::GetAreasWithAttributes(int, handle)
  6336. Description: Fills table with all areas that have specified NAV_MESH_* attributes.
  6337.  
  6338. Function: CNavMesh::GetNavArea
  6339. Signature: handle CNavMesh::GetNavArea(Vector, float)
  6340. Description: Given a position, return the nav area that IsOverlapping and is *immediately* beneath it.
  6341.  
  6342. Function: CNavMesh::GetNavAreaByID
  6343. Signature: handle CNavMesh::GetNavAreaByID(int)
  6344. Description: Given an ID, return the associated area.
  6345.  
  6346. Function: CNavMesh::GetNavAreaCount
  6347. Signature: int CNavMesh::GetNavAreaCount()
  6348. Description: Returns total number of nav areas.
  6349.  
  6350. Function: CNavMesh::GetNavAreasFromBuildPath
  6351. Signature: bool CNavMesh::GetNavAreasFromBuildPath(handle, handle, Vector, float, int, bool, handle)
  6352. Description: Fills table with areas from a path. Returns whether a path was found. If 'goalArea' is null, will compute a path as close as possible to 'goalPos'.
  6353.  
  6354. Function: CNavMesh::GetNavAreasInRadius
  6355. Signature: void CNavMesh::GetNavAreasInRadius(Vector, float, handle)
  6356. Description: Fills table with areas within radius of given position.
  6357.  
  6358. Function: CNavMesh::GetNavAreasOverlappingEntityExtent
  6359. Signature: void CNavMesh::GetNavAreasOverlappingEntityExtent(handle, handle)
  6360. Description: Fills table with areas overlapping entity's extent.
  6361.  
  6362. Function: CNavMesh::GetNearestNavArea
  6363. Signature: handle CNavMesh::GetNearestNavArea(Vector, float, bool, bool)
  6364. Description: Given a position in the world, return the nav area that is closest, and at the same height, or beneath it. Used to find initial area if we start off of the mesh.
  6365.  
  6366. Function: CNavMesh::GetObstructingEntities
  6367. Signature: void CNavMesh::GetObstructingEntities(handle)
  6368. Description: Fills table with all obstructing entities.
  6369.  
  6370. Function: CNavMesh::NavAreaBuildPath
  6371. Signature: bool CNavMesh::NavAreaBuildPath(handle, handle, Vector, float, int, bool)
  6372. Description: Returns true if a path exists. If 'goalArea' is null, will compute a path as close as possible to 'goalPos'.
  6373.  
  6374. Function: CNavMesh::NavAreaTravelDistance
  6375. Signature: float CNavMesh::NavAreaTravelDistance(handle, handle, float)
  6376. Description: Computes distance between two areas. Returns -1 if can't reach 'goalArea' from 'startArea'.
  6377.  
  6378. Function: CNavMesh::RegisterAvoidanceObstacle
  6379. Signature: void CNavMesh::RegisterAvoidanceObstacle(handle)
  6380.  
  6381. Function: CNavMesh::UnregisterAvoidanceObstacle
  6382. Signature: void CNavMesh::UnregisterAvoidanceObstacle(handle)
  6383.  
  6384. Function: CNetPropManager::GetPropArraySize
  6385. Signature: int CNetPropManager::GetPropArraySize(handle, string)
  6386. Description: Returns the size of an array.
  6387.  
  6388. Function: CNetPropManager::GetPropEntity
  6389. Signature: handle CNetPropManager::GetPropEntity(handle, string)
  6390. Description: Reads an entity.
  6391.  
  6392. Function: CNetPropManager::GetPropEntityArray
  6393. Signature: handle CNetPropManager::GetPropEntityArray(handle, string, int)
  6394. Description: Reads an entity from an array.
  6395.  
  6396. Function: CNetPropManager::GetPropFloat
  6397. Signature: float CNetPropManager::GetPropFloat(handle, string)
  6398. Description: Reads a float.
  6399.  
  6400. Function: CNetPropManager::GetPropFloatArray
  6401. Signature: float CNetPropManager::GetPropFloatArray(handle, string, int)
  6402. Description: Reads a float from an array.
  6403.  
  6404. Function: CNetPropManager::GetPropInt
  6405. Signature: int CNetPropManager::GetPropInt(handle, string)
  6406. Description: Reads an integer.
  6407.  
  6408. Function: CNetPropManager::GetPropIntArray
  6409. Signature: int CNetPropManager::GetPropIntArray(handle, string, int)
  6410. Description: Reads an integer from an array.
  6411.  
  6412. Function: CNetPropManager::GetPropString
  6413. Signature: string CNetPropManager::GetPropString(handle, string)
  6414. Description: Reads a string.
  6415.  
  6416. Function: CNetPropManager::GetPropStringArray
  6417. Signature: string CNetPropManager::GetPropStringArray(handle, string, int)
  6418. Description: Reads a string from an array.
  6419.  
  6420. Function: CNetPropManager::GetPropType
  6421. Signature: string CNetPropManager::GetPropType(handle, string)
  6422. Description: Returns the netprop type as a string.
  6423.  
  6424. Function: CNetPropManager::GetPropVector
  6425. Signature: Vector CNetPropManager::GetPropVector(handle, string)
  6426. Description: Reads a 3D vector.
  6427.  
  6428. Function: CNetPropManager::GetPropVectorArray
  6429. Signature: Vector CNetPropManager::GetPropVectorArray(handle, string, int)
  6430. Description: Reads a 3D vector from an array.
  6431.  
  6432. Function: CNetPropManager::HasProp
  6433. Signature: bool CNetPropManager::HasProp(handle, string)
  6434. Description: Checks if netprop/datafield exists.
  6435.  
  6436. Function: CNetPropManager::SetPropEntity
  6437. Signature: void CNetPropManager::SetPropEntity(handle, string, handle)
  6438. Description: Sets an entity.
  6439.  
  6440. Function: CNetPropManager::SetPropEntityArray
  6441. Signature: void CNetPropManager::SetPropEntityArray(handle, string, handle, int)
  6442. Description: Sets an entity in an array.
  6443.  
  6444. Function: CNetPropManager::SetPropFloat
  6445. Signature: void CNetPropManager::SetPropFloat(handle, string, float)
  6446. Description: Sets to the specified float.
  6447.  
  6448. Function: CNetPropManager::SetPropFloatArray
  6449. Signature: void CNetPropManager::SetPropFloatArray(handle, string, float, int)
  6450. Description: Sets a float in an array.
  6451.  
  6452. Function: CNetPropManager::SetPropInt
  6453. Signature: void CNetPropManager::SetPropInt(handle, string, int)
  6454. Description: Sets to the specified integer.
  6455.  
  6456. Function: CNetPropManager::SetPropIntArray
  6457. Signature: void CNetPropManager::SetPropIntArray(handle, string, int, int)
  6458. Description: Sets an integer in an array.
  6459.  
  6460. Function: CNetPropManager::SetPropString
  6461. Signature: void CNetPropManager::SetPropString(handle, string, string)
  6462. Description: Sets to the specified string.
  6463.  
  6464. Function: CNetPropManager::SetPropStringArray
  6465. Signature: void CNetPropManager::SetPropStringArray(handle, string, string, int)
  6466. Description: Sets a string in an array.
  6467.  
  6468. Function: CNetPropManager::SetPropVector
  6469. Signature: void CNetPropManager::SetPropVector(handle, string, Vector)
  6470. Description: Sets to the specified vector.
  6471.  
  6472. Function: CNetPropManager::SetPropVectorArray
  6473. Signature: void CNetPropManager::SetPropVectorArray(handle, string, Vector, int)
  6474. Description: Sets a 3D vector in an array.
  6475.  
  6476. Function: CObjective::GetDescription
  6477. Signature: string CObjective::GetDescription()
  6478.  
  6479. Function: CObjective::GetId
  6480. Signature: int CObjective::GetId()
  6481.  
  6482. Function: CObjective::GetName
  6483. Signature: string CObjective::GetName()
  6484.  
  6485. Function: CObjective::GetObjectiveBoundary
  6486. Signature: handle CObjective::GetObjectiveBoundary()
  6487. Description: Returns entity handle to current objective boundary.
  6488.  
  6489. Function: CObjective::GetObjectiveBoundaryName
  6490. Signature: string CObjective::GetObjectiveBoundaryName()
  6491. Description: Returns name of the current objective boundary.
  6492.  
  6493. Function: CObjective::IsAntiObjective
  6494. Signature: bool CObjective::IsAntiObjective()
  6495.  
  6496. Function: CObjective::SetDescription
  6497. Signature: void CObjective::SetDescription(string)
  6498.  
  6499. Function: CObjectiveManager::CompleteCurrentObjective
  6500. Signature: void CObjectiveManager::CompleteCurrentObjective(string)
  6501. Description: Completes current objective, with targetname parameter of forced extraction zone.
  6502.  
  6503. Function: CObjectiveManager::GetCurrentObjective
  6504. Signature: handle CObjectiveManager::GetCurrentObjective()
  6505. Description: Returns current objective instance.
  6506.  
  6507. Function: CObjectiveManager::GetCurrentObjectiveIndex
  6508. Signature: int CObjectiveManager::GetCurrentObjectiveIndex()
  6509. Description: Returns current objective index.
  6510.  
  6511. Function: CObjectiveManager::GetObjectiveById
  6512. Signature: handle CObjectiveManager::GetObjectiveById(int)
  6513. Description: Returns objective instance by ID.
  6514.  
  6515. Function: CObjectiveManager::GetObjectiveByIndex
  6516. Signature: handle CObjectiveManager::GetObjectiveByIndex(int)
  6517. Description: Returns objective instance by index.
  6518.  
  6519. Function: CObjectiveManager::GetObjectiveByName
  6520. Signature: handle CObjectiveManager::GetObjectiveByName(string)
  6521. Description: Returns objective instance by name.
  6522.  
  6523. Function: CObjectiveManager::GetObjectiveChain
  6524. Signature: void CObjectiveManager::GetObjectiveChain(handle)
  6525. Description: Fills array with current objective chain.
  6526.  
  6527. Function: CObjectiveManager::GetObjectiveCount
  6528. Signature: int CObjectiveManager::GetObjectiveCount()
  6529. Description: Returns total objective count.
  6530.  
  6531. Function: CObjectiveManager::IsCompleted
  6532. Signature: bool CObjectiveManager::IsCompleted()
  6533. Description: Returns true if objectives are complete.
  6534.  
  6535. Function: CObjectiveManager::IsFailed
  6536. Signature: bool CObjectiveManager::IsFailed()
  6537. Description: Returns true if objectives failed.
  6538.  
  6539. Function: CObjectiveManager::SendObjectiveNotify
  6540. Signature: void CObjectiveManager::SendObjectiveNotify(string)
  6541. Description: Broadcasts objective notification to all clients, with string parameter of description.
  6542.  
  6543. Function: CObjectiveManager::SendObjectiveNotifyToPlayer
  6544. Signature: void CObjectiveManager::SendObjectiveNotifyToPlayer(handle, string)
  6545. Description: Sends individual objective notification to a given player, with string parameter of description.
  6546.  
  6547. Function: CObjectiveManager::SendObjectiveUpdate
  6548. Signature: void CObjectiveManager::SendObjectiveUpdate(string)
  6549. Description: Silently updates objective HUD for all clients, with string parameter of description.
  6550.  
  6551. Function: CObjectiveManager::SendObjectiveUpdateToPlayer
  6552. Signature: void CObjectiveManager::SendObjectiveUpdateToPlayer(handle, string)
  6553. Description: Silently updates individual objective HUD for a given player, with string parameter of description.
  6554.  
  6555. Function: CObjectiveManager::StartNextObjective
  6556. Signature: void CObjectiveManager::StartNextObjective()
  6557. Description: Starts next objective on the chain.
  6558.  
  6559. Function: COverlord_Wave_Controller::CouldJoinServerAndSpawn
  6560. Signature: bool COverlord_Wave_Controller::CouldJoinServerAndSpawn()
  6561. Description: Returns true if players are able to spawn after joining the server.
  6562.  
  6563. Function: COverlord_Wave_Controller::DidComplete
  6564. Signature: bool COverlord_Wave_Controller::DidComplete()
  6565. Description: Returns true if completed.
  6566.  
  6567. Function: COverlord_Wave_Controller::DidFail
  6568. Signature: bool COverlord_Wave_Controller::DidFail()
  6569. Description: Returns true if failed.
  6570.  
  6571. Function: COverlord_Wave_Controller::GetNPCsKilled
  6572. Signature: int COverlord_Wave_Controller::GetNPCsKilled()
  6573. Description: Returns count of NPCs killed.
  6574.  
  6575. Function: COverlord_Wave_Controller::GetNPCsSpawned
  6576. Signature: int COverlord_Wave_Controller::GetNPCsSpawned()
  6577. Description: Returns count of NPCs spawned.
  6578.  
  6579. Function: COverlord_Wave_Controller::GetStopWaveNumber
  6580. Signature: int COverlord_Wave_Controller::GetStopWaveNumber()
  6581. Description: Get stop wave number.
  6582.  
  6583. Function: COverlord_Wave_Controller::GetWaveNumber
  6584. Signature: int COverlord_Wave_Controller::GetWaveNumber()
  6585. Description: Get current wave number.
  6586.  
  6587. Function: COverlord_Wave_Controller::GetWaveProgressPercent
  6588. Signature: float COverlord_Wave_Controller::GetWaveProgressPercent()
  6589. Description: Returns percentage of current wave progress.
  6590.  
  6591. Function: COverlord_Wave_Controller::IsCurrentWaveResupply
  6592. Signature: bool COverlord_Wave_Controller::IsCurrentWaveResupply()
  6593. Description: Returns true if current wave is resupply wave.
  6594.  
  6595. Function: COverlord_Wave_Controller::IsWaveResupply
  6596. Signature: bool COverlord_Wave_Controller::IsWaveResupply(int)
  6597. Description: Returns true if waveNum is resupply wave.
  6598.  
  6599. Function: COverlord_Wave_Controller::ResetPlayerTokens
  6600. Signature: void COverlord_Wave_Controller::ResetPlayerTokens()
  6601. Description: Resets respawn tokens on all players.
  6602.  
  6603. Function: COverlord_Zombie_Helper::DisableSpawning
  6604. Signature: void COverlord_Zombie_Helper::DisableSpawning()
  6605.  
  6606. Function: COverlord_Zombie_Helper::EnableSpawning
  6607. Signature: void COverlord_Zombie_Helper::EnableSpawning()
  6608.  
  6609. Function: COverlord_Zombie_Helper::Spawn
  6610. Signature: void COverlord_Zombie_Helper::Spawn(int, string)
  6611. Description: Instantly spawns zombies across all active spawn brushes. Optionally specify a spawn target name.
  6612.  
  6613. Function: COverlord_Zombie_Helper::SpawnIgnoreVisibility
  6614. Signature: void COverlord_Zombie_Helper::SpawnIgnoreVisibility(int, string)
  6615. Description: Same as Spawn, but ignores visiblity checks.
  6616.  
  6617. Function: CPointMessageMultiplayer::Disable
  6618. Signature: void CPointMessageMultiplayer::Disable()
  6619. Description: Stops displaying the text.
  6620.  
  6621. Function: CPointMessageMultiplayer::Enable
  6622. Signature: void CPointMessageMultiplayer::Enable()
  6623. Description: Starts displaying the text for players within the radius.
  6624.  
  6625. Function: CPointMessageMultiplayer::SetFont
  6626. Signature: void CPointMessageMultiplayer::SetFont(string)
  6627. Description: Sets font (from ClientScheme.res).
  6628.  
  6629. Function: CPointMessageMultiplayer::SetFontDropShadow
  6630. Signature: void CPointMessageMultiplayer::SetFontDropShadow(bool)
  6631. Description: When true, font will have a drop shadow.
  6632.  
  6633. Function: CPointMessageMultiplayer::SetFontProportional
  6634. Signature: void CPointMessageMultiplayer::SetFontProportional(bool)
  6635. Description: When true, text will scale to user resolution.
  6636.  
  6637. Function: CPointMessageMultiplayer::SetHeightOffset
  6638. Signature: void CPointMessageMultiplayer::SetHeightOffset(float)
  6639. Description: When SetShouldOffsetPosition is set to true, this allows you to set message offset relative to entity bounds. For example, 0.5 would print at the center of the hull, while 1.25 prints slightly over the top.
  6640.  
  6641. Function: CPointMessageMultiplayer::SetMessage
  6642. Signature: void CPointMessageMultiplayer::SetMessage(string)
  6643. Description: Sets message text, supports localization strings.
  6644.  
  6645. Function: CPointMessageMultiplayer::SetRadius
  6646. Signature: void CPointMessageMultiplayer::SetRadius(float)
  6647. Description: Sets distance a player must be within to see this message. -1 to show everywhere.
  6648.  
  6649. Function: CPointMessageMultiplayer::SetShouldOffsetPosition
  6650. Signature: void CPointMessageMultiplayer::SetShouldOffsetPosition(bool)
  6651. Description: When true, text position will be offset relative to entity bounds. Works best when following parented entities. When false, use entity origin.
  6652.  
  6653. Function: CPointMessageMultiplayer::SetTextColor
  6654. Signature: void CPointMessageMultiplayer::SetTextColor(int, int, int)
  6655. Description: Sets text color, with RGB parameters.
  6656.  
  6657. Function: CPointViewControlMultiplayer::AddPlayer
  6658. Signature: void CPointViewControlMultiplayer::AddPlayer(handle)
  6659. Description: Adds the given player as a viewer for this entity. Starts the camera if it's off.
  6660.  
  6661. Function: CPointViewControlMultiplayer::Disable
  6662. Signature: void CPointViewControlMultiplayer::Disable()
  6663. Description: Disables the entity, and stops controlling the view for all players. The viewer list will be emptied.
  6664.  
  6665. Function: CPointViewControlMultiplayer::Enable
  6666. Signature: void CPointViewControlMultiplayer::Enable()
  6667. Description: Enables the entity, and starts controlling the player's view. If the list of viewers is empty, all players will be added.
  6668.  
  6669. Function: CPointViewControlMultiplayer::RemovePlayer
  6670. Signature: void CPointViewControlMultiplayer::RemovePlayer(handle)
  6671. Description: Removes the given player as a viewer for this entity.
  6672.  
  6673. Function: CPointWorldText::SetColor
  6674. Signature: void CPointWorldText::SetColor(int, int, int, int)
  6675. Description: Sets the message color, with RGBA parameters.
  6676.  
  6677. Function: CPointWorldText::SetFont
  6678. Signature: void CPointWorldText::SetFont(int)
  6679. Description: Sets the font, with index parameter.
  6680.  
  6681. Function: CPointWorldText::SetOrientation
  6682. Signature: void CPointWorldText::SetOrientation(int)
  6683. Description: Sets the orientation. 0: Stationary, 1: Face player, 2: Ignore pitch
  6684.  
  6685. Function: CPointWorldText::SetRainbow
  6686. Signature: void CPointWorldText::SetRainbow(bool)
  6687. Description: Enables rainbow text effect.
  6688.  
  6689. Function: CPointWorldText::SetText
  6690. Signature: void CPointWorldText::SetText(string)
  6691. Description: Sets the message text.
  6692.  
  6693. Function: CPointWorldText::SetTextSize
  6694. Signature: void CPointWorldText::SetTextSize(float)
  6695. Description: Sets the message text size.
  6696.  
  6697. Function: CPointWorldText::SetTextSpacingX
  6698. Signature: void CPointWorldText::SetTextSpacingX(float)
  6699. Description: Sets the spacing between letters along the X axis.
  6700.  
  6701. Function: CPointWorldText::SetTextSpacingY
  6702. Signature: void CPointWorldText::SetTextSpacingY(float)
  6703. Description: Sets the spacing between letters along the Y axis.
  6704.  
  6705. Function: CRagdollProp::GetRagdollObject
  6706. Signature: handle CRagdollProp::GetRagdollObject(int)
  6707. Description: Gets the ragdoll object of the specified index.
  6708.  
  6709. Function: CRagdollProp::GetRagdollObjectCount
  6710. Signature: int CRagdollProp::GetRagdollObjectCount()
  6711. Description: Gets the number of ragdoll objects on this ragdoll.
  6712.  
  6713. Function: CRagdollProp::SetSourceClassName
  6714. Signature: void CRagdollProp::SetSourceClassName(string)
  6715. Description: Sets the ragdoll's source classname.
  6716.  
  6717. Function: CRandomSpawnController::GetSpawnLimits
  6718. Signature: void CRandomSpawnController::GetSpawnLimits(handle)
  6719. Description: Fills table with spawn limits.
  6720.  
  6721. Function: CRandomSpawnController::IsSpawnOfTypeAllowed
  6722. Signature: bool CRandomSpawnController::IsSpawnOfTypeAllowed(string)
  6723. Description: Returns true if this classname can be spawned.
  6724.  
  6725. Function: CRandom_Spawner::GetSpawnedItem
  6726. Signature: handle CRandom_Spawner::GetSpawnedItem()
  6727. Description: Returns a handle to most recent spawned item that was created by this spawner.
  6728.  
  6729. Function: CRandom_Spawner::SetDisallowInitialSpawn
  6730. Signature: void CRandom_Spawner::SetDisallowInitialSpawn(bool)
  6731. Description: When true, don't create an item on spawn. Overrides map spawnflags.
  6732.  
  6733. Function: CRandom_Spawner::SpawnItem
  6734. Signature: handle CRandom_Spawner::SpawnItem(string)
  6735. Description: Spawns an item by classname or a keyname, ignores random spawner controller. Returns handle to a spawned item.
  6736.  
  6737. Function: CRandom_Spawner::SpawnRandomItem
  6738. Signature: handle CRandom_Spawner::SpawnRandomItem()
  6739. Description: Spawns a random item based on current item weights, respects random spawner controller. Returns handle to a spawned item.
  6740.  
  6741. Function: CRulesetManager::ApplyCvars
  6742. Signature: void CRulesetManager::ApplyCvars(string)
  6743. Description: Applies cvars by string in "<cvar> <value>" format, and optionally with ';' delimiter for multiple cvars.
  6744.  
  6745. Function: CRulesetManager::RevertCvar
  6746. Signature: void CRulesetManager::RevertCvar(string)
  6747. Description: Reverts cvar by name to ruleset value (when available), or default.
  6748.  
  6749. Function: CSceneEntity::EstimateLength
  6750. Signature: float CSceneEntity::EstimateLength()
  6751. Description: Returns length of this scene in seconds.
  6752.  
  6753. Function: CSceneEntity::FindNamedEntity
  6754. Signature: handle CSceneEntity::FindNamedEntity(string)
  6755. Description: given an entity reference, such as !target, get actual entity from scene object
  6756.  
  6757. Function: CSceneEntity::IsPaused
  6758. Signature: bool CSceneEntity::IsPaused()
  6759. Description: If this scene is currently paused.
  6760.  
  6761. Function: CSceneEntity::IsPlayingBack
  6762. Signature: bool CSceneEntity::IsPlayingBack()
  6763. Description: If this scene is currently playing.
  6764.  
  6765. Function: CSceneEntity::LoadSceneFromString
  6766. Signature: bool CSceneEntity::LoadSceneFromString(string, string)
  6767. Description: given a dummy scene name and a vcd string, load the scene
  6768.  
  6769. Function: CSceneListManager::GetScene
  6770. Signature: handle CSceneListManager::GetScene(int)
  6771. Description: Gets the specified scene index from this manager.
  6772.  
  6773. Function: CScriptKeyValues::FindKey
  6774. Signature: handle CScriptKeyValues::FindKey(string)
  6775. Description: Given a KeyValues object and a key name, find a KeyValues object associated with the key name
  6776.  
  6777. Function: CScriptKeyValues::FindOrCreateKey
  6778. Signature: handle CScriptKeyValues::FindOrCreateKey(string)
  6779. Description: Given a KeyValues object and a key name, find or create a KeyValues object associated with the key name
  6780.  
  6781. Function: CScriptKeyValues::GetBool
  6782. Signature: bool CScriptKeyValues::GetBool()
  6783. Description: Given a KeyValues object, return its own associated bool value
  6784.  
  6785. Function: CScriptKeyValues::GetFirstSubKey
  6786. Signature: handle CScriptKeyValues::GetFirstSubKey()
  6787. Description: Given a KeyValues object, return the first sub key object
  6788.  
  6789. Function: CScriptKeyValues::GetFloat
  6790. Signature: float CScriptKeyValues::GetFloat()
  6791. Description: Given a KeyValues object, return its own associated float value
  6792.  
  6793. Function: CScriptKeyValues::GetInt
  6794. Signature: int CScriptKeyValues::GetInt()
  6795. Description: Given a KeyValues object, return its own associated integer value
  6796.  
  6797. Function: CScriptKeyValues::GetKeyBool
  6798. Signature: bool CScriptKeyValues::GetKeyBool(string)
  6799. Description: Given a KeyValues object and a key name, return associated bool value
  6800.  
  6801. Function: CScriptKeyValues::GetKeyFloat
  6802. Signature: float CScriptKeyValues::GetKeyFloat(string)
  6803. Description: Given a KeyValues object and a key name, return associated float value
  6804.  
  6805. Function: CScriptKeyValues::GetKeyInt
  6806. Signature: int CScriptKeyValues::GetKeyInt(string)
  6807. Description: Given a KeyValues object and a key name, return associated integer value
  6808.  
  6809. Function: CScriptKeyValues::GetKeyString
  6810. Signature: string CScriptKeyValues::GetKeyString(string)
  6811. Description: Given a KeyValues object and a key name, return associated string value
  6812.  
  6813. Function: CScriptKeyValues::GetName
  6814. Signature: string CScriptKeyValues::GetName()
  6815. Description: Given a KeyValues object, return its name
  6816.  
  6817. Function: CScriptKeyValues::GetNextKey
  6818. Signature: handle CScriptKeyValues::GetNextKey()
  6819. Description: Given a KeyValues object, return the next key object in a sub key group
  6820.  
  6821. Function: CScriptKeyValues::GetString
  6822. Signature: string CScriptKeyValues::GetString()
  6823. Description: Given a KeyValues object, return its own associated string value
  6824.  
  6825. Function: CScriptKeyValues::IsKeyEmpty
  6826. Signature: bool CScriptKeyValues::IsKeyEmpty(string)
  6827. Description: Given a KeyValues object and a key name, return true if key name has no value
  6828.  
  6829. Function: CScriptKeyValues::ReleaseKeyValues
  6830. Signature: void CScriptKeyValues::ReleaseKeyValues()
  6831. Description: Given a root KeyValues object, release its contents
  6832.  
  6833. Function: CScriptKeyValues::SetBool
  6834. Signature: void CScriptKeyValues::SetBool(bool)
  6835. Description: Given a KeyValues object, set its own associated bool value
  6836.  
  6837. Function: CScriptKeyValues::SetFloat
  6838. Signature: void CScriptKeyValues::SetFloat(float)
  6839. Description: Given a KeyValues object, set its own associated float value
  6840.  
  6841. Function: CScriptKeyValues::SetInt
  6842. Signature: void CScriptKeyValues::SetInt(int)
  6843. Description: Given a KeyValues object, set its own associated integer value
  6844.  
  6845. Function: CScriptKeyValues::SetKeyBool
  6846. Signature: void CScriptKeyValues::SetKeyBool(string, bool)
  6847. Description: Given a KeyValues object and a key name, set associated bool value
  6848.  
  6849. Function: CScriptKeyValues::SetKeyFloat
  6850. Signature: void CScriptKeyValues::SetKeyFloat(string, float)
  6851. Description: Given a KeyValues object and a key name, set associated float value
  6852.  
  6853. Function: CScriptKeyValues::SetKeyInt
  6854. Signature: void CScriptKeyValues::SetKeyInt(string, int)
  6855. Description: Given a KeyValues object and a key name, set associated integer value
  6856.  
  6857. Function: CScriptKeyValues::SetKeyString
  6858. Signature: void CScriptKeyValues::SetKeyString(string, string)
  6859. Description: Given a KeyValues object and a key name, set associated string value
  6860.  
  6861. Function: CScriptKeyValues::SetName
  6862. Signature: void CScriptKeyValues::SetName(string)
  6863. Description: Given a KeyValues object, set its name
  6864.  
  6865. Function: CScriptKeyValues::SetString
  6866. Signature: void CScriptKeyValues::SetString(string)
  6867. Description: Given a KeyValues object, set its own associated string value
  6868.  
  6869. Function: CScriptKeyValues::SubKeysToTable
  6870. Signature: void CScriptKeyValues::SubKeysToTable(handle)
  6871. Description: Converts to script table.
  6872.  
  6873. Function: CScriptKeyValues::TableToSubKeys
  6874. Signature: void CScriptKeyValues::TableToSubKeys(handle)
  6875. Description: Converts a script table to KeyValues.
  6876.  
  6877. Function: CScriptNavArea::AddIncomingConnection
  6878. Signature: void CScriptNavArea::AddIncomingConnection(handle, int)
  6879. Description: The area 'source' is connected to us along our 'incomingEdgeDir' edge.
  6880.  
  6881. Function: CScriptNavArea::ComputeClosestPointInPortal
  6882. Signature: Vector CScriptNavArea::ComputeClosestPointInPortal(handle, int, Vector)
  6883. Description: Compute closest point within the 'portal' between to adjacent areas.
  6884.  
  6885. Function: CScriptNavArea::ComputeDirection
  6886. Signature: int CScriptNavArea::ComputeDirection(Vector)
  6887. Description: Returns direction from this area to the given point.
  6888.  
  6889. Function: CScriptNavArea::ConnectTo
  6890. Signature: void CScriptNavArea::ConnectTo(handle, int)
  6891. Description: Connect this area to given area in given direction.
  6892.  
  6893. Function: CScriptNavArea::Contains
  6894. Signature: bool CScriptNavArea::Contains(handle)
  6895. Description: Returns true if area completely contains other area.
  6896.  
  6897. Function: CScriptNavArea::ContainsOrigin
  6898. Signature: bool CScriptNavArea::ContainsOrigin(Vector)
  6899. Description: Returns true if given point is on or above this area, but no others
  6900.  
  6901. Function: CScriptNavArea::Disconnect
  6902. Signature: void CScriptNavArea::Disconnect(handle)
  6903. Description: Disconnect this area from given area.
  6904.  
  6905. Function: CScriptNavArea::FindRandomSpot
  6906. Signature: Vector CScriptNavArea::FindRandomSpot()
  6907.  
  6908. Function: CScriptNavArea::GetAdjacentArea
  6909. Signature: handle CScriptNavArea::GetAdjacentArea(int, int)
  6910. Description: Returns number of connected areas in given direction.
  6911.  
  6912. Function: CScriptNavArea::GetAttributes
  6913. Signature: int CScriptNavArea::GetAttributes()
  6914.  
  6915. Function: CScriptNavArea::GetAvoidanceObstacleHeight
  6916. Signature: float CScriptNavArea::GetAvoidanceObstacleHeight()
  6917. Description: Returns the maximum height of the obstruction above the ground.
  6918.  
  6919. Function: CScriptNavArea::GetCenter
  6920. Signature: Vector CScriptNavArea::GetCenter()
  6921.  
  6922. Function: CScriptNavArea::GetCorner
  6923. Signature: Vector CScriptNavArea::GetCorner(int)
  6924. Description: Returns the coordinates of the area's corner.
  6925.  
  6926. Function: CScriptNavArea::GetDistanceSquaredToPoint
  6927. Signature: float CScriptNavArea::GetDistanceSquaredToPoint(Vector)
  6928. Description: Returns shortest distance squared between point and this area.
  6929.  
  6930. Function: CScriptNavArea::GetHidingSpots
  6931. Signature: void CScriptNavArea::GetHidingSpots(handle)
  6932. Description: Fills table with nested tables containing properties from available hiding spots.
  6933.  
  6934. Function: CScriptNavArea::GetID
  6935. Signature: int CScriptNavArea::GetID()
  6936. Description: Returns this area's unique ID.
  6937.  
  6938. Function: CScriptNavArea::GetIncomingConnections
  6939. Signature: void CScriptNavArea::GetIncomingConnections(int, handle)
  6940. Description: Get areas connected TO this area by a ONE-WAY link (i.e. we have no connection back to them).
  6941.  
  6942. Function: CScriptNavArea::GetParent
  6943. Signature: handle CScriptNavArea::GetParent()
  6944. Description: Returns the area just prior to this on the search path.
  6945.  
  6946. Function: CScriptNavArea::GetParentHow
  6947. Signature: int CScriptNavArea::GetParentHow()
  6948. Description: Returns nav traverse type on how we get from parent to us.
  6949.  
  6950. Function: CScriptNavArea::GetPlayerCount
  6951. Signature: int CScriptNavArea::GetPlayerCount(int)
  6952. Description: Returns number of players of given team currently within this area (team of zero means any/all).
  6953.  
  6954. Function: CScriptNavArea::GetRandomAdjacentArea
  6955. Signature: handle CScriptNavArea::GetRandomAdjacentArea(int)
  6956.  
  6957. Function: CScriptNavArea::GetSizeX
  6958. Signature: float CScriptNavArea::GetSizeX()
  6959.  
  6960. Function: CScriptNavArea::GetSizeY
  6961. Signature: float CScriptNavArea::GetSizeY()
  6962.  
  6963. Function: CScriptNavArea::GetZ
  6964. Signature: float CScriptNavArea::GetZ(Vector)
  6965. Description: Returns Z of area at (x,y) of 'pos', trilinear interpolation of Z values at quad edges, note that pos.z is not used.
  6966.  
  6967. Function: CScriptNavArea::HasAttributes
  6968. Signature: bool CScriptNavArea::HasAttributes(int)
  6969.  
  6970. Function: CScriptNavArea::HasAvoidanceObstacle
  6971. Signature: bool CScriptNavArea::HasAvoidanceObstacle(float)
  6972. Description: Returns true if there is a large, immobile object obstructing this area.
  6973.  
  6974. Function: CScriptNavArea::IsBlocked
  6975. Signature: bool CScriptNavArea::IsBlocked(int, bool)
  6976. Description: Returns true if area is blocked, with parameters of team ID and boolean for ignoring nav blockers.
  6977.  
  6978. Function: CScriptNavArea::IsCompletelyVisible
  6979. Signature: bool CScriptNavArea::IsCompletelyVisible(handle)
  6980. Description: Returns true if given area is completely visible from somewhere in this area.
  6981.  
  6982. Function: CScriptNavArea::IsCompletelyVisibleToTeam
  6983. Signature: bool CScriptNavArea::IsCompletelyVisibleToTeam(int)
  6984. Description: Returns true if given area is completely visible from somewhere in this area by someone on the team.
  6985.  
  6986. Function: CScriptNavArea::IsConnected
  6987. Signature: bool CScriptNavArea::IsConnected(handle, int)
  6988. Description: Returns true if given area is connected in given direction, if dir == NUM_DIRECTIONS, check all directions (direction is unknown).
  6989.  
  6990. Function: CScriptNavArea::IsCoplanar
  6991. Signature: bool CScriptNavArea::IsCoplanar(handle)
  6992. Description: Returns true if this area and given area are approximately co-planar.
  6993.  
  6994. Function: CScriptNavArea::IsDamaging
  6995. Signature: bool CScriptNavArea::IsDamaging()
  6996. Description: Returns true if continuous damage (i.e. fire) is in this area.
  6997.  
  6998. Function: CScriptNavArea::IsDegenerate
  6999. Signature: bool CScriptNavArea::IsDegenerate()
  7000. Description: Returns true if this area is badly formed.
  7001.  
  7002. Function: CScriptNavArea::IsEdge
  7003. Signature: bool CScriptNavArea::IsEdge(int)
  7004. Description: Returns true if there are no bi-directional links on the given side.
  7005.  
  7006. Function: CScriptNavArea::IsFlat
  7007. Signature: bool CScriptNavArea::IsFlat()
  7008. Description: Returns true if this area is approximately flat.
  7009.  
  7010. Function: CScriptNavArea::IsOverlapping
  7011. Signature: bool CScriptNavArea::IsOverlapping(handle)
  7012. Description: Returns true if 'area' overlaps our 2D extents.
  7013.  
  7014. Function: CScriptNavArea::IsPotentiallyVisible
  7015. Signature: bool CScriptNavArea::IsPotentiallyVisible(handle)
  7016. Description: Returns true if given area is potentially visible from somewhere in this area.
  7017.  
  7018. Function: CScriptNavArea::IsPotentiallyVisibleToTeam
  7019. Signature: bool CScriptNavArea::IsPotentiallyVisibleToTeam(int)
  7020. Description: Returns true if any portion of this area is visible to anyone on the given team.
  7021.  
  7022. Function: CScriptNavArea::IsRoughlySquare
  7023. Signature: bool CScriptNavArea::IsRoughlySquare()
  7024. Description: Returns true if this area is approximately square.
  7025.  
  7026. Function: CScriptNavArea::IsUnderwater
  7027. Signature: bool CScriptNavArea::IsUnderwater()
  7028.  
  7029. Function: CScriptNavArea::IsVisible
  7030. Signature: bool CScriptNavArea::IsVisible(Vector)
  7031. Description: Returns true if area is visible from the given eyepoint.
  7032.  
  7033. Function: CScriptNavArea::MarkAsBlocked
  7034. Signature: void CScriptNavArea::MarkAsBlocked(int)
  7035. Description: An entity can force a nav area to be blocked.
  7036.  
  7037. Function: CScriptNavArea::MarkAsDamaging
  7038. Signature: void CScriptNavArea::MarkAsDamaging(float)
  7039. Description: Mark this area is damaging for the next 'duration' seconds.
  7040.  
  7041. Function: CScriptNavArea::MarkObstacleToAvoid
  7042. Signature: void CScriptNavArea::MarkObstacleToAvoid(float)
  7043.  
  7044. Function: CScriptNavArea::RemoveAttributes
  7045. Signature: void CScriptNavArea::RemoveAttributes(int)
  7046.  
  7047. Function: CScriptNavArea::RemoveOrthogonalConnections
  7048. Signature: void CScriptNavArea::RemoveOrthogonalConnections(int)
  7049. Description: Removes all connections in directions to left and right of specified direction.
  7050.  
  7051. Function: CScriptNavArea::SetAttributes
  7052. Signature: void CScriptNavArea::SetAttributes(int)
  7053.  
  7054. Function: CScriptNavArea::UnblockArea
  7055. Signature: void CScriptNavArea::UnblockArea()
  7056. Description: Clear blocked status for the given team(s).
  7057.  
  7058. Function: CSound::DoesSoundExpire
  7059. Signature: bool CSound::DoesSoundExpire()
  7060. Description: Returns true if the sound expires.
  7061.  
  7062. Function: CSound::GetOwner
  7063. Signature: handle CSound::GetOwner()
  7064. Description: Gets the sound's owner.
  7065.  
  7066. Function: CSound::GetSoundOrigin
  7067. Signature: Vector CSound::GetSoundOrigin()
  7068. Description: Gets the sound's origin.
  7069.  
  7070. Function: CSound::GetSoundReactOrigin
  7071. Signature: Vector CSound::GetSoundReactOrigin()
  7072. Description: Gets the sound's react origin.
  7073.  
  7074. Function: CSound::GetTarget
  7075. Signature: handle CSound::GetTarget()
  7076. Description: Gets the sound's target.
  7077.  
  7078. Function: CSound::IsScent
  7079. Signature: bool CSound::IsScent()
  7080. Description: Returns true if this is a type of scent (as opposed to a sound).
  7081.  
  7082. Function: CSound::IsSound
  7083. Signature: bool CSound::IsSound()
  7084. Description: Returns true if this is a type of sound (as opposed to a scent).
  7085.  
  7086. Function: CSound::IsSoundType
  7087. Signature: bool CSound::IsSoundType(int)
  7088. Description: Returns true if the sound type is the specified type.
  7089.  
  7090. Function: CSound::OccludedVolume
  7091. Signature: float CSound::OccludedVolume()
  7092. Description: Gets the sound's occluded volume.
  7093.  
  7094. Function: CSound::Reset
  7095. Signature: void CSound::Reset()
  7096. Description: Clears the volume, type, and origin for the sound without actually removing it.
  7097.  
  7098. Function: CSound::SetSoundOrigin
  7099. Signature: void CSound::SetSoundOrigin(Vector)
  7100. Description: Sets the sound's origin.
  7101.  
  7102. Function: CSound::SoundChannel
  7103. Signature: int CSound::SoundChannel()
  7104. Description: Gets the sound's channel.
  7105.  
  7106. Function: CSound::SoundContext
  7107. Signature: int CSound::SoundContext()
  7108. Description: Gets the sound type with contexts only.
  7109.  
  7110. Function: CSound::SoundExpirationTime
  7111. Signature: float CSound::SoundExpirationTime()
  7112. Description: Gets the sound's expiration time.
  7113.  
  7114. Function: CSound::SoundType
  7115. Signature: int CSound::SoundType()
  7116. Description: Gets the raw sound type.
  7117.  
  7118. Function: CSound::SoundTypeNoContext
  7119. Signature: int CSound::SoundTypeNoContext()
  7120. Description: Gets the sound type with contexts excluded.
  7121.  
  7122. Function: CSound::ValidateOwner
  7123. Signature: bool CSound::ValidateOwner()
  7124. Description: Returns true if the sound's owner is still valid or if the sound never had an owner in the first place.
  7125.  
  7126. Function: CSound::Volume
  7127. Signature: int CSound::Volume()
  7128. Description: Gets the sound's volume.
  7129.  
  7130. Function: CTakeDamageInfo::AddDamage
  7131. Signature: void CTakeDamageInfo::AddDamage(float)
  7132. Description: Adds to the damage.
  7133.  
  7134. Function: CTakeDamageInfo::AddDamageType
  7135. Signature: void CTakeDamageInfo::AddDamageType(int)
  7136. Description: Adds to the damage type.
  7137.  
  7138. Function: CTakeDamageInfo::BaseDamageIsValid
  7139. Signature: bool CTakeDamageInfo::BaseDamageIsValid()
  7140. Description: Checks if the base damage is valid.
  7141.  
  7142. Function: CTakeDamageInfo::GetAmmoName
  7143. Signature: string CTakeDamageInfo::GetAmmoName()
  7144. Description: Gets the ammo type name.
  7145.  
  7146. Function: CTakeDamageInfo::GetAmmoType
  7147. Signature: int CTakeDamageInfo::GetAmmoType()
  7148. Description: Gets the ammo type.
  7149.  
  7150. Function: CTakeDamageInfo::GetAttacker
  7151. Signature: handle CTakeDamageInfo::GetAttacker()
  7152. Description: Gets the attacker.
  7153.  
  7154. Function: CTakeDamageInfo::GetBaseDamage
  7155. Signature: float CTakeDamageInfo::GetBaseDamage()
  7156. Description: Gets the base damage.
  7157.  
  7158. Function: CTakeDamageInfo::GetDamage
  7159. Signature: float CTakeDamageInfo::GetDamage()
  7160. Description: Gets the damage.
  7161.  
  7162. Function: CTakeDamageInfo::GetDamageBonus
  7163. Signature: float CTakeDamageInfo::GetDamageBonus()
  7164. Description: Gets the damage bonus.
  7165.  
  7166. Function: CTakeDamageInfo::GetDamageCustom
  7167. Signature: int CTakeDamageInfo::GetDamageCustom()
  7168. Description: Gets the damage custom.
  7169.  
  7170. Function: CTakeDamageInfo::GetDamageForce
  7171. Signature: Vector CTakeDamageInfo::GetDamageForce()
  7172. Description: Gets the damage force.
  7173.  
  7174. Function: CTakeDamageInfo::GetDamagePosition
  7175. Signature: Vector CTakeDamageInfo::GetDamagePosition()
  7176. Description: Gets the damage position.
  7177.  
  7178. Function: CTakeDamageInfo::GetDamageStats
  7179. Signature: int CTakeDamageInfo::GetDamageStats()
  7180. Description: Gets the damage stats.
  7181.  
  7182. Function: CTakeDamageInfo::GetDamageType
  7183. Signature: int CTakeDamageInfo::GetDamageType()
  7184. Description: Gets the damage type.
  7185.  
  7186. Function: CTakeDamageInfo::GetDamagedOtherPlayers
  7187. Signature: int CTakeDamageInfo::GetDamagedOtherPlayers()
  7188. Description: Gets whether other players have been damaged.
  7189.  
  7190. Function: CTakeDamageInfo::GetInflictor
  7191. Signature: handle CTakeDamageInfo::GetInflictor()
  7192. Description: Gets the inflictor.
  7193.  
  7194. Function: CTakeDamageInfo::GetMaxDamage
  7195. Signature: float CTakeDamageInfo::GetMaxDamage()
  7196. Description: Gets the max damage.
  7197.  
  7198. Function: CTakeDamageInfo::GetPlayerPenetrationCount
  7199. Signature: int CTakeDamageInfo::GetPlayerPenetrationCount()
  7200. Description: Gets the player penetration count.
  7201.  
  7202. Function: CTakeDamageInfo::GetReportedPosition
  7203. Signature: Vector CTakeDamageInfo::GetReportedPosition()
  7204. Description: Gets the reported damage position.
  7205.  
  7206. Function: CTakeDamageInfo::GetWeapon
  7207. Signature: handle CTakeDamageInfo::GetWeapon()
  7208. Description: Gets the weapon.
  7209.  
  7210. Function: CTakeDamageInfo::IsForceFriendlyFire
  7211. Signature: bool CTakeDamageInfo::IsForceFriendlyFire()
  7212. Description: Gets force friendly fire.
  7213.  
  7214. Function: CTakeDamageInfo::ScaleDamage
  7215. Signature: void CTakeDamageInfo::ScaleDamage(float)
  7216. Description: Scales the damage.
  7217.  
  7218. Function: CTakeDamageInfo::ScaleDamageForce
  7219. Signature: void CTakeDamageInfo::ScaleDamageForce(float)
  7220. Description: Scales the damage force.
  7221.  
  7222. Function: CTakeDamageInfo::SetAmmoType
  7223. Signature: void CTakeDamageInfo::SetAmmoType(int)
  7224. Description: Sets the ammo type.
  7225.  
  7226. Function: CTakeDamageInfo::SetAttacker
  7227. Signature: void CTakeDamageInfo::SetAttacker(handle)
  7228. Description: Sets the attacker.
  7229.  
  7230. Function: CTakeDamageInfo::SetDamage
  7231. Signature: void CTakeDamageInfo::SetDamage(float)
  7232. Description: Sets the damage.
  7233.  
  7234. Function: CTakeDamageInfo::SetDamageBonus
  7235. Signature: void CTakeDamageInfo::SetDamageBonus(float)
  7236. Description: Sets the damage bonus.
  7237.  
  7238. Function: CTakeDamageInfo::SetDamageBonusWithProvider
  7239. Signature: void CTakeDamageInfo::SetDamageBonusWithProvider(float, handle)
  7240. Description: Sets the damage bonus.
  7241.  
  7242. Function: CTakeDamageInfo::SetDamageCustom
  7243. Signature: void CTakeDamageInfo::SetDamageCustom(int)
  7244. Description: Sets the damage custom.
  7245.  
  7246. Function: CTakeDamageInfo::SetDamageForce
  7247. Signature: void CTakeDamageInfo::SetDamageForce(Vector)
  7248. Description: Sets the damage force.
  7249.  
  7250. Function: CTakeDamageInfo::SetDamagePosition
  7251. Signature: void CTakeDamageInfo::SetDamagePosition(Vector)
  7252. Description: Sets the damage position.
  7253.  
  7254. Function: CTakeDamageInfo::SetDamageStats
  7255. Signature: void CTakeDamageInfo::SetDamageStats(int)
  7256. Description: Sets the damage stats.
  7257.  
  7258. Function: CTakeDamageInfo::SetDamageType
  7259. Signature: void CTakeDamageInfo::SetDamageType(int)
  7260. Description: Sets the damage type.
  7261.  
  7262. Function: CTakeDamageInfo::SetDamagedOtherPlayers
  7263. Signature: void CTakeDamageInfo::SetDamagedOtherPlayers(int)
  7264. Description: Sets whether other players have been damaged.
  7265.  
  7266. Function: CTakeDamageInfo::SetForceFriendlyFire
  7267. Signature: void CTakeDamageInfo::SetForceFriendlyFire(bool)
  7268. Description: Sets force friendly fire.
  7269.  
  7270. Function: CTakeDamageInfo::SetInflictor
  7271. Signature: void CTakeDamageInfo::SetInflictor(handle)
  7272. Description: Sets the inflictor.
  7273.  
  7274. Function: CTakeDamageInfo::SetMaxDamage
  7275. Signature: void CTakeDamageInfo::SetMaxDamage(float)
  7276. Description: Sets the max damage.
  7277.  
  7278. Function: CTakeDamageInfo::SetPlayerPenetrationCount
  7279. Signature: void CTakeDamageInfo::SetPlayerPenetrationCount(int)
  7280. Description: Sets the player penetration count.
  7281.  
  7282. Function: CTakeDamageInfo::SetReportedPosition
  7283. Signature: void CTakeDamageInfo::SetReportedPosition(Vector)
  7284. Description: Sets the reported damage position.
  7285.  
  7286. Function: CTakeDamageInfo::SetWeapon
  7287. Signature: void CTakeDamageInfo::SetWeapon(handle)
  7288. Description: Sets the weapon.
  7289.  
  7290. Function: CTakeDamageInfo::SubtractDamage
  7291. Signature: void CTakeDamageInfo::SubtractDamage(float)
  7292. Description: Removes from the damage.
  7293.  
  7294. Function: CUserCmd::GetButtons
  7295. Signature: int CUserCmd::GetButtons()
  7296. Description: Input button state.
  7297.  
  7298. Function: CUserCmd::GetCommandNumber
  7299. Signature: int CUserCmd::GetCommandNumber()
  7300. Description: For matching server and client commands for debugging.
  7301.  
  7302. Function: CUserCmd::GetForwardMove
  7303. Signature: float CUserCmd::GetForwardMove()
  7304.  
  7305. Function: CUserCmd::GetImpulse
  7306. Signature: int CUserCmd::GetImpulse()
  7307. Description: Impulse command issued.
  7308.  
  7309. Function: CUserCmd::GetMouseX
  7310. Signature: int CUserCmd::GetMouseX()
  7311. Description: Mouse accum in x from create move.
  7312.  
  7313. Function: CUserCmd::GetMouseY
  7314. Signature: int CUserCmd::GetMouseY()
  7315. Description: Mouse accum in y from create move.
  7316.  
  7317. Function: CUserCmd::GetRandomSeed
  7318. Signature: int CUserCmd::GetRandomSeed()
  7319. Description: For shared random functions.
  7320.  
  7321. Function: CUserCmd::GetSideMove
  7322. Signature: float CUserCmd::GetSideMove()
  7323.  
  7324. Function: CUserCmd::GetTickCount
  7325. Signature: int CUserCmd::GetTickCount()
  7326. Description: The tick the client created this command.
  7327.  
  7328. Function: CUserCmd::GetUpMove
  7329. Signature: float CUserCmd::GetUpMove()
  7330.  
  7331. Function: CUserCmd::GetViewAngles
  7332. Signature: Vector CUserCmd::GetViewAngles()
  7333. Description: Player instantaneous view angles.
  7334.  
  7335. Function: CUserCmd::GetWeaponSelect
  7336. Signature: int CUserCmd::GetWeaponSelect()
  7337. Description: Current weapon id.
  7338.  
  7339. Function: CUserCmd::GetWeaponSubtype
  7340. Signature: int CUserCmd::GetWeaponSubtype()
  7341. Description: Current weapon subtype id.
  7342.  
  7343. Function: CUserCmd::SetButtons
  7344. Signature: void CUserCmd::SetButtons(int)
  7345. Description: Sets input button state.
  7346.  
  7347. Function: CUserCmd::SetForwardMove
  7348. Signature: void CUserCmd::SetForwardMove(float)
  7349.  
  7350. Function: CUserCmd::SetImpulse
  7351. Signature: void CUserCmd::SetImpulse(int)
  7352. Description: Sets impulse command issued.
  7353.  
  7354. Function: CUserCmd::SetMouseX
  7355. Signature: void CUserCmd::SetMouseX(int)
  7356. Description: Sets mouse accum in x from create move.
  7357.  
  7358. Function: CUserCmd::SetMouseY
  7359. Signature: void CUserCmd::SetMouseY(int)
  7360. Description: Sets mouse accum in y from create move.
  7361.  
  7362. Function: CUserCmd::SetSideMove
  7363. Signature: void CUserCmd::SetSideMove(float)
  7364.  
  7365. Function: CUserCmd::SetUpMove
  7366. Signature: void CUserCmd::SetUpMove(float)
  7367.  
  7368. Function: CUserCmd::SetViewAngles
  7369. Signature: void CUserCmd::SetViewAngles(Vector)
  7370. Description: Sets player instantaneous view angles.
  7371.  
  7372. Function: CUserCmd::SetWeaponSelect
  7373. Signature: void CUserCmd::SetWeaponSelect(int)
  7374. Description: Sets current weapon id.
  7375.  
  7376. Function: CUserCmd::SetWeaponSubtype
  7377. Signature: void CUserCmd::SetWeaponSubtype(int)
  7378. Description: Sets current weapon subtype id.
  7379.  
  7380. Function: CVersion::GetBuildDate
  7381. Signature: string CVersion::GetBuildDate()
  7382. Description: Returns build date.
  7383.  
  7384. Function: CVersion::GetBuildNumber
  7385. Signature: int CVersion::GetBuildNumber()
  7386. Description: Returns build number.
  7387.  
  7388. Function: CVersion::GetGameTitle
  7389. Signature: string CVersion::GetGameTitle()
  7390. Description: Returns game title.
  7391.  
  7392. Function: CVersion::GetVersionLabel
  7393. Signature: string CVersion::GetVersionLabel()
  7394. Description: Returns version label.
  7395.  
  7396. Function: CalcClosestPointOnAABB
  7397. Signature: Vector CalcClosestPointOnAABB(Vector, Vector, Vector)
  7398. Description: Returns the closest point on a bounding box.
  7399.  
  7400. Function: CalcClosestPointOnLine
  7401. Signature: Vector CalcClosestPointOnLine(Vector, Vector, Vector)
  7402. Description: Returns the closest point on a line.
  7403.  
  7404. Function: CalcClosestPointOnLineSegment
  7405. Signature: Vector CalcClosestPointOnLineSegment(Vector, Vector, Vector)
  7406. Description: Returns the closest point on a line segment.
  7407.  
  7408. Function: CalcDistanceToLine
  7409. Signature: float CalcDistanceToLine(Vector, Vector, Vector)
  7410. Description: Returns the distance to a line.
  7411.  
  7412. Function: CalcDistanceToLineSegment
  7413. Signature: float CalcDistanceToLineSegment(Vector, Vector, Vector)
  7414. Description: Returns the distance to a line segment.
  7415.  
  7416. Function: CalcSqrDistanceToAABB
  7417. Signature: float CalcSqrDistanceToAABB(Vector, Vector, Vector)
  7418. Description: Returns the squared distance to a bounding box.
  7419.  
  7420. Function: CalculateBulletDamageForce
  7421. Signature: void CalculateBulletDamageForce(handle, int, Vector, Vector, float)
  7422. Description: Fill out a damage info handle with a damage force for a bullet impact.
  7423.  
  7424. Function: CalculateExplosiveDamageForce
  7425. Signature: void CalculateExplosiveDamageForce(handle, Vector, Vector, float)
  7426. Description: Fill out a damage info handle with a damage force for an explosive.
  7427.  
  7428. Function: CalculateMeleeDamageForce
  7429. Signature: void CalculateMeleeDamageForce(handle, Vector, Vector, float)
  7430. Description: Fill out a damage info handle with a damage force for a melee impact.
  7431.  
  7432. Function: CenterPrint
  7433. Signature: void CenterPrint(handle, string)
  7434. Description: Sends HUD text message to the client. Usage: CenterPrint(<player ent handle>, <string>)
  7435.  
  7436. Function: CenterPrintAll
  7437. Signature: void CenterPrintAll(string)
  7438. Description: Sends HUD text message to all clients. Usage: CenterPrintAll(<string>)
  7439.  
  7440. Function: CenterPrintAllWithParams
  7441. Signature: void CenterPrintAllWithParams(string, string, string, string, string)
  7442. Description: Sends HUD text message to all clients, with optional string params. Format is limited to strings and is mapped to param order, i.e. %s1, %s2, %s3, %s4. You can pass an empty string as a param to skip. Usage: CenterPrintAllWithParams(<string>, <p1>, <p2>, <p3>, <p4>)
  7443.  
  7444. Function: CenterPrintWithParams
  7445. Signature: void CenterPrintWithParams(handle, string, string, string, string, string)
  7446. Description: Sends HUD text message to the client, with optional string params. Format is limited to strings and is mapped to param order, i.e. %s1, %s2, %s3, %s4. You can pass an empty string as a param to skip. Usage: CenterPrintWithParams(<player ent handle>, <string>, <p1>, <p2>, <p3>, <p4>)
  7447.  
  7448. Function: Color::GetRawColor
  7449. Signature: int Color::GetRawColor()
  7450. Description: Gets the raw color integer.
  7451.  
  7452. Function: Color::SetColor
  7453. Signature: void Color::SetColor(int, int, int, int)
  7454. Description: Sets the color.
  7455.  
  7456. Function: Color::SetRawColor
  7457. Signature: void Color::SetRawColor(int)
  7458. Description: Sets the raw color integer.
  7459.  
  7460. Function: ConcatTransforms
  7461. Signature: void ConcatTransforms(handle, handle, handle)
  7462. Description: Concatenates two transformation matrices into another matrix.
  7463.  
  7464. Function: CreateDamageInfo
  7465. Signature: handle CreateDamageInfo(handle, handle, Vector, Vector, float, int)
  7466.  
  7467. Function: CreateFireBulletsInfo
  7468. Signature: handle CreateFireBulletsInfo(int, Vector, Vector, Vector, float, handle)
  7469.  
  7470. Function: CreateProp
  7471. Signature: handle CreateProp(string, Vector, string, int)
  7472. Description: Create a physics prop
  7473.  
  7474. Function: CreateRope
  7475. Signature: handle CreateRope(handle, handle, int, int, float, string, int, int)
  7476. Description: Creates a single rope between two entities. Can optionally follow specific attachments.
  7477.  
  7478. Function: DebugDrawBox
  7479. Signature: void DebugDrawBox(Vector, Vector, Vector, int, int, int, int, float)
  7480. Description: Draw a debug overlay box
  7481.  
  7482. Function: DebugDrawLine
  7483. Signature: void DebugDrawLine(Vector, Vector, int, int, int, bool, float)
  7484. Description: Draw a debug overlay box
  7485.  
  7486. Function: DecalTrace
  7487. Signature: void DecalTrace(handle, string)
  7488. Description: Creates a dynamic decal based on the given trace info. The trace information can be generated by TraceLineComplex() and the decal name must be from decals_subrect.txt.
  7489.  
  7490. Function: DestroyDamageInfo
  7491. Signature: void DestroyDamageInfo(handle)
  7492.  
  7493. Function: DestroyFireBulletsInfo
  7494. Signature: void DestroyFireBulletsInfo(handle)
  7495.  
  7496. Function: DispatchParticleEffect
  7497. Signature: function DispatchParticleEffect(particleName, origin, angles, entity)
  7498. Description: Dispatches a one-off particle system
  7499.  
  7500. Function: DispatchParticleEffectByAttachment
  7501. Signature: void DispatchParticleEffectByAttachment(string, int, handle, string, bool)
  7502. Description: Dispatches one-off particle system by attaching to an entity. Params: <particle name>, <attach type>, <target entity>, <attachment name>, <reset all particles on entity?>
  7503.  
  7504. Function: DispatchSpawn
  7505. Signature: void DispatchSpawn(handle)
  7506. Description: Spawns an unspawned entity.
  7507.  
  7508. Function: DoIncludeScript
  7509. Signature: bool DoIncludeScript(string, handle)
  7510. Description: Execute a script (internal)
  7511.  
  7512. Function: EmitSoundOn
  7513. Signature: void EmitSoundOn(string, handle)
  7514. Description: Play named sound on an entity.
  7515.  
  7516. Function: EmitSoundOnClient
  7517. Signature: void EmitSoundOnClient(string, handle, handle)
  7518. Description: Play named sound only on the client for the specified player.
  7519.  
  7520. Function: EmitSoundParamsOn
  7521. Signature: void EmitSoundParamsOn(handle, handle)
  7522. Description: Play EmitSound_t params on an entity.
  7523.  
  7524. Function: EmitSound_t::ClearOrigin
  7525. Signature: void EmitSound_t::ClearOrigin()
  7526. Description: Clears the sound's origin override if it has one.
  7527.  
  7528. Function: EmitSound_t::GetChannel
  7529. Signature: int EmitSound_t::GetChannel()
  7530.  
  7531. Function: EmitSound_t::GetEmitCloseCaption
  7532. Signature: bool EmitSound_t::GetEmitCloseCaption()
  7533. Description: Gets whether or not the sound will emit closed captioning/subtitles.
  7534.  
  7535. Function: EmitSound_t::GetFlags
  7536. Signature: int EmitSound_t::GetFlags()
  7537. Description: Gets the sound's flags. See the 'SND_' set of constants.
  7538.  
  7539. Function: EmitSound_t::GetOrigin
  7540. Signature: Vector EmitSound_t::GetOrigin()
  7541. Description: Gets the sound's origin override.
  7542.  
  7543. Function: EmitSound_t::GetSoundLevel
  7544. Signature: int EmitSound_t::GetSoundLevel()
  7545. Description: Gets the sound's level in decibels. (Note that this may not apply to soundscripts)
  7546.  
  7547. Function: EmitSound_t::GetSoundName
  7548. Signature: string EmitSound_t::GetSoundName()
  7549. Description: Gets the sound's file path or soundscript name.
  7550.  
  7551. Function: EmitSound_t::GetSoundScriptHandle
  7552. Signature: int EmitSound_t::GetSoundScriptHandle()
  7553.  
  7554. Function: EmitSound_t::GetSoundTime
  7555. Signature: float EmitSound_t::GetSoundTime()
  7556. Description: Gets the time the sound will begin, relative to Time().
  7557.  
  7558. Function: EmitSound_t::GetSpeakerEntity
  7559. Signature: int EmitSound_t::GetSpeakerEntity()
  7560. Description: Gets the sound's original source if it is being transmitted by a microphone.
  7561.  
  7562. Function: EmitSound_t::GetSpecialDSP
  7563. Signature: int EmitSound_t::GetSpecialDSP()
  7564.  
  7565. Function: EmitSound_t::GetVolume
  7566. Signature: float EmitSound_t::GetVolume()
  7567. Description: (Note that this may not apply to soundscripts)
  7568.  
  7569. Function: EmitSound_t::GetWarnOnDirectWaveReference
  7570. Signature: bool EmitSound_t::GetWarnOnDirectWaveReference()
  7571. Description: Gets whether or not the sound will send a message to the console if it references a direct sound file instead of a soundscript.
  7572.  
  7573. Function: EmitSound_t::GetWarnOnMissingCloseCaption
  7574. Signature: bool EmitSound_t::GetWarnOnMissingCloseCaption()
  7575. Description: Gets whether or not the sound will send a message to the console if there is no corresponding closed captioning token.
  7576.  
  7577. Function: EmitSound_t::HasOrigin
  7578. Signature: bool EmitSound_t::HasOrigin()
  7579. Description: Returns true if the sound has an origin override.
  7580.  
  7581. Function: EmitSound_t::SetChannel
  7582. Signature: void EmitSound_t::SetChannel(int)
  7583.  
  7584. Function: EmitSound_t::SetEmitCloseCaption
  7585. Signature: void EmitSound_t::SetEmitCloseCaption(bool)
  7586. Description: Sets whether or not the sound will emit closed captioning/subtitles.
  7587.  
  7588. Function: EmitSound_t::SetFlags
  7589. Signature: void EmitSound_t::SetFlags(int)
  7590. Description: Sets the sound's flags. See the 'SND_' set of constants.
  7591.  
  7592. Function: EmitSound_t::SetOrigin
  7593. Signature: void EmitSound_t::SetOrigin(Vector)
  7594. Description: Sets the sound's origin override.
  7595.  
  7596. Function: EmitSound_t::SetSoundLevel
  7597. Signature: void EmitSound_t::SetSoundLevel(int)
  7598. Description: Sets the sound's level in decibels. (Note that this may not apply to soundscripts)
  7599.  
  7600. Function: EmitSound_t::SetSoundName
  7601. Signature: void EmitSound_t::SetSoundName(string)
  7602. Description: Sets the sound's file path or soundscript name.
  7603.  
  7604. Function: EmitSound_t::SetSoundScriptHandle
  7605. Signature: void EmitSound_t::SetSoundScriptHandle(int)
  7606.  
  7607. Function: EmitSound_t::SetSoundTime
  7608. Signature: void EmitSound_t::SetSoundTime(float)
  7609. Description: Sets the time the sound will begin, relative to Time().
  7610.  
  7611. Function: EmitSound_t::SetSpeakerEntity
  7612. Signature: void EmitSound_t::SetSpeakerEntity(int)
  7613. Description: Sets the sound's original source if it is being transmitted by a microphone.
  7614.  
  7615. Function: EmitSound_t::SetSpecialDSP
  7616. Signature: void EmitSound_t::SetSpecialDSP(int)
  7617.  
  7618. Function: EmitSound_t::SetVolume
  7619. Signature: void EmitSound_t::SetVolume(float)
  7620. Description: (Note that this may not apply to soundscripts)
  7621.  
  7622. Function: EmitSound_t::SetWarnOnDirectWaveReference
  7623. Signature: void EmitSound_t::SetWarnOnDirectWaveReference(bool)
  7624. Description: Sets whether or not the sound will send a message to the console if it references a direct sound file instead of a soundscript.
  7625.  
  7626. Function: EmitSound_t::SetWarnOnMissingCloseCaption
  7627. Signature: void EmitSound_t::SetWarnOnMissingCloseCaption(bool)
  7628. Description: Sets whether or not the sound will send a message to the console if there is no corresponding closed captioning token.
  7629.  
  7630. Function: EntFire
  7631. Signature: function EntFire(target, action, value, delay, activator, caller)
  7632. Description: Generate an entity i/o event
  7633.  
  7634. Function: EntFireByHandle
  7635. Signature: function EntFireByHandle(target, action, value, delay, activator, caller)
  7636. Description: Generate an entity i/o event. First parameter is an entity instance.
  7637.  
  7638. Function: EntIndexToHScript
  7639. Signature: handle EntIndexToHScript(int)
  7640. Description: Returns the script handle for the given entity index.
  7641.  
  7642. Function: EntitiesAtPoint
  7643. Signature: void EntitiesAtPoint(handle, int, Vector, int)
  7644. Description: Gets all entities which are intersecting a point in space. This function copies them to an array with a maximum number of elements.
  7645.  
  7646. Function: EntitiesInBox
  7647. Signature: void EntitiesInBox(handle, int, Vector, Vector, int)
  7648. Description: Gets all entities which are within a worldspace box. This function copies them to an array with a maximum number of elements.
  7649.  
  7650. Function: EntitiesInSphere
  7651. Signature: void EntitiesInSphere(handle, int, Vector, float, int)
  7652. Description: Gets all entities which are within a sphere. This function copies them to an array with a maximum number of elements.
  7653.  
  7654. Function: ExponentialDecay
  7655. Signature: float ExponentialDecay(float, float, float)
  7656. Description: decayTo is factor the value should decay to in decayTime
  7657.  
  7658. Function: FLerp
  7659. Signature: float FLerp(float, float, float, float, float)
  7660.  
  7661. Function: FMOD_PrecacheSound
  7662. Signature: bool FMOD_PrecacheSound(string)
  7663. Description: Precaches a sound file or soundscript entry to FMOD sound system.
  7664.  
  7665. Function: FileToKeyValues
  7666. Signature: handle FileToKeyValues(string)
  7667. Description: Returns the CScriptKeyValues from the file, null if no file or file is too big.
  7668.  
  7669. Function: FireBulletsInfo_t::GetAdditionalIgnoreEnt
  7670. Signature: handle FireBulletsInfo_t::GetAdditionalIgnoreEnt()
  7671.  
  7672. Function: FireBulletsInfo_t::GetAmmoType
  7673. Signature: int FireBulletsInfo_t::GetAmmoType()
  7674.  
  7675. Function: FireBulletsInfo_t::GetAttacker
  7676. Signature: handle FireBulletsInfo_t::GetAttacker()
  7677.  
  7678. Function: FireBulletsInfo_t::GetDamage
  7679. Signature: float FireBulletsInfo_t::GetDamage()
  7680. Description: Gets the damage the bullets should deal. 0 = use ammo type
  7681.  
  7682. Function: FireBulletsInfo_t::GetDamageForceScale
  7683. Signature: float FireBulletsInfo_t::GetDamageForceScale()
  7684.  
  7685. Function: FireBulletsInfo_t::GetDirShooting
  7686. Signature: Vector FireBulletsInfo_t::GetDirShooting()
  7687.  
  7688. Function: FireBulletsInfo_t::GetDistance
  7689. Signature: float FireBulletsInfo_t::GetDistance()
  7690. Description: Gets the distance the bullets should travel.
  7691.  
  7692. Function: FireBulletsInfo_t::GetFlags
  7693. Signature: int FireBulletsInfo_t::GetFlags()
  7694. Description: Gets the flags the bullets should use.
  7695.  
  7696. Function: FireBulletsInfo_t::GetPlayerDamage
  7697. Signature: int FireBulletsInfo_t::GetPlayerDamage()
  7698. Description: Gets the damage the bullets should deal when hitting the player. 0 = use regular damage
  7699.  
  7700. Function: FireBulletsInfo_t::GetPrimaryAttack
  7701. Signature: bool FireBulletsInfo_t::GetPrimaryAttack()
  7702. Description: Gets whether the bullets came from a primary attack.
  7703.  
  7704. Function: FireBulletsInfo_t::GetShots
  7705. Signature: int FireBulletsInfo_t::GetShots()
  7706. Description: Gets the number of shots which should be fired.
  7707.  
  7708. Function: FireBulletsInfo_t::GetSource
  7709. Signature: Vector FireBulletsInfo_t::GetSource()
  7710.  
  7711. Function: FireBulletsInfo_t::GetSpread
  7712. Signature: Vector FireBulletsInfo_t::GetSpread()
  7713.  
  7714. Function: FireBulletsInfo_t::GetTracerFreq
  7715. Signature: int FireBulletsInfo_t::GetTracerFreq()
  7716.  
  7717. Function: FireBulletsInfo_t::SetAdditionalIgnoreEnt
  7718. Signature: void FireBulletsInfo_t::SetAdditionalIgnoreEnt(handle)
  7719.  
  7720. Function: FireBulletsInfo_t::SetAmmoType
  7721. Signature: void FireBulletsInfo_t::SetAmmoType(int)
  7722.  
  7723. Function: FireBulletsInfo_t::SetAttacker
  7724. Signature: void FireBulletsInfo_t::SetAttacker(handle)
  7725.  
  7726. Function: FireBulletsInfo_t::SetDamage
  7727. Signature: void FireBulletsInfo_t::SetDamage(float)
  7728. Description: Sets the damage the bullets should deal. 0 = use ammo type
  7729.  
  7730. Function: FireBulletsInfo_t::SetDamageForceScale
  7731. Signature: void FireBulletsInfo_t::SetDamageForceScale(float)
  7732.  
  7733. Function: FireBulletsInfo_t::SetDirShooting
  7734. Signature: void FireBulletsInfo_t::SetDirShooting(Vector)
  7735.  
  7736. Function: FireBulletsInfo_t::SetDistance
  7737. Signature: void FireBulletsInfo_t::SetDistance(float)
  7738. Description: Sets the distance the bullets should travel.
  7739.  
  7740. Function: FireBulletsInfo_t::SetFlags
  7741. Signature: void FireBulletsInfo_t::SetFlags(float)
  7742. Description: Sets the flags the bullets should use.
  7743.  
  7744. Function: FireBulletsInfo_t::SetPlayerDamage
  7745. Signature: void FireBulletsInfo_t::SetPlayerDamage(float)
  7746. Description: Sets the damage the bullets should deal when hitting the player. 0 = use regular damage
  7747.  
  7748. Function: FireBulletsInfo_t::SetPrimaryAttack
  7749. Signature: void FireBulletsInfo_t::SetPrimaryAttack(bool)
  7750. Description: Sets whether the bullets came from a primary attack.
  7751.  
  7752. Function: FireBulletsInfo_t::SetShots
  7753. Signature: void FireBulletsInfo_t::SetShots(int)
  7754. Description: Sets the number of shots which should be fired.
  7755.  
  7756. Function: FireBulletsInfo_t::SetSource
  7757. Signature: void FireBulletsInfo_t::SetSource(Vector)
  7758.  
  7759. Function: FireBulletsInfo_t::SetSpread
  7760. Signature: void FireBulletsInfo_t::SetSpread(Vector)
  7761.  
  7762. Function: FireBulletsInfo_t::SetTracerFreq
  7763. Signature: void FireBulletsInfo_t::SetTracerFreq(int)
  7764.  
  7765. Function: FireGameEvent
  7766. Signature: void FireGameEvent(string, handle)
  7767. Description: Fire a game event.
  7768.  
  7769. Function: FireGameEventLocal
  7770. Signature: void FireGameEventLocal(string, handle)
  7771. Description: Fire a game event without broadcasting to the client.
  7772.  
  7773. Function: FrameTime
  7774. Signature: float FrameTime()
  7775. Description: Get the time spent on the server in the last frame
  7776.  
  7777. Function: FreeMatrixInstance
  7778. Signature: void FreeMatrixInstance(handle)
  7779. Description: Frees an allocated matrix instance.
  7780.  
  7781. Function: FreeQuaternionInstance
  7782. Signature: void FreeQuaternionInstance(handle)
  7783. Description: Frees an allocated quaternion instance.
  7784.  
  7785. Function: Gain
  7786. Signature: float Gain(float, float)
  7787. Description: Gain is similar to Bias, but biasAmt biases towards or away from 0.5.
  7788.  
  7789. Function: GetActivityName
  7790. Signature: string GetActivityName(int)
  7791. Description: Gets the name of the specified activity index.
  7792.  
  7793. Function: GetFrameCount
  7794. Signature: int GetFrameCount()
  7795. Description: Absolute frame counter
  7796.  
  7797. Function: GetLoadType
  7798. Signature: int GetLoadType()
  7799. Description: Get the way the current game was loaded (corresponds to the MapLoad enum)
  7800.  
  7801. Function: GetMapName
  7802. Signature: string GetMapName()
  7803. Description: Get the name of the map.
  7804.  
  7805. Function: GetPhysAngVelocity
  7806. Signature: Vector GetPhysAngVelocity(handle)
  7807. Description: Gets physics angular velocity for the given VPhysics object
  7808.  
  7809. Function: GetPhysVelocity
  7810. Signature: Vector GetPhysVelocity(handle)
  7811. Description: Gets physics velocity for the given VPhysics object
  7812.  
  7813. Function: GetPlayerByIndex
  7814. Signature: handle GetPlayerByIndex(int)
  7815. Description: Returns a handle to a player by index. Only returns if the player is spawned and connected, otherwise returns null.
  7816.  
  7817. Function: GetPlayerByName
  7818. Signature: handle GetPlayerByName(string)
  7819. Description: Returns a handle to a player by name.
  7820.  
  7821. Function: GetPlayerByUserId
  7822. Signature: handle GetPlayerByUserId(int)
  7823. Description: Returns a handle to a player by user id.
  7824.  
  7825. Function: GuessDamageForce
  7826. Signature: void GuessDamageForce(handle, Vector, Vector, float)
  7827. Description: Try and guess the physics force to use.
  7828.  
  7829. Function: IPhysicsObject::ApplyForceCenter
  7830. Signature: void IPhysicsObject::ApplyForceCenter(Vector)
  7831.  
  7832. Function: IPhysicsObject::ApplyForceOffset
  7833. Signature: void IPhysicsObject::ApplyForceOffset(Vector, Vector)
  7834.  
  7835. Function: IPhysicsObject::ApplyTorqueCenter
  7836. Signature: void IPhysicsObject::ApplyTorqueCenter(Vector)
  7837.  
  7838. Function: IPhysicsObject::EnableCollisions
  7839. Signature: void IPhysicsObject::EnableCollisions(bool)
  7840.  
  7841. Function: IPhysicsObject::EnableDrag
  7842. Signature: void IPhysicsObject::EnableDrag(bool)
  7843.  
  7844. Function: IPhysicsObject::EnableGravity
  7845. Signature: void IPhysicsObject::EnableGravity(bool)
  7846.  
  7847. Function: IPhysicsObject::EnableMotion
  7848. Signature: void IPhysicsObject::EnableMotion(bool)
  7849.  
  7850. Function: IPhysicsObject::GetInertia
  7851. Signature: Vector IPhysicsObject::GetInertia()
  7852.  
  7853. Function: IPhysicsObject::GetInvInertia
  7854. Signature: Vector IPhysicsObject::GetInvInertia()
  7855.  
  7856. Function: IPhysicsObject::GetInvMass
  7857. Signature: float IPhysicsObject::GetInvMass()
  7858.  
  7859. Function: IPhysicsObject::GetMass
  7860. Signature: float IPhysicsObject::GetMass()
  7861.  
  7862. Function: IPhysicsObject::GetName
  7863. Signature: string IPhysicsObject::GetName()
  7864.  
  7865. Function: IPhysicsObject::IsAsleep
  7866. Signature: bool IPhysicsObject::IsAsleep()
  7867.  
  7868. Function: IPhysicsObject::IsAttachedToConstraint
  7869. Signature: bool IPhysicsObject::IsAttachedToConstraint(bool)
  7870.  
  7871. Function: IPhysicsObject::IsCollisionEnabled
  7872. Signature: bool IPhysicsObject::IsCollisionEnabled()
  7873.  
  7874. Function: IPhysicsObject::IsDragEnabled
  7875. Signature: bool IPhysicsObject::IsDragEnabled()
  7876.  
  7877. Function: IPhysicsObject::IsFluid
  7878. Signature: bool IPhysicsObject::IsFluid()
  7879.  
  7880. Function: IPhysicsObject::IsGravityEnabled
  7881. Signature: bool IPhysicsObject::IsGravityEnabled()
  7882.  
  7883. Function: IPhysicsObject::IsHinged
  7884. Signature: bool IPhysicsObject::IsHinged()
  7885.  
  7886. Function: IPhysicsObject::IsMotionEnabled
  7887. Signature: bool IPhysicsObject::IsMotionEnabled()
  7888.  
  7889. Function: IPhysicsObject::IsMoveable
  7890. Signature: bool IPhysicsObject::IsMoveable()
  7891.  
  7892. Function: IPhysicsObject::IsStatic
  7893. Signature: bool IPhysicsObject::IsStatic()
  7894.  
  7895. Function: IPhysicsObject::IsTrigger
  7896. Signature: bool IPhysicsObject::IsTrigger()
  7897.  
  7898. Function: IPhysicsObject::SetInertia
  7899. Signature: void IPhysicsObject::SetInertia(Vector)
  7900.  
  7901. Function: IPhysicsObject::SetMass
  7902. Signature: void IPhysicsObject::SetMass(float)
  7903.  
  7904. Function: IPhysicsObject::Sleep
  7905. Signature: void IPhysicsObject::Sleep()
  7906.  
  7907. Function: IPhysicsObject::Wake
  7908. Signature: void IPhysicsObject::Wake()
  7909.  
  7910. Function: InsertAISound
  7911. Signature: void InsertAISound(int, Vector, int, float, handle, int, handle)
  7912. Description: Inserts an AI sound.
  7913.  
  7914. Function: IntervalPerTick
  7915. Signature: float IntervalPerTick()
  7916. Description: Simulation tick interval
  7917.  
  7918. Function: IsClient
  7919. Signature: bool IsClient()
  7920. Description: Returns true if the script is being run on the client.
  7921.  
  7922. Function: IsDedicatedServer
  7923. Signature: bool IsDedicatedServer()
  7924. Description: Is this a dedicated server?
  7925.  
  7926. Function: IsLinux
  7927. Signature: bool IsLinux()
  7928. Description: Returns true if the game is being run on a Linux machine.
  7929.  
  7930. Function: IsServer
  7931. Signature: bool IsServer()
  7932. Description: Returns true if the script is being run on the server.
  7933.  
  7934. Function: IsWindows
  7935. Signature: bool IsWindows()
  7936. Description: Returns true if the game is being run on a Windows machine.
  7937.  
  7938. Function: Lerp
  7939. Signature: float Lerp(float, float, float)
  7940.  
  7941. Function: ListenToGameEvent
  7942. Signature: int ListenToGameEvent(string, handle, string)
  7943. Description: Register as a listener for a game event from script.
  7944.  
  7945. Function: MatricesAreEqual
  7946. Signature: void MatricesAreEqual(handle, handle)
  7947. Description: Checks if two matrices are equal.
  7948.  
  7949. Function: MatrixAngles
  7950. Signature: void MatrixAngles(handle, Vector, Vector)
  7951. Description: Gets the angles and position of a matrix.
  7952.  
  7953. Function: MatrixCopy
  7954. Signature: void MatrixCopy(handle, handle)
  7955. Description: Copies a matrix to another matrix.
  7956.  
  7957. Function: MatrixGetColumn
  7958. Signature: Vector MatrixGetColumn(handle, int)
  7959. Description: Gets the column of a matrix.
  7960.  
  7961. Function: MatrixGetTranslation
  7962. Signature: Vector MatrixGetTranslation(handle)
  7963. Description: Gets a matrix's translation.
  7964.  
  7965. Function: MatrixInvert
  7966. Signature: void MatrixInvert(handle, handle)
  7967. Description: Inverts a matrix and copies the result to another matrix.
  7968.  
  7969. Function: MatrixQuaternion
  7970. Signature: void MatrixQuaternion(handle, handle)
  7971. Description: Converts a matrix to a quaternion.
  7972.  
  7973. Function: MatrixScaleBy
  7974. Signature: void MatrixScaleBy(float, handle)
  7975. Description: Scales a matrix.
  7976.  
  7977. Function: MatrixScaleByZero
  7978. Signature: void MatrixScaleByZero(handle)
  7979. Description: Scales a matrix by zero.
  7980.  
  7981. Function: MatrixSetColumn
  7982. Signature: void MatrixSetColumn(Vector, int, handle)
  7983. Description: Sets the column of a matrix.
  7984.  
  7985. Function: MatrixSetTranslation
  7986. Signature: void MatrixSetTranslation(Vector, handle)
  7987. Description: Sets a matrix's translation.
  7988.  
  7989. Function: MaxPlayers
  7990. Signature: int MaxPlayers()
  7991. Description: Get the maximum number of players allowed on this server
  7992.  
  7993. Function: Msg
  7994. Signature: void Msg(string)
  7995.  
  7996. Function: NPrint
  7997. Signature: void NPrint(int, string)
  7998. Description: Notification print
  7999.  
  8000. Function: NXPrint
  8001. Signature: void NXPrint(int, int, int, int, bool, float, string)
  8002. Description: Notification print, customised
  8003.  
  8004. Function: ParticleTracerEffect
  8005. Signature: void ParticleTracerEffect(string, Vector, Vector, int, int, bool)
  8006. Description: Makes a tracer effect by using a particle. Params: <particle name>, <startpos>, <endpos>, <entindex>, <attachment idx>, <should whiz?>
  8007.  
  8008. Function: PrecacheEntityFromTable
  8009. Signature: void PrecacheEntityFromTable(string, handle)
  8010. Description: Precache an entity from KeyValues in a table.
  8011.  
  8012. Function: PrecacheMaterial
  8013. Signature: void PrecacheMaterial(string)
  8014. Description: Precaches a material for later usage.
  8015.  
  8016. Function: PrecacheModel
  8017. Signature: int PrecacheModel(string, bool)
  8018. Description: Precaches a model for later usage.
  8019.  
  8020. Function: PrecacheOther
  8021. Signature: void PrecacheOther(string, string)
  8022. Description: Precaches an entity class for later usage.
  8023.  
  8024. Function: PrecacheParticleSystem
  8025. Signature: void PrecacheParticleSystem(string)
  8026. Description: Precaches a particle system for later usage.
  8027.  
  8028. Function: PredictedPosition
  8029. Signature: Vector PredictedPosition(handle, float)
  8030. Description: Predicts what an entity's position will be in a given amount of time.
  8031.  
  8032. Function: Quaternion::Init
  8033. Signature: void Quaternion::Init(float, float, float, float)
  8034. Description: Creates a quaternion with the given values.
  8035.  
  8036. Function: QuaternionAdd
  8037. Signature: void QuaternionAdd(handle, handle, handle)
  8038. Description: Adds two quaternions together into another quaternion.
  8039.  
  8040. Function: QuaternionAngles
  8041. Signature: Vector QuaternionAngles(handle)
  8042. Description: Converts a quaternion to angles.
  8043.  
  8044. Function: QuaternionMatrix
  8045. Signature: void QuaternionMatrix(handle, handle)
  8046. Description: Converts a quaternion to a matrix.
  8047.  
  8048. Function: RandomFloat
  8049. Signature: float RandomFloat(float, float)
  8050. Description: Generate a random floating point number within a range, inclusive.
  8051.  
  8052. Function: RandomInt
  8053. Signature: int RandomInt(int, int)
  8054. Description: Generate a random integer within a range, inclusive.
  8055.  
  8056. Function: ReadMapKeyValues
  8057. Signature: handle ReadMapKeyValues()
  8058. Description: Read the KeyValues from <mapname>_kv.txt file.
  8059.  
  8060. Function: RegisterActivityConstants
  8061. Signature: void RegisterActivityConstants()
  8062. Description: Registers all activity IDs as usable constants.
  8063.  
  8064. Function: RemapVal
  8065. Signature: float RemapVal(float, float, float, float, float)
  8066.  
  8067. Function: RemapValClamped
  8068. Signature: float RemapValClamped(float, float, float, float, float)
  8069.  
  8070. Function: SaveEntityKVToTable
  8071. Signature: void SaveEntityKVToTable(handle, handle)
  8072. Description: Saves an entity's keyvalues to a table.
  8073.  
  8074. Function: SetIdentityMatrix
  8075. Signature: void SetIdentityMatrix(handle)
  8076. Description: Turns a matrix into an identity matrix.
  8077.  
  8078. Function: SetPhysVelocity
  8079. Signature: void SetPhysVelocity(handle, Vector, Vector)
  8080. Description: Sets physics velocity for the given VPhysics object
  8081.  
  8082. Function: SetScaleMatrix
  8083. Signature: void SetScaleMatrix(float, float, float, handle)
  8084. Description: Builds a scale matrix.
  8085.  
  8086. Function: ShowMessage
  8087. Signature: void ShowMessage(string)
  8088. Description: Print a hud message on all clients
  8089.  
  8090. Function: SimpleSpline
  8091. Signature: float SimpleSpline(float)
  8092.  
  8093. Function: SimpleSplineRemapVal
  8094. Signature: float SimpleSplineRemapVal(float, float, float, float, float)
  8095. Description: remaps a value in [startInterval, startInterval+rangeInterval] from linear to spline using SimpleSpline
  8096.  
  8097. Function: SimpleSplineRemapValClamped
  8098. Signature: float SimpleSplineRemapValClamped(float, float, float, float, float)
  8099. Description: remaps a value in [startInterval, startInterval+rangeInterval] from linear to spline using SimpleSpline
  8100.  
  8101. Function: SmoothCurve
  8102. Signature: float SmoothCurve(float)
  8103. Description: SmoothCurve maps a 0-1 value into another 0-1 value based on a cosine wave
  8104.  
  8105. Function: SmoothCurve_Tweak
  8106. Signature: float SmoothCurve_Tweak(float, float, float)
  8107. Description: SmoothCurve peaks at flPeakPos, flPeakSharpness controls the sharpness of the peak
  8108.  
  8109. Function: SpawnEntityFromKeyValues
  8110. Signature: handle SpawnEntityFromKeyValues(string, handle)
  8111. Description: Spawns an entity with the keyvalues in a CScriptKeyValues handle.
  8112.  
  8113. Function: SpawnEntityFromTable
  8114. Signature: handle SpawnEntityFromTable(string, handle)
  8115. Description: Native function for entity spawning.
  8116.  
  8117. Function: StopListeningToAllGameEvents
  8118. Signature: void StopListeningToAllGameEvents(string)
  8119. Description: Stop listening to all game events within a specific context.
  8120.  
  8121. Function: StopListeningToGameEvent
  8122. Signature: bool StopListeningToGameEvent(int)
  8123. Description: Stop the specified event listener.
  8124.  
  8125. Function: Time
  8126. Signature: float Time()
  8127. Description: Get the current server time
  8128.  
  8129. Function: TraceHullComplex
  8130. Signature: handle TraceHullComplex(Vector, Vector, Vector, Vector, handle, int, int)
  8131. Description: Takes 2 points, min/max hull bounds, an ent to ignore, a trace mask, and a collision group to trace to a point using a hull. Returns a handle which can access all trace info.
  8132.  
  8133. Function: TraceLine
  8134. Signature: float TraceLine(Vector, Vector, handle)
  8135. Description: given 2 points & ent to ignore, return fraction along line that hits world or models
  8136.  
  8137. Function: TraceLineComplex
  8138. Signature: handle TraceLineComplex(Vector, Vector, handle, int, int)
  8139. Description: Complex version of TraceLine which takes 2 points, an ent to ignore, a trace mask, and a collision group. Returns a handle which can access all trace info.
  8140.  
  8141. Function: TraceLineEx
  8142. Signature: bool TraceLineEx(handle)
  8143. Description: Does a raycast along a line specified by two vectors, returning the first entity or geometry hit along the way. Results are written to the passed-in table. The input variables are kept in the table after the trace.
  8144.  
  8145. Function: TracerEffect
  8146. Signature: void TracerEffect(Vector, Vector, int, int, float, bool, string)
  8147. Description: Makes a tracer effect using the old non-particle system effects. Params: <startpos>, <endpos>, <target entity>, <entindex>, <attachment idx>, <velocity>, <should whiz?>, <custom tracer name>
  8148.  
  8149. Function: UniqueString
  8150. Signature: function UniqueString(string)
  8151. Description: Generate a string guaranteed to be unique across the life of the script VM, with an optional root string. Useful for adding data to tables when not sure what keys are already in use in that table.
  8152.  
  8153. Function: Vector::Cross
  8154. Signature: float Vector::Cross(vector)
  8155. Description: Return the vector product of two vectors.
  8156.  
  8157. Function: Vector::Dot
  8158. Signature: float Vector::Dot(vector)
  8159. Description: Return the dot/scalar product of two vectors.
  8160.  
  8161. Function: Vector::Length
  8162. Signature: float Vector::Length()
  8163. Description: Return the vector's length.
  8164.  
  8165. Function: Vector::Length2D
  8166. Signature: float Vector::Length2D()
  8167. Description: Return the vector's 2D length.
  8168.  
  8169. Function: Vector::Length2DSqr
  8170. Signature: float Vector::Length2DSqr()
  8171. Description: Return the vector's squared 2D length.
  8172.  
  8173. Function: Vector::LengthSqr
  8174. Signature: float Vector::LengthSqr()
  8175. Description: Return the vector's squared length.
  8176.  
  8177. Function: Vector::Norm
  8178. Signature: void Vector::Norm()
  8179. Description: Normalize the vector in place.
  8180.  
  8181. Function: Vector::Normalized
  8182. Signature: float Vector::Normalized()
  8183. Description: Return a normalized version of the vector.
  8184.  
  8185. Function: Vector::Scale
  8186. Signature: vector Vector::Scale(float)
  8187. Description: Scale the vector's magnitude and return the result.
  8188.  
  8189. Function: Vector::ToKVString
  8190. Signature: string Vector::ToKVString()
  8191. Description: Return a vector as a string in KeyValue form, without separation commas.
  8192.  
  8193. Function: VectorAngles
  8194. Signature: Vector VectorAngles(Vector)
  8195. Description: Turns a direction vector into an angle.
  8196.  
  8197. Function: VectorIRotate
  8198. Signature: Vector VectorIRotate(Vector, handle)
  8199. Description: Rotates a vector with the inverse of a matrix.
  8200.  
  8201. Function: VectorITransform
  8202. Signature: Vector VectorITransform(Vector, handle)
  8203. Description: Transforms a vector with the inverse of a matrix.
  8204.  
  8205. Function: VectorRotate
  8206. Signature: Vector VectorRotate(Vector, handle)
  8207. Description: Rotates a vector with a matrix.
  8208.  
  8209. Function: VectorTransform
  8210. Signature: Vector VectorTransform(Vector, handle)
  8211. Description: Transforms a vector with a matrix.
  8212.  
  8213. Function: WriteMapKeyValues
  8214. Signature: bool WriteMapKeyValues(handle)
  8215. Description: Stores the CScriptKeyValues into <mapname>_kv.txt file.
  8216.  
  8217. Function: clamp
  8218. Signature: float clamp(float, float, float)
  8219.  
  8220. Function: csurface_t::Name
  8221. Signature: string csurface_t::Name()
  8222.  
  8223. Function: csurface_t::SurfaceProps
  8224. Signature: handle csurface_t::SurfaceProps()
  8225. Description: The surface's properties.
  8226.  
  8227. Function: matrix3x4_t::Init
  8228. Signature: void matrix3x4_t::Init(Vector, Vector, Vector, Vector)
  8229. Description: Creates a matrix where the X axis = forward, the Y axis = left, and the Z axis = up.
  8230.  
  8231. Function: max
  8232. Signature: float max(float, float)
  8233.  
  8234. Function: min
  8235. Signature: float min(float, float)
  8236.  
  8237. Function: printc
  8238. Signature: void printc(int, int, int, string)
  8239. Description: Version of print() which takes a color before the message.
  8240.  
  8241. Function: printcl
  8242. Signature: void printcl(int, int, int, string)
  8243. Description: Version of printl() which takes a color before the message.
  8244.  
  8245. Function: scriptanimevent_t::GetCycle
  8246. Signature: float scriptanimevent_t::GetCycle()
  8247.  
  8248. Function: scriptanimevent_t::GetEvent
  8249. Signature: int scriptanimevent_t::GetEvent()
  8250.  
  8251. Function: scriptanimevent_t::GetEventTime
  8252. Signature: float scriptanimevent_t::GetEventTime()
  8253.  
  8254. Function: scriptanimevent_t::GetOptions
  8255. Signature: string scriptanimevent_t::GetOptions()
  8256.  
  8257. Function: scriptanimevent_t::GetSource
  8258. Signature: handle scriptanimevent_t::GetSource()
  8259. Description: Gets the event's source entity.
  8260.  
  8261. Function: scriptanimevent_t::GetType
  8262. Signature: int scriptanimevent_t::GetType()
  8263. Description: Gets the event's type flags. See the 'AE_TYPE_' set of constants for valid flags.
  8264.  
  8265. Function: scriptanimevent_t::SetCycle
  8266. Signature: void scriptanimevent_t::SetCycle(float)
  8267.  
  8268. Function: scriptanimevent_t::SetEvent
  8269. Signature: void scriptanimevent_t::SetEvent(int)
  8270.  
  8271. Function: scriptanimevent_t::SetEventTime
  8272. Signature: void scriptanimevent_t::SetEventTime(float)
  8273.  
  8274. Function: scriptanimevent_t::SetOptions
  8275. Signature: void scriptanimevent_t::SetOptions(string)
  8276.  
  8277. Function: scriptanimevent_t::SetSource
  8278. Signature: void scriptanimevent_t::SetSource(handle)
  8279. Description: Sets the event's source entity.
  8280.  
  8281. Function: scriptanimevent_t::SetType
  8282. Signature: void scriptanimevent_t::SetType(int)
  8283. Description: Sets the event's type flags. See the 'AE_TYPE_' set of constants for valid flags.
  8284.  
  8285. Function: surfacedata_t::GetFriction
  8286. Signature: float surfacedata_t::GetFriction()
  8287.  
  8288. Function: surfacedata_t::GetJumpFactor
  8289. Signature: float surfacedata_t::GetJumpFactor()
  8290.  
  8291. Function: surfacedata_t::GetMaterialChar
  8292. Signature: char surfacedata_t::GetMaterialChar()
  8293.  
  8294. Function: surfacedata_t::GetSoundBreak
  8295. Signature: string surfacedata_t::GetSoundBreak()
  8296.  
  8297. Function: surfacedata_t::GetSoundBulletImpact
  8298. Signature: string surfacedata_t::GetSoundBulletImpact()
  8299.  
  8300. Function: surfacedata_t::GetSoundImpactHard
  8301. Signature: string surfacedata_t::GetSoundImpactHard()
  8302.  
  8303. Function: surfacedata_t::GetSoundImpactSoft
  8304. Signature: string surfacedata_t::GetSoundImpactSoft()
  8305.  
  8306. Function: surfacedata_t::GetSoundRolling
  8307. Signature: string surfacedata_t::GetSoundRolling()
  8308.  
  8309. Function: surfacedata_t::GetSoundScrapeRough
  8310. Signature: string surfacedata_t::GetSoundScrapeRough()
  8311.  
  8312. Function: surfacedata_t::GetSoundScrapeSmooth
  8313. Signature: string surfacedata_t::GetSoundScrapeSmooth()
  8314.  
  8315. Function: surfacedata_t::GetSoundStepLeft
  8316. Signature: string surfacedata_t::GetSoundStepLeft()
  8317.  
  8318. Function: surfacedata_t::GetSoundStepRight
  8319. Signature: string surfacedata_t::GetSoundStepRight()
  8320.  
  8321. Function: surfacedata_t::GetSoundStrain
  8322. Signature: string surfacedata_t::GetSoundStrain()
  8323.  
  8324. Function: surfacedata_t::GetThickness
  8325. Signature: float surfacedata_t::GetThickness()
  8326.  
  8327. Member: Color.a
  8328. Signature: char Color.a
  8329. Description: Member variable for alpha. (transparency)
  8330.  
  8331. Member: Color.b
  8332. Signature: char Color.b
  8333. Description: Member variable for blue.
  8334.  
  8335. Member: Color.g
  8336. Signature: char Color.g
  8337. Description: Member variable for green.
  8338.  
  8339. Member: Color.r
  8340. Signature: char Color.r
  8341. Description: Member variable for red.
  8342.  
  8343. Member: Quaternion.w
  8344. Signature: float Quaternion.w
  8345. Description: The quaternion's scalar component.
  8346.  
  8347. Member: Quaternion.x
  8348. Signature: float Quaternion.x
  8349. Description: The quaternion's i axis component.
  8350.  
  8351. Member: Quaternion.y
  8352. Signature: float Quaternion.y
  8353. Description: The quaternion's j axis component.
  8354.  
  8355. Member: Quaternion.z
  8356. Signature: float Quaternion.z
  8357. Description: The quaternion's k axis component.
  8358.  
  8359. Member: Vector.x
  8360. Signature: float Vector.x
  8361. Description: The vector's X coordinate on the cartesian X axis.
  8362.  
  8363. Member: Vector.y
  8364. Signature: float Vector.y
  8365. Description: The vector's Y coordinate on the cartesian Y axis.
  8366.  
  8367. Member: Vector.z
  8368. Signature: float Vector.z
  8369. Description: The vector's Z coordinate on the cartesian Z axis.
  8370.  
  8371. Hook: CAI_BaseNPC -> GetActualShootPosition
  8372. Signature: void CAI_BaseNPC -> GetActualShootPosition(Vector [shootOrigin], handle [target])
  8373. Description: Called when the NPC is getting their actual shoot position, using the default shoot position as the parameter. (NOTE: NPCs which override this themselves might not always use this hook!)
  8374.  
  8375. Hook: CAI_BaseNPC -> NPC_TranslateActivity
  8376. Signature: variant CAI_BaseNPC -> NPC_TranslateActivity(string [activity], int [activity_id])
  8377. Description: Called when the NPC is translating their current activity. The activity is provided in both string and ID form. Should return either an activity string or an activity ID. Return -1 to not translate.
  8378.  
  8379. Hook: CAI_BaseNPC -> NPC_TranslateSchedule
  8380. Signature: variant CAI_BaseNPC -> NPC_TranslateSchedule(string [schedule], int [schedule_id])
  8381. Description: Called when the NPC is translating their current schedule. The schedule is provided in both string and ID form. Should return either a schedule string or a schedule ID. Return -1 to not translate.
  8382.  
  8383. Hook: CAI_BaseNPC -> QueryHearSound
  8384. Signature: bool CAI_BaseNPC -> QueryHearSound(handle [sound])
  8385. Description: Called when the NPC is deciding whether to hear a CSound or not.
  8386.  
  8387. Hook: CAI_BaseNPC -> QuerySeeEntity
  8388. Signature: bool CAI_BaseNPC -> QuerySeeEntity(handle [entity])
  8389. Description: Called when the NPC is deciding whether to see an entity or not.
  8390.  
  8391. Hook: CBaseAnimating -> HandleAnimEvent
  8392. Signature: bool CBaseAnimating -> HandleAnimEvent(handle [event])
  8393. Description: Called when handling animation events. Return false to cancel base handling.
  8394.  
  8395. Hook: CBaseAnimating -> OnServerRagdoll
  8396. Signature: void CBaseAnimating -> OnServerRagdoll(handle [ragdoll], bool [submodel])
  8397. Description: Called when this entity creates/turns into a server-side ragdoll.
  8398.  
  8399. Hook: CBaseCombatCharacter -> RelationshipPriority
  8400. Signature: int CBaseCombatCharacter -> RelationshipPriority(handle [entity], int [def])
  8401. Description: Called when a character's relationship priority for another entity is requested. Returning a number will make the game use that priority instead of the default priority. (note: 'default' in this case includes overrides from ai_relationship/SetRelationship)
  8402.  
  8403. Hook: CBaseCombatCharacter -> RelationshipType
  8404. Signature: int CBaseCombatCharacter -> RelationshipType(handle [entity], int [def])
  8405. Description: Called when a character's relationship to another entity is requested. Returning a disposition will make the game use that disposition instead of the default relationship. (note: 'default' in this case includes overrides from ai_relationship/SetRelationship)
  8406.  
  8407. Hook: CBaseEntity -> HandleInteraction
  8408. Signature: bool CBaseEntity -> HandleInteraction(int [interaction], handle [sourceEnt])
  8409. Description: Called for internal game interactions. See the g_interaction set of constants for more information. Returning true or false will return that value without falling to any internal handling. Returning nothing will allow the interaction to fall to any internal handling.
  8410.  
  8411. Hook: CBaseEntity -> ModifyEmitSoundParams
  8412. Signature: void CBaseEntity -> ModifyEmitSoundParams(handle [params])
  8413. Description: Called every time a sound is emitted on this entity, allowing for its parameters to be modified.
  8414.  
  8415. Hook: CBaseEntity -> ModifySentenceParams
  8416. Signature: void CBaseEntity -> ModifySentenceParams(handle [params])
  8417. Description: Called every time a sentence is emitted on this entity, allowing for its parameters to be modified.
  8418.  
  8419. Hook: CBaseEntity -> OnDeath
  8420. Signature: bool CBaseEntity -> OnDeath(handle [info])
  8421. Description: Called when the entity dies (Event_Killed). Returning false makes the entity cancel death, although this could have unforeseen consequences. For hooking any damage instead of just death, see filter_script and PassesFinalDamageFilter.
  8422.  
  8423. Hook: CBaseEntity -> OnEntText
  8424. Signature: string CBaseEntity -> OnEntText()
  8425. Description: Called every frame when ent_text is enabled on the entity. Return a string to be added to the ent_text printout.
  8426.  
  8427. Hook: CBaseEntity -> OnKilledOther
  8428. Signature: void CBaseEntity -> OnKilledOther(handle [victim], handle [info])
  8429. Description: Called when the entity kills another entity.
  8430.  
  8431. Hook: CBaseEntity -> UpdateOnRemove
  8432. Signature: void CBaseEntity -> UpdateOnRemove()
  8433. Description: Called when the entity is being removed.
  8434.  
  8435. Hook: CBaseEntity -> VPhysicsCollision
  8436. Signature: void CBaseEntity -> VPhysicsCollision(handle [entity], float [speed], Vector [point], Vector [normal])
  8437. Description: Called for every single VPhysics-related collision experienced by this entity.
  8438.  
  8439. Hook: CBasePlayer -> PlayerRunCommand
  8440. Signature: void CBasePlayer -> PlayerRunCommand(handle [command])
  8441. Description: Called when running a player command on the server.
  8442.  
  8443. Hook: CEntities -> OnEntityCreated
  8444. Signature: void CEntities -> OnEntityCreated(handle [entity])
  8445. Description: Called when an entity is created. Requires EnableEntityListening() to be fired beforehand.
  8446.  
  8447. Hook: CEntities -> OnEntityDeleted
  8448. Signature: void CEntities -> OnEntityDeleted(handle [entity])
  8449. Description: Called when an entity is deleted. Requires EnableEntityListening() to be fired beforehand.
  8450.  
  8451. Hook: CEntities -> OnEntitySpawned
  8452. Signature: void CEntities -> OnEntitySpawned(handle [entity])
  8453. Description: Called when an entity spawns. Requires EnableEntityListening() to be fired beforehand.
  8454.  
  8455. Hook: CFilterScript -> PassesDamageFilter
  8456. Signature: bool CFilterScript -> PassesDamageFilter(handle [caller], handle [info])
  8457. Description: A hook used by filter_script to determine what damage should pass it when it's being used as a damage filter. Return true if the info should pass or false if it should not. If this hook is not defined in a filter_script, damage filter requests will instead check PassesFilter with the attacker as the activator.
  8458.  
  8459. Hook: CFilterScript -> PassesFilter
  8460. Signature: bool CFilterScript -> PassesFilter(handle [caller], handle [activator])
  8461. Description: A hook used by filter_script to determine what entities should pass it. Return true if the entity should pass or false if it should not. This hook is required for regular filtering.
  8462.  
  8463. Hook: CNMRiH_ItemCustom -> OnItemApply
  8464. Signature: void CNMRiH_ItemCustom -> OnItemApply()
  8465. Description: Called when this item is applied by a player (i.e. clicked in the inventory wheel).
  8466.  
  8467. Hook: CNMRiH_ItemCustom -> OnItemDrop
  8468. Signature: void CNMRiH_ItemCustom -> OnItemDrop()
  8469. Description: Called when this item is dropped by a player.
  8470.  
  8471. Hook: CNMRiH_ItemCustom -> OnItemPickup
  8472. Signature: void CNMRiH_ItemCustom -> OnItemPickup()
  8473. Description: Called when a player picks up this item (with +USE).
  8474.  
  8475. Hook: CNMRiH_ItemCustom -> PostItemPickupThink
  8476. Signature: void CNMRiH_ItemCustom -> PostItemPickupThink()
  8477. Description: Called as a think function when the item is carried.
  8478.  
  8479. Hook: CNMRiH_ItemCustom -> PreItemPickupThink
  8480. Signature: void CNMRiH_ItemCustom -> PreItemPickupThink()
  8481. Description: Called as a think function when the item isn't carried.
  8482.  
Add Comment
Please, Sign In to add comment