Guest User

Untitled

a guest
Dec 17th, 2022
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 243.73 KB | None | 0 0
  1. =====================================
  2. Enum: Hitgroup
  3. Elements: 9
  4. Description: Hit groups from traces
  5. =====================================
  6.  
  7. =====================================
  8. Enum: IN
  9. Elements: 26
  10. Description: Button mask bindings
  11. =====================================
  12.  
  13. =====================================
  14. Enum: MapLoad
  15. Elements: 4
  16. Description: Map load enum for GetLoadType()
  17. =====================================
  18.  
  19. =====================================
  20. Enum: RenderMode
  21. Elements: 11
  22. Description: Render modes used by Get/SetRenderMode
  23. =====================================
  24.  
  25. =====================================
  26. Enum: WeaponSound
  27. Elements: 17
  28. Description: Weapon sounds.
  29. =====================================
  30.  
  31. Constant: AE_TYPE_CLIENT
  32. Value: 16 (int)
  33. Description: Animation event flag which indicates an event is supposed to be clientside only.
  34.  
  35. Constant: AE_TYPE_FACEPOSER
  36. Value: 32 (int)
  37. Description: Animation event flag with an unknown purpose. Presumably related to Faceposer.
  38.  
  39. Constant: AE_TYPE_NEWEVENTSYSTEM
  40. Value: 1024 (int)
  41. Description: Animation event flag which indicates an event is using the new system. This is often used by class-specific events from NPCs.
  42.  
  43. Constant: AE_TYPE_SCRIPTED
  44. Value: 2 (int)
  45. Description: Animation event flag with an unknown purpose.
  46.  
  47. Constant: AE_TYPE_SERVER
  48. Value: 1 (int)
  49. Description: Animation event flag which indicates an event is supposed to be serverside only.
  50.  
  51. Constant: AE_TYPE_SHARED
  52. Value: 4 (int)
  53. Description: Animation event flag which indicates an event is supposed to be shared between the server and client.
  54.  
  55. Constant: AE_TYPE_WEAPON
  56. Value: 8 (int)
  57. Description: Animation event flag which indicates an event is part of a weapon.
  58.  
  59. Constant: AISS_AWAKE
  60. Value: 0 (int)
  61. Description: NPC is awake. (NPC sleep state used in Get/SetSleepState())
  62.  
  63. Constant: AISS_WAITING_FOR_INPUT
  64. Value: 3 (int)
  65. Description: NPC is asleep and will only awaken upon receiving the Wake input. (NPC sleep state used in Get/SetSleepState())
  66.  
  67. Constant: AISS_WAITING_FOR_PVS
  68. Value: 2 (int)
  69. Description: NPC is asleep and will awaken upon entering a player's PVS. (NPC sleep state used in Get/SetSleepState())
  70.  
  71. Constant: AISS_WAITING_FOR_THREAT
  72. Value: 1 (int)
  73. Description: NPC is asleep and will awaken upon seeing an enemy. (NPC sleep state used in Get/SetSleepState())
  74.  
  75. Constant: AI_SLEEP_FLAGS_NONE
  76. Value: 0 (int)
  77. Description: No sleep flags. (NPC sleep flag used in Add/Remove/HasSleepFlags())
  78.  
  79. Constant: AI_SLEEP_FLAG_AUTO_PVS
  80. Value: 1 (int)
  81. Description: Indicates a NPC will sleep upon exiting PVS. (NPC sleep flag used in Add/Remove/HasSleepFlags())
  82.  
  83. Constant: AI_SLEEP_FLAG_AUTO_PVS_AFTER_PVS
  84. Value: 2 (int)
  85. Description: Indicates a NPC will sleep upon exiting PVS after entering PVS for the first time(?????) (NPC sleep flag used in Add/Remove/HasSleepFlags())
  86.  
  87. Constant: ALL_CONTEXTS
  88. Value: -1048576 (int)
  89. Description: All sound contexts useable in QueryHearSound hooks, etc.
  90.  
  91. Constant: ALL_SCENTS
  92. Value: 224 (int)
  93. Description: All "scent" sound types useable in QueryHearSound hooks, etc.
  94.  
  95. Constant: ALL_SOUNDS
  96. Value: 1048351 (int)
  97. Description: All sound types useable in QueryHearSound hooks, etc.
  98.  
  99. Constant: ALL_VISIBLE_CONTENTS
  100. Value: 255 (int)
  101. Description: Contains all visible spatial content flags.
  102.  
  103. Constant: AUTOAIM_10DEGREES
  104. Value: 0.173648 (float)
  105. Description: 10-degree autoaim cone.
  106.  
  107. Constant: AUTOAIM_20DEGREES
  108. Value: 0.349066 (float)
  109. Description: 20-degree autoaim cone.
  110.  
  111. Constant: AUTOAIM_2DEGREES
  112. Value: 0.034899 (float)
  113. Description: 2-degree autoaim cone.
  114.  
  115. Constant: AUTOAIM_5DEGREES
  116. Value: 0.087156 (float)
  117. Description: 5-degree autoaim cone.
  118.  
  119. Constant: AUTOAIM_8DEGREES
  120. Value: 0.139173 (float)
  121. Description: 8-degree autoaim cone.
  122.  
  123. Constant: AUTOAIM_SCALE_DEFAULT
  124. Value: 1.000000 (float)
  125. Description: Indicates default auto aim scale.
  126.  
  127. Constant: AUTOAIM_SCALE_DIRECT_ONLY
  128. Value: 0.000000 (float)
  129. Description: Indicates auto aim should not be used except for direct hits.
  130.  
  131. Constant: CHAN_AUTO
  132. Value: 0 (int)
  133. Description: The default generic sound channel.
  134.  
  135. Constant: CHAN_BODY
  136. Value: 4 (int)
  137. Description: The sound channel used for clothing, ragdoll impacts, footsteps, knocking/pounding/punching etc.
  138.  
  139. Constant: CHAN_ITEM
  140. Value: 3 (int)
  141. Description: The sound channel used for generic physics impact sounds, health/suit chargers, +use sounds.
  142.  
  143. Constant: CHAN_REPLACE
  144. Value: -1 (int)
  145. Description: The sound channel used when playing sounds through console commands.
  146.  
  147. Constant: CHAN_STATIC
  148. Value: 6 (int)
  149. Description: The sound channel for constant/background sound that doesn't require any reaction.
  150.  
  151. Constant: CHAN_STREAM
  152. Value: 5 (int)
  153. Description: The sound channel for sounds that can be delayed by an async load, i.e. aren't responses to particular events.
  154.  
  155. Constant: CHAN_VOICE
  156. Value: 2 (int)
  157. Description: The sound channel used for dialogue, voice lines, etc.
  158.  
  159. Constant: CHAN_VOICE2
  160. Value: 7 (int)
  161. Description: An additional sound channel for voices. Used in TF2 for the announcer.
  162.  
  163. Constant: CHAN_VOICE_BASE
  164. Value: 8 (int)
  165. Description: The sound channel used for network voice data (online voice communications).
  166.  
  167. Constant: CHAN_WEAPON
  168. Value: 1 (int)
  169. Description: The sound channel for player and NPC weapons.
  170.  
  171. Constant: CLASS_NONE
  172. Value: 0 (int)
  173. Description: No class.
  174.  
  175. Constant: CLASS_PLAYER
  176. Value: 1 (int)
  177. Description: Used by players.
  178.  
  179. Constant: CLASS_PLAYER_ALLY
  180. Value: 2 (int)
  181. Description: Used by player allies.
  182.  
  183. Constant: CLIENT_DLL
  184. Value: 0 (int)
  185.  
  186. Constant: COLLISION_GROUP_BREAKABLE_GLASS
  187. Value: 6 (int)
  188. Description: Collision group used in GetCollisionGroup(), etc.
  189.  
  190. Constant: COLLISION_GROUP_DEBRIS
  191. Value: 1 (int)
  192. Description: Collision group used in GetCollisionGroup(), etc.
  193.  
  194. Constant: COLLISION_GROUP_DEBRIS_TRIGGER
  195. Value: 2 (int)
  196. Description: Collision group used in GetCollisionGroup(), etc.
  197.  
  198. Constant: COLLISION_GROUP_DISSOLVING
  199. Value: 25 (int)
  200. Description: Collision group used in GetCollisionGroup(), etc.
  201.  
  202. Constant: COLLISION_GROUP_DOOR_BLOCKER
  203. Value: 23 (int)
  204. Description: Collision group used in GetCollisionGroup(), etc.
  205.  
  206. Constant: COLLISION_GROUP_INTERACTIVE
  207. Value: 4 (int)
  208. Description: Collision group used in GetCollisionGroup(), etc.
  209.  
  210. Constant: COLLISION_GROUP_INTERACTIVE_DEBRIS
  211. Value: 3 (int)
  212. Description: Collision group used in GetCollisionGroup(), etc.
  213.  
  214. Constant: COLLISION_GROUP_IN_VEHICLE
  215. Value: 19 (int)
  216. Description: Collision group used in GetCollisionGroup(), etc.
  217.  
  218. Constant: COLLISION_GROUP_NONE
  219. Value: 0 (int)
  220. Description: Collision group used in GetCollisionGroup(), etc.
  221.  
  222. Constant: COLLISION_GROUP_NPC
  223. Value: 9 (int)
  224. Description: Collision group used in GetCollisionGroup(), etc.
  225.  
  226. Constant: COLLISION_GROUP_NPC_ACTOR
  227. Value: 27 (int)
  228. Description: Collision group used in GetCollisionGroup(), etc.
  229.  
  230. Constant: COLLISION_GROUP_NPC_SCRIPTED
  231. Value: 28 (int)
  232. Description: Collision group used in GetCollisionGroup(), etc.
  233.  
  234. Constant: COLLISION_GROUP_PASSABLE_DOOR
  235. Value: 24 (int)
  236. Description: Collision group used in GetCollisionGroup(), etc.
  237.  
  238. Constant: COLLISION_GROUP_PLAYER
  239. Value: 5 (int)
  240. Description: Collision group used in GetCollisionGroup(), etc.
  241.  
  242. Constant: COLLISION_GROUP_PLAYER_MOVEMENT
  243. Value: 8 (int)
  244. Description: Collision group used in GetCollisionGroup(), etc.
  245.  
  246. Constant: COLLISION_GROUP_PROJECTILE
  247. Value: 22 (int)
  248. Description: Collision group used in GetCollisionGroup(), etc.
  249.  
  250. Constant: COLLISION_GROUP_PUSHAWAY
  251. Value: 26 (int)
  252. Description: Collision group used in GetCollisionGroup(), etc.
  253.  
  254. Constant: COLLISION_GROUP_VEHICLE
  255. Value: 7 (int)
  256. Description: Collision group used in GetCollisionGroup(), etc.
  257.  
  258. Constant: COLLISION_GROUP_VEHICLE_CLIP
  259. Value: 21 (int)
  260. Description: Collision group used in GetCollisionGroup(), etc.
  261.  
  262. Constant: COLLISION_GROUP_WEAPON
  263. Value: 20 (int)
  264. Description: Collision group used in GetCollisionGroup(), etc.
  265.  
  266. Constant: CONTENTS_AREAPORTAL
  267. Value: 32768 (int)
  268. Description: Spatial content flags.
  269.  
  270. Constant: CONTENTS_AUX
  271. Value: 4 (int)
  272. Description: Spatial content flags.
  273.  
  274. Constant: CONTENTS_BLOCKLOS
  275. Value: 64 (int)
  276. Description: Spatial content flags.
  277.  
  278. Constant: CONTENTS_CURRENT_0
  279. Value: 262144 (int)
  280. Description: Spatial content flags.
  281.  
  282. Constant: CONTENTS_CURRENT_180
  283. Value: 1048576 (int)
  284. Description: Spatial content flags.
  285.  
  286. Constant: CONTENTS_CURRENT_270
  287. Value: 2097152 (int)
  288. Description: Spatial content flags.
  289.  
  290. Constant: CONTENTS_CURRENT_90
  291. Value: 524288 (int)
  292. Description: Spatial content flags.
  293.  
  294. Constant: CONTENTS_CURRENT_DOWN
  295. Value: 8388608 (int)
  296. Description: Spatial content flags.
  297.  
  298. Constant: CONTENTS_CURRENT_UP
  299. Value: 4194304 (int)
  300. Description: Spatial content flags.
  301.  
  302. Constant: CONTENTS_DEBRIS
  303. Value: 67108864 (int)
  304. Description: Spatial content flags.
  305.  
  306. Constant: CONTENTS_DETAIL
  307. Value: 134217728 (int)
  308. Description: Spatial content flags.
  309.  
  310. Constant: CONTENTS_EMPTY
  311. Value: 0 (int)
  312. Description: Spatial content flags.
  313.  
  314. Constant: CONTENTS_GRATE
  315. Value: 8 (int)
  316. Description: Spatial content flags.
  317.  
  318. Constant: CONTENTS_HITBOX
  319. Value: 1073741824 (int)
  320. Description: Spatial content flags.
  321.  
  322. Constant: CONTENTS_IGNORE_NODRAW_OPAQUE
  323. Value: 8192 (int)
  324. Description: Spatial content flags.
  325.  
  326. Constant: CONTENTS_LADDER
  327. Value: 536870912 (int)
  328. Description: Spatial content flags.
  329.  
  330. Constant: CONTENTS_MONSTER
  331. Value: 33554432 (int)
  332. Description: Spatial content flags.
  333.  
  334. Constant: CONTENTS_MONSTERCLIP
  335. Value: 131072 (int)
  336. Description: Spatial content flags.
  337.  
  338. Constant: CONTENTS_MOVEABLE
  339. Value: 16384 (int)
  340. Description: Spatial content flags.
  341.  
  342. Constant: CONTENTS_OPAQUE
  343. Value: 128 (int)
  344. Description: Spatial content flags.
  345.  
  346. Constant: CONTENTS_ORIGIN
  347. Value: 16777216 (int)
  348. Description: Spatial content flags.
  349.  
  350. Constant: CONTENTS_PLAYERCLIP
  351. Value: 65536 (int)
  352. Description: Spatial content flags.
  353.  
  354. Constant: CONTENTS_SLIME
  355. Value: 16 (int)
  356. Description: Spatial content flags.
  357.  
  358. Constant: CONTENTS_SOLID
  359. Value: 1 (int)
  360. Description: Spatial content flags.
  361.  
  362. Constant: CONTENTS_TEAM1
  363. Value: 2048 (int)
  364. Description: Spatial content flags.
  365.  
  366. Constant: CONTENTS_TEAM2
  367. Value: 4096 (int)
  368. Description: Spatial content flags.
  369.  
  370. Constant: CONTENTS_TESTFOGVOLUME
  371. Value: 256 (int)
  372. Description: Spatial content flags.
  373.  
  374. Constant: CONTENTS_TRANSLUCENT
  375. Value: 268435456 (int)
  376. Description: Spatial content flags.
  377.  
  378. Constant: CONTENTS_WATER
  379. Value: 32 (int)
  380. Description: Spatial content flags.
  381.  
  382. Constant: CONTENTS_WINDOW
  383. Value: 2 (int)
  384. Description: Spatial content flags.
  385.  
  386. Constant: DAMAGE_AIM
  387. Value: 3 (int)
  388. Description: (Use with GetTakeDamage/SetTakeDamage)
  389.  
  390. Constant: DAMAGE_EVENTS_ONLY
  391. Value: 1 (int)
  392. Description: Call damage functions, but don't modify health (Use with GetTakeDamage/SetTakeDamage)
  393.  
  394. Constant: DAMAGE_NO
  395. Value: 0 (int)
  396. Description: Don't take damage (Use with GetTakeDamage/SetTakeDamage)
  397.  
  398. Constant: DAMAGE_YES
  399. Value: 2 (int)
  400. Description: Allow damage to be taken (Use with GetTakeDamage/SetTakeDamage)
  401.  
  402. Constant: DEG2RAD
  403. Value: 0.017453 (float)
  404.  
  405. Constant: DMG_ACID
  406. Value: 1048576 (int)
  407. Description: Damage type used in damage information.
  408.  
  409. Constant: DMG_AIRBOAT
  410. Value: 33554432 (int)
  411. Description: Damage type used in damage information.
  412.  
  413. Constant: DMG_ALWAYSGIB
  414. Value: 8192 (int)
  415. Description: Damage type used in damage information.
  416.  
  417. Constant: DMG_BLAST
  418. Value: 64 (int)
  419. Description: Damage type used in damage information.
  420.  
  421. Constant: DMG_BLAST_SURFACE
  422. Value: 134217728 (int)
  423. Description: Damage type used in damage information.
  424.  
  425. Constant: DMG_BUCKSHOT
  426. Value: 536870912 (int)
  427. Description: Damage type used in damage information.
  428.  
  429. Constant: DMG_BULLET
  430. Value: 2 (int)
  431. Description: Damage type used in damage information.
  432.  
  433. Constant: DMG_BURN
  434. Value: 8 (int)
  435. Description: Damage type used in damage information.
  436.  
  437. Constant: DMG_CLUB
  438. Value: 128 (int)
  439. Description: Damage type used in damage information.
  440.  
  441. Constant: DMG_CRUSH
  442. Value: 1 (int)
  443. Description: Damage type used in damage information.
  444.  
  445. Constant: DMG_DIRECT
  446. Value: 268435456 (int)
  447. Description: Damage type used in damage information.
  448.  
  449. Constant: DMG_DISSOLVE
  450. Value: 67108864 (int)
  451. Description: Damage type used in damage information.
  452.  
  453. Constant: DMG_DROWN
  454. Value: 16384 (int)
  455. Description: Damage type used in damage information.
  456.  
  457. Constant: DMG_DROWNRECOVER
  458. Value: 524288 (int)
  459. Description: Damage type used in damage information.
  460.  
  461. Constant: DMG_ENERGYBEAM
  462. Value: 1024 (int)
  463. Description: Damage type used in damage information.
  464.  
  465. Constant: DMG_FALL
  466. Value: 32 (int)
  467. Description: Damage type used in damage information.
  468.  
  469. Constant: DMG_GENERIC
  470. Value: 0 (int)
  471. Description: Damage type used in damage information.
  472.  
  473. Constant: DMG_NERVEGAS
  474. Value: 65536 (int)
  475. Description: Damage type used in damage information.
  476.  
  477. Constant: DMG_NEVERGIB
  478. Value: 4096 (int)
  479. Description: Damage type used in damage information.
  480.  
  481. Constant: DMG_PARALYZE
  482. Value: 32768 (int)
  483. Description: Damage type used in damage information.
  484.  
  485. Constant: DMG_PHYSGUN
  486. Value: 8388608 (int)
  487. Description: Damage type used in damage information.
  488.  
  489. Constant: DMG_PLASMA
  490. Value: 16777216 (int)
  491. Description: Damage type used in damage information.
  492.  
  493. Constant: DMG_POISON
  494. Value: 131072 (int)
  495. Description: Damage type used in damage information.
  496.  
  497. Constant: DMG_PREVENT_PHYSICS_FORCE
  498. Value: 2048 (int)
  499. Description: Damage type used in damage information.
  500.  
  501. Constant: DMG_RADIATION
  502. Value: 262144 (int)
  503. Description: Damage type used in damage information.
  504.  
  505. Constant: DMG_REMOVENORAGDOLL
  506. Value: 4194304 (int)
  507. Description: Damage type used in damage information.
  508.  
  509. Constant: DMG_SHOCK
  510. Value: 256 (int)
  511. Description: Damage type used in damage information.
  512.  
  513. Constant: DMG_SLASH
  514. Value: 4 (int)
  515. Description: Damage type used in damage information.
  516.  
  517. Constant: DMG_SLOWBURN
  518. Value: 2097152 (int)
  519. Description: Damage type used in damage information.
  520.  
  521. Constant: DMG_SONIC
  522. Value: 512 (int)
  523. Description: Damage type used in damage information.
  524.  
  525. Constant: DMG_VEHICLE
  526. Value: 16 (int)
  527. Description: Damage type used in damage information.
  528.  
  529. Constant: D_ER
  530. Value: 0 (int)
  531. Description: 'Error' relationship definition. Used by NPCs and players for relationship disposition.
  532.  
  533. Constant: D_FR
  534. Value: 2 (int)
  535. Description: Denotes a 'Fear' relationship. Used by NPCs and players for relationship disposition.
  536.  
  537. Constant: D_HT
  538. Value: 1 (int)
  539. Description: Denotes a 'Hate' relationship. Used by NPCs and players for relationship disposition.
  540.  
  541. Constant: D_LI
  542. Value: 3 (int)
  543. Description: Denotes a 'Like' relationship. Used by NPCs and players for relationship disposition.
  544.  
  545. Constant: D_NU
  546. Value: 4 (int)
  547. Description: Denotes a 'Neutral' relationship. Used by NPCs and players for relationship disposition.
  548.  
  549. Constant: EFL_BOT_FROZEN
  550. Value: 256 (int)
  551. Description: Entity flag used in GetEFlags(), etc.
  552.  
  553. Constant: EFL_CHECK_UNTOUCH
  554. Value: 16777216 (int)
  555. Description: Entity flag used in GetEFlags(), etc.
  556.  
  557. Constant: EFL_DIRTY_ABSANGVELOCITY
  558. Value: 8192 (int)
  559. Description: Entity flag used in GetEFlags(), etc.
  560.  
  561. Constant: EFL_DIRTY_ABSTRANSFORM
  562. Value: 2048 (int)
  563. Description: Entity flag used in GetEFlags(), etc.
  564.  
  565. Constant: EFL_DIRTY_ABSVELOCITY
  566. Value: 4096 (int)
  567. Description: Entity flag used in GetEFlags(), etc.
  568.  
  569. Constant: EFL_DIRTY_SHADOWUPDATE
  570. Value: 32 (int)
  571. Description: Entity flag used in GetEFlags(), etc.
  572.  
  573. Constant: EFL_DIRTY_SPATIAL_PARTITION
  574. Value: 32768 (int)
  575. Description: Entity flag used in GetEFlags(), etc.
  576.  
  577. Constant: EFL_DIRTY_SURROUNDING_COLLISION_BOUNDS
  578. Value: 16384 (int)
  579. Description: Entity flag used in GetEFlags(), etc.
  580.  
  581. Constant: EFL_DONTBLOCKLOS
  582. Value: 33554432 (int)
  583. Description: Entity flag used in GetEFlags(), etc.
  584.  
  585. Constant: EFL_DONTWALKON
  586. Value: 67108864 (int)
  587. Description: Entity flag used in GetEFlags(), etc.
  588.  
  589. Constant: EFL_DORMANT
  590. Value: 2 (int)
  591. Description: Entity flag used in GetEFlags(), etc.
  592.  
  593. Constant: EFL_FORCE_CHECK_TRANSMIT
  594. Value: 128 (int)
  595. Description: Entity flag used in GetEFlags(), etc.
  596.  
  597. Constant: EFL_HAS_PLAYER_CHILD
  598. Value: 16 (int)
  599. Description: Entity flag used in GetEFlags(), etc.
  600.  
  601. Constant: EFL_IN_SKYBOX
  602. Value: 131072 (int)
  603. Description: Entity flag used in GetEFlags(), etc.
  604.  
  605. Constant: EFL_IS_BEING_LIFTED_BY_BARNACLE
  606. Value: 1048576 (int)
  607. Description: Entity flag used in GetEFlags(), etc.
  608.  
  609. Constant: EFL_KEEP_ON_RECREATE_ENTITIES
  610. Value: 16 (int)
  611. Description: Entity flag used in GetEFlags(), etc.
  612.  
  613. Constant: EFL_KILLME
  614. Value: 1 (int)
  615. Description: Entity flag used in GetEFlags(), etc.
  616.  
  617. Constant: EFL_NOCLIP_ACTIVE
  618. Value: 4 (int)
  619. Description: Entity flag used in GetEFlags(), etc.
  620.  
  621. Constant: EFL_NOTIFY
  622. Value: 64 (int)
  623. Description: Entity flag used in GetEFlags(), etc.
  624.  
  625. Constant: EFL_NO_AUTO_EDICT_ATTACH
  626. Value: 1024 (int)
  627. Description: Entity flag used in GetEFlags(), etc.
  628.  
  629. Constant: EFL_NO_DAMAGE_FORCES
  630. Value: -2147483648 (int)
  631. Description: Entity flag used in GetEFlags(), etc.
  632.  
  633. Constant: EFL_NO_DISSOLVE
  634. Value: 134217728 (int)
  635. Description: Entity flag used in GetEFlags(), etc.
  636.  
  637. Constant: EFL_NO_GAME_PHYSICS_SIMULATION
  638. Value: 8388608 (int)
  639. Description: Entity flag used in GetEFlags(), etc.
  640.  
  641. Constant: EFL_NO_MEGAPHYSCANNON_RAGDOLL
  642. Value: 268435456 (int)
  643. Description: Entity flag used in GetEFlags(), etc.
  644.  
  645. Constant: EFL_NO_PHYSCANNON_INTERACTION
  646. Value: 1073741824 (int)
  647. Description: Entity flag used in GetEFlags(), etc.
  648.  
  649. Constant: EFL_NO_ROTORWASH_PUSH
  650. Value: 2097152 (int)
  651. Description: Entity flag used in GetEFlags(), etc.
  652.  
  653. Constant: EFL_NO_THINK_FUNCTION
  654. Value: 4194304 (int)
  655. Description: Entity flag used in GetEFlags(), etc.
  656.  
  657. Constant: EFL_NO_WATER_VELOCITY_CHANGE
  658. Value: 536870912 (int)
  659. Description: Entity flag used in GetEFlags(), etc.
  660.  
  661. Constant: EFL_SERVER_ONLY
  662. Value: 512 (int)
  663. Description: Entity flag used in GetEFlags(), etc.
  664.  
  665. Constant: EFL_SETTING_UP_BONES
  666. Value: 8 (int)
  667. Description: Entity flag used in GetEFlags(), etc.
  668.  
  669. Constant: EFL_TOUCHING_FLUID
  670. Value: 524288 (int)
  671. Description: Entity flag used in GetEFlags(), etc.
  672.  
  673. Constant: EFL_USE_PARTITION_WHEN_NOT_SOLID
  674. Value: 262144 (int)
  675. Description: Entity flag used in GetEFlags(), etc.
  676.  
  677. Constant: EF_BONEMERGE
  678. Value: 1 (int)
  679. Description: Effect flag used in GetEffects(), etc.
  680.  
  681. Constant: EF_BONEMERGE_FASTCULL
  682. Value: 128 (int)
  683. Description: Effect flag used in GetEffects(), etc.
  684.  
  685. Constant: EF_BRIGHTLIGHT
  686. Value: 2 (int)
  687. Description: Effect flag used in GetEffects(), etc.
  688.  
  689. Constant: EF_DIMLIGHT
  690. Value: 4 (int)
  691. Description: Effect flag used in GetEffects(), etc.
  692.  
  693. Constant: EF_ITEM_BLINK
  694. Value: 256 (int)
  695. Description: Effect flag used in GetEffects(), etc.
  696.  
  697. Constant: EF_NODRAW
  698. Value: 32 (int)
  699. Description: Effect flag used in GetEffects(), etc.
  700.  
  701. Constant: EF_NOINTERP
  702. Value: 8 (int)
  703. Description: Effect flag used in GetEffects(), etc.
  704.  
  705. Constant: EF_NORECEIVESHADOW
  706. Value: 64 (int)
  707. Description: Effect flag used in GetEffects(), etc.
  708.  
  709. Constant: EF_NOSHADOW
  710. Value: 16 (int)
  711. Description: Effect flag used in GetEffects(), etc.
  712.  
  713. Constant: EF_PARENT_ANIMATES
  714. Value: 512 (int)
  715. Description: Effect flag used in GetEffects(), etc.
  716.  
  717. Constant: FCVAR_ACCESSIBLE_FROM_THREADS
  718. Value: 33554432 (int)
  719. Description: If this convar flag is set, it will be accessible from the material system thread.
  720.  
  721. Constant: FCVAR_ARCHIVE
  722. Value: 128 (int)
  723. Description: If this convar flag is set, its value will be saved when the game is exited.
  724.  
  725. Constant: FCVAR_ARCHIVE_XBOX
  726. Value: 16777216 (int)
  727. Description: If this convar flag is set, it will be archived on the Xbox config.
  728.  
  729. Constant: FCVAR_CLIENTCMD_CAN_EXECUTE
  730. Value: 1073741824 (int)
  731. Description: If this convar flag is set, any client will be allowed to execute this command.
  732.  
  733. Constant: FCVAR_CLIENTDLL
  734. Value: 8 (int)
  735. Description: This convar flag is defined in client DLL convars.
  736.  
  737. Constant: FCVAR_DEMO
  738. Value: 65536 (int)
  739. Description: If this convar flag is set, it will be recorded when starting a demo file.
  740.  
  741. Constant: FCVAR_DEVELOPMENTONLY
  742. Value: 2 (int)
  743. Description: If this convar flag is set, it's hidden in "retail" DLLs.
  744.  
  745. Constant: FCVAR_DONTRECORD
  746. Value: 131072 (int)
  747. Description: If this convar flag is set, it will NOT be recorded when starting a demo file.
  748.  
  749. Constant: FCVAR_GAMEDLL
  750. Value: 4 (int)
  751. Description: This convar flag is defined in server DLL convars.
  752.  
  753. Constant: FCVAR_HIDDEN
  754. Value: 16 (int)
  755. Description: If this convar flag is set, it doesn't appear in the console or any searching tools, but it can still be set.
  756.  
  757. Constant: FCVAR_MATERIAL_SYSTEM_THREAD
  758. Value: 8388608 (int)
  759. Description: This convar flag indicates it's read from the material system thread.
  760.  
  761. Constant: FCVAR_NEVER_AS_STRING
  762. Value: 4096 (int)
  763. Description: If this convar flag is set, it will never be printed as a string.
  764.  
  765. Constant: FCVAR_NONE
  766. Value: 0 (int)
  767. Description: Empty convar flag.
  768.  
  769. Constant: FCVAR_NOTIFY
  770. Value: 256 (int)
  771. Description: If this convar flag is set, it will notify players when it is changed.
  772.  
  773. Constant: FCVAR_NOT_CONNECTED
  774. Value: 4194304 (int)
  775. Description: If this convar flag is set, it cannot be changed by a client connected to the server.
  776.  
  777. Constant: FCVAR_PRINTABLEONLY
  778. Value: 1024 (int)
  779. Description: If this convar flag is set, it cannot contain unprintable characters. Used for player name cvars, etc.
  780.  
  781. Constant: FCVAR_PROTECTED
  782. Value: 32 (int)
  783. 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.
  784.  
  785. Constant: FCVAR_RELOAD_MATERIALS
  786. Value: 1048576 (int)
  787. Description: If this convar flag is set, it will force a material reload when it changes.
  788.  
  789. Constant: FCVAR_RELOAD_TEXTURES
  790. Value: 2097152 (int)
  791. Description: If this convar flag is set, it will force a texture reload when it changes.
  792.  
  793. Constant: FCVAR_REPLICATED
  794. Value: 8192 (int)
  795. Description: If this convar flag is set, it will enforce a serverside value on any clientside counterparts. (also known as FCAR_SERVER)
  796.  
  797. Constant: FCVAR_SERVER_CANNOT_QUERY
  798. Value: 536870912 (int)
  799. Description: If this convar flag is set, the server will not be allowed to query its value.
  800.  
  801. Constant: FCVAR_SERVER_CAN_EXECUTE
  802. Value: 268435456 (int)
  803. Description: If this convar flag is set, the server will be allowed to execute it as a client command.
  804.  
  805. Constant: FCVAR_SPONLY
  806. Value: 64 (int)
  807. Description: If this convar flag is set, it can't be changed by clients connected to a multiplayer server.
  808.  
  809. Constant: FCVAR_UNLOGGED
  810. Value: 2048 (int)
  811. Description: If this convar flag is set, it will not log its changes if a log is being created.
  812.  
  813. Constant: FCVAR_UNREGISTERED
  814. Value: 1 (int)
  815. Description: If this convar flag is set, it isn't added to linked list, etc.
  816.  
  817. Constant: FCVAR_USERINFO
  818. Value: 512 (int)
  819. Description: If this convar flag is set, it will be marked as info which plays a part in how the server identifies a client.
  820.  
  821. Constant: FL_AIMTARGET
  822. Value: 131072 (int)
  823. Description: Flag used in GetFlags(), etc.
  824.  
  825. Constant: FL_ATCONTROLS
  826. Value: 128 (int)
  827. Description: Flag used in GetFlags(), etc.
  828.  
  829. Constant: FL_BASEVELOCITY
  830. Value: 16777216 (int)
  831. Description: Flag used in GetFlags(), etc.
  832.  
  833. Constant: FL_CLIENT
  834. Value: 256 (int)
  835. Description: Flag used in GetFlags(), etc.
  836.  
  837. Constant: FL_CONVEYOR
  838. Value: 8192 (int)
  839. Description: Flag used in GetFlags(), etc.
  840.  
  841. Constant: FL_DISSOLVING
  842. Value: 536870912 (int)
  843. Description: Flag used in GetFlags(), etc.
  844.  
  845. Constant: FL_DONTTOUCH
  846. Value: 8388608 (int)
  847. Description: Flag used in GetFlags(), etc.
  848.  
  849. Constant: FL_DUCKING
  850. Value: 2 (int)
  851. Description: Flag used in GetFlags(), etc.
  852.  
  853. Constant: FL_FAKECLIENT
  854. Value: 512 (int)
  855. Description: Flag used in GetFlags(), etc.
  856.  
  857. Constant: FL_FLY
  858. Value: 2048 (int)
  859. Description: Flag used in GetFlags(), etc.
  860.  
  861. Constant: FL_FROZEN
  862. Value: 64 (int)
  863. Description: Flag used in GetFlags(), etc.
  864.  
  865. Constant: FL_GODMODE
  866. Value: 32768 (int)
  867. Description: Flag used in GetFlags(), etc.
  868.  
  869. Constant: FL_GRAPHED
  870. Value: 1048576 (int)
  871. Description: Flag used in GetFlags(), etc.
  872.  
  873. Constant: FL_GRENADE
  874. Value: 2097152 (int)
  875. Description: Flag used in GetFlags(), etc.
  876.  
  877. Constant: FL_INRAIN
  878. Value: 32 (int)
  879. Description: Flag used in GetFlags(), etc.
  880.  
  881. Constant: FL_INWATER
  882. Value: 1024 (int)
  883. Description: Flag used in GetFlags(), etc.
  884.  
  885. Constant: FL_KILLME
  886. Value: 134217728 (int)
  887. Description: Flag used in GetFlags(), etc.
  888.  
  889. Constant: FL_NOTARGET
  890. Value: 65536 (int)
  891. Description: Flag used in GetFlags(), etc.
  892.  
  893. Constant: FL_NPC
  894. Value: 16384 (int)
  895. Description: Flag used in GetFlags(), etc.
  896.  
  897. Constant: FL_OBJECT
  898. Value: 67108864 (int)
  899. Description: Flag used in GetFlags(), etc.
  900.  
  901. Constant: FL_ONFIRE
  902. Value: 268435456 (int)
  903. Description: Flag used in GetFlags(), etc.
  904.  
  905. Constant: FL_ONGROUND
  906. Value: 1 (int)
  907. Description: Flag used in GetFlags(), etc.
  908.  
  909. Constant: FL_ONTRAIN
  910. Value: 16 (int)
  911. Description: Flag used in GetFlags(), etc.
  912.  
  913. Constant: FL_PARTIALGROUND
  914. Value: 262144 (int)
  915. Description: Flag used in GetFlags(), etc.
  916.  
  917. Constant: FL_STATICPROP
  918. Value: 524288 (int)
  919. Description: Flag used in GetFlags(), etc.
  920.  
  921. Constant: FL_STEPMOVEMENT
  922. Value: 4194304 (int)
  923. Description: Flag used in GetFlags(), etc.
  924.  
  925. Constant: FL_SWIM
  926. Value: 4096 (int)
  927. Description: Flag used in GetFlags(), etc.
  928.  
  929. Constant: FL_TRANSRAGDOLL
  930. Value: 1073741824 (int)
  931. Description: Flag used in GetFlags(), etc.
  932.  
  933. Constant: FL_UNBLOCKABLE_BY_PLAYER
  934. Value: -2147483648 (int)
  935. Description: Flag used in GetFlags(), etc.
  936.  
  937. Constant: FL_WATERJUMP
  938. Value: 8 (int)
  939. Description: Flag used in GetFlags(), etc.
  940.  
  941. Constant: FL_WORLDBRUSH
  942. Value: 33554432 (int)
  943. Description: Flag used in GetFlags(), etc.
  944.  
  945. Constant: FSOLID_CUSTOMBOXTEST
  946. Value: 2 (int)
  947. Description: Solid flag used in GetSolidFlags(), etc.
  948.  
  949. Constant: FSOLID_CUSTOMRAYTEST
  950. Value: 1 (int)
  951. Description: Solid flag used in GetSolidFlags(), etc.
  952.  
  953. Constant: FSOLID_FORCE_WORLD_ALIGNED
  954. Value: 64 (int)
  955. Description: Solid flag used in GetSolidFlags(), etc.
  956.  
  957. Constant: FSOLID_NOT_SOLID
  958. Value: 4 (int)
  959. Description: Solid flag used in GetSolidFlags(), etc.
  960.  
  961. Constant: FSOLID_NOT_STANDABLE
  962. Value: 16 (int)
  963. Description: Solid flag used in GetSolidFlags(), etc.
  964.  
  965. Constant: FSOLID_ROOT_PARENT_ALIGNED
  966. Value: 256 (int)
  967. Description: Solid flag used in GetSolidFlags(), etc.
  968.  
  969. Constant: FSOLID_TRIGGER
  970. Value: 8 (int)
  971. Description: Solid flag used in GetSolidFlags(), etc.
  972.  
  973. Constant: FSOLID_TRIGGER_TOUCH_DEBRIS
  974. Value: 512 (int)
  975. Description: Solid flag used in GetSolidFlags(), etc.
  976.  
  977. Constant: FSOLID_USE_TRIGGER_BOUNDS
  978. Value: 128 (int)
  979. Description: Solid flag used in GetSolidFlags(), etc.
  980.  
  981. Constant: FSOLID_VOLUME_CONTENTS
  982. Value: 32 (int)
  983. Description: Solid flag used in GetSolidFlags(), etc.
  984.  
  985. Constant: GENDER_FEMALE
  986. Value: 2 (int)
  987. Description: A standard value used to represent female gender. Usually used for sounds.
  988.  
  989. Constant: GENDER_MALE
  990. Value: 1 (int)
  991. Description: A standard value used to represent male gender. Usually used for sounds.
  992.  
  993. Constant: GENDER_NONE
  994. Value: 0 (int)
  995. Description: A standard value used to represent no specific gender. Usually used for sounds.
  996.  
  997. Constant: GLOBAL_DEAD
  998. Value: 2 (int)
  999. Description: Global state used by the Globals singleton.
  1000.  
  1001. Constant: GLOBAL_OFF
  1002. Value: 0 (int)
  1003. Description: Global state used by the Globals singleton.
  1004.  
  1005. Constant: GLOBAL_ON
  1006. Value: 1 (int)
  1007. Description: Global state used by the Globals singleton.
  1008.  
  1009. Constant: Hitgroup.Chest
  1010. Value: 2 (int)
  1011.  
  1012. Constant: Hitgroup.Gear
  1013. Value: 10 (int)
  1014.  
  1015. Constant: Hitgroup.Generic
  1016. Value: 0 (int)
  1017.  
  1018. Constant: Hitgroup.Head
  1019. Value: 1 (int)
  1020.  
  1021. Constant: Hitgroup.LeftArm
  1022. Value: 4 (int)
  1023.  
  1024. Constant: Hitgroup.LeftLeg
  1025. Value: 6 (int)
  1026.  
  1027. Constant: Hitgroup.RightArm
  1028. Value: 5 (int)
  1029.  
  1030. Constant: Hitgroup.RightLeg
  1031. Value: 7 (int)
  1032.  
  1033. Constant: Hitgroup.Stomach
  1034. Value: 3 (int)
  1035.  
  1036. Constant: IN.ALT1
  1037. Value: 16384 (int)
  1038. Description: Button for +alt1
  1039.  
  1040. Constant: IN.ALT2
  1041. Value: 32768 (int)
  1042. Description: Button for +alt2
  1043.  
  1044. Constant: IN.ATTACK
  1045. Value: 1 (int)
  1046. Description: Button for +attack
  1047.  
  1048. Constant: IN.ATTACK2
  1049. Value: 2048 (int)
  1050. Description: Button for +attack2
  1051.  
  1052. Constant: IN.ATTACK3
  1053. Value: 33554432 (int)
  1054. Description: Button for +attack3
  1055.  
  1056. Constant: IN.BACK
  1057. Value: 16 (int)
  1058. Description: Button for +back
  1059.  
  1060. Constant: IN.BULLRUSH
  1061. Value: 4194304 (int)
  1062. Description: Unused button
  1063.  
  1064. Constant: IN.CANCEL
  1065. Value: 64 (int)
  1066. Description: Special button flag for attack cancel
  1067.  
  1068. Constant: IN.DUCK
  1069. Value: 4 (int)
  1070. Description: Button for +duck
  1071.  
  1072. Constant: IN.FORWARD
  1073. Value: 8 (int)
  1074. Description: Button for +forward
  1075.  
  1076. Constant: IN.GRENADE1
  1077. Value: 8388608 (int)
  1078. Description: Button for +grenade1
  1079.  
  1080. Constant: IN.GRENADE2
  1081. Value: 16777216 (int)
  1082. Description: Button for +grenade2
  1083.  
  1084. Constant: IN.JUMP
  1085. Value: 2 (int)
  1086. Description: Button for +jump
  1087.  
  1088. Constant: IN.LEFT
  1089. Value: 128 (int)
  1090. Description: Button for +left
  1091.  
  1092. Constant: IN.MOVELEFT
  1093. Value: 512 (int)
  1094. Description: Button for +moveleft
  1095.  
  1096. Constant: IN.MOVERIGHT
  1097. Value: 1024 (int)
  1098. Description: Button for +moveright
  1099.  
  1100. Constant: IN.RELOAD
  1101. Value: 8192 (int)
  1102. Description: Button for +reload
  1103.  
  1104. Constant: IN.RIGHT
  1105. Value: 256 (int)
  1106. Description: Button for +right
  1107.  
  1108. Constant: IN.RUN
  1109. Value: 4096 (int)
  1110. Description: Unused button (see IN.SPEED for sprint)
  1111.  
  1112. Constant: IN.SCORE
  1113. Value: 65536 (int)
  1114. Description: Button for +score
  1115.  
  1116. Constant: IN.SPEED
  1117. Value: 131072 (int)
  1118. Description: Button for +speed
  1119.  
  1120. Constant: IN.USE
  1121. Value: 32 (int)
  1122. Description: Button for +use
  1123.  
  1124. Constant: IN.WALK
  1125. Value: 262144 (int)
  1126. Description: Button for +walk
  1127.  
  1128. Constant: IN.WEAPON1
  1129. Value: 1048576 (int)
  1130. Description: Special button used by weapons themselves
  1131.  
  1132. Constant: IN.WEAPON2
  1133. Value: 2097152 (int)
  1134. Description: Special button used by weapons themselves
  1135.  
  1136. Constant: IN.ZOOM
  1137. Value: 524288 (int)
  1138. Description: Button for +zoom
  1139.  
  1140. Constant: LAST_VISIBLE_CONTENTS
  1141. Value: 128 (int)
  1142. Description: Contains last visible spatial content flags.
  1143.  
  1144. Constant: MASK_BLOCKLOS
  1145. Value: 16449 (int)
  1146. Description: Spatial content mask representing objects which block LOS for AI (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_BLOCKLOS)
  1147.  
  1148. Constant: MASK_BLOCKLOS_AND_NPCS
  1149. Value: 33570881 (int)
  1150. Description: Spatial content mask equivalent to MASK_BLOCKLOS, but also including NPCs (MASK_BLOCKLOS|CONTENTS_MONSTER)
  1151.  
  1152. Constant: MASK_NPCSOLID
  1153. Value: 33701899 (int)
  1154. Description: Spatial content mask representing objects solid to NPCs, including NPC clips (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_MONSTERCLIP|CONTENTS_WINDOW|CONTENTS_MONSTER|CONTENTS_GRATE)
  1155.  
  1156. Constant: MASK_NPCSOLID_BRUSHONLY
  1157. Value: 147467 (int)
  1158. Description: Spatial content mask equivalent to MASK_NPCSOLID, but without NPCs (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_WINDOW|CONTENTS_MONSTERCLIP|CONTENTS_GRATE)
  1159.  
  1160. Constant: MASK_NPCWORLDSTATIC
  1161. Value: 131083 (int)
  1162. Description: Spatial content mask representing objects static to NPCs, used for nodegraph rebuilding (CONTENTS_SOLID|CONTENTS_WINDOW|CONTENTS_MONSTERCLIP|CONTENTS_GRATE)
  1163.  
  1164. Constant: MASK_OPAQUE
  1165. Value: 16513 (int)
  1166. Description: Spatial content mask representing objects which block lighting (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_OPAQUE)
  1167.  
  1168. Constant: MASK_OPAQUE_AND_NPCS
  1169. Value: 33570945 (int)
  1170. Description: Spatial content mask equivalent to MASK_OPAQUE, but also including NPCs (MASK_OPAQUE|CONTENTS_MONSTER)
  1171.  
  1172. Constant: MASK_PLAYERSOLID
  1173. Value: 33636363 (int)
  1174. 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)
  1175.  
  1176. Constant: MASK_PLAYERSOLID_BRUSHONLY
  1177. Value: 81931 (int)
  1178. Description: Spatial content mask equivalent to MASK_PLAYERSOLID, but without NPCs (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_WINDOW|CONTENTS_PLAYERCLIP|CONTENTS_GRATE)
  1179.  
  1180. Constant: MASK_SHOT
  1181. Value: 1174421507 (int)
  1182. Description: Spatial content mask representing objects solid to bullets (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_MONSTER|CONTENTS_WINDOW|CONTENTS_DEBRIS|CONTENTS_HITBOX)
  1183.  
  1184. Constant: MASK_SHOT_HULL
  1185. Value: 100679691 (int)
  1186. 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)
  1187.  
  1188. Constant: MASK_SHOT_PORTAL
  1189. Value: 33570819 (int)
  1190. 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)
  1191.  
  1192. Constant: MASK_SOLID
  1193. Value: 33570827 (int)
  1194. Description: Spatial content mask representing solid objects (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_WINDOW|CONTENTS_MONSTER|CONTENTS_GRATE)
  1195.  
  1196. Constant: MASK_SOLID_BRUSHONLY
  1197. Value: 16395 (int)
  1198. Description: Spatial content mask equivalent to MASK_SOLID, but without NPCs (CONTENTS_SOLID|CONTENTS_MOVEABLE|CONTENTS_WINDOW|CONTENTS_GRATE)
  1199.  
  1200. Constant: MASK_SPLITAREAPORTAL
  1201. Value: 48 (int)
  1202. Description: Spatial content mask representing objects which can split areaportals (CONTENTS_WATER|CONTENTS_SLIME)
  1203.  
  1204. Constant: MASK_VISIBLE
  1205. Value: 24705 (int)
  1206. Description: Spatial content mask representing objects which block LOS for players (MASK_OPAQUE|CONTENTS_IGNORE_NODRAW_OPAQUE)
  1207.  
  1208. Constant: MASK_VISIBLE_AND_NPCS
  1209. Value: 33579137 (int)
  1210. Description: Spatial content mask equivalent to MASK_VISIBLE, but also including NPCs (MASK_OPAQUE_AND_NPCS|CONTENTS_IGNORE_NODRAW_OPAQUE)
  1211.  
  1212. Constant: MASK_WATER
  1213. Value: 16432 (int)
  1214. Description: Spatial content mask representing water and slime solids (CONTENTS_WATER|CONTENTS_MOVEABLE|CONTENTS_SLIME)
  1215.  
  1216. Constant: MAX_COORD_FLOAT
  1217. Value: 16384.000000 (float)
  1218. Description: Maximum float coordinate.
  1219.  
  1220. Constant: MAX_PLAYERS
  1221. Value: 9 (int)
  1222. Description: Max number of players in a game.
  1223.  
  1224. Constant: MAX_TRACE_LENGTH
  1225. Value: 56755.839844 (float)
  1226. Description: Maximum traceable distance (assumes cubic world and trace from one corner to opposite).
  1227.  
  1228. Constant: MOVETYPE_CUSTOM
  1229. Value: 11 (int)
  1230. Description: Move type used in GetMoveType(), etc.
  1231.  
  1232. Constant: MOVETYPE_FLY
  1233. Value: 4 (int)
  1234. Description: Move type used in GetMoveType(), etc.
  1235.  
  1236. Constant: MOVETYPE_FLYGRAVITY
  1237. Value: 5 (int)
  1238. Description: Move type used in GetMoveType(), etc.
  1239.  
  1240. Constant: MOVETYPE_ISOMETRIC
  1241. Value: 1 (int)
  1242. Description: Move type used in GetMoveType(), etc.
  1243.  
  1244. Constant: MOVETYPE_LADDER
  1245. Value: 9 (int)
  1246. Description: Move type used in GetMoveType(), etc.
  1247.  
  1248. Constant: MOVETYPE_NOCLIP
  1249. Value: 8 (int)
  1250. Description: Move type used in GetMoveType(), etc.
  1251.  
  1252. Constant: MOVETYPE_NONE
  1253. Value: 0 (int)
  1254. Description: Move type used in GetMoveType(), etc.
  1255.  
  1256. Constant: MOVETYPE_OBSERVER
  1257. Value: 10 (int)
  1258. Description: Move type used in GetMoveType(), etc.
  1259.  
  1260. Constant: MOVETYPE_PUSH
  1261. Value: 7 (int)
  1262. Description: Move type used in GetMoveType(), etc.
  1263.  
  1264. Constant: MOVETYPE_STEP
  1265. Value: 3 (int)
  1266. Description: Move type used in GetMoveType(), etc.
  1267.  
  1268. Constant: MOVETYPE_VPHYSICS
  1269. Value: 6 (int)
  1270. Description: Move type used in GetMoveType(), etc.
  1271.  
  1272. Constant: MOVETYPE_WALK
  1273. Value: 2 (int)
  1274. Description: Move type used in GetMoveType(), etc.
  1275.  
  1276. Constant: MapLoad.Background
  1277. Value: 3 (int)
  1278. Description: Map was loaded as a background map
  1279.  
  1280. Constant: MapLoad.LoadGame
  1281. Value: 1 (int)
  1282. Description: Map was loaded from a save file
  1283.  
  1284. Constant: MapLoad.NewGame
  1285. Value: 0 (int)
  1286. Description: Map was loaded from a new game
  1287.  
  1288. Constant: MapLoad.Transition
  1289. Value: 2 (int)
  1290. Description: Map was loaded from a level transition
  1291.  
  1292. Constant: NPC_STATE_ALERT
  1293. Value: 2 (int)
  1294. Description: NPC state type used in GetNPCState(), etc.
  1295.  
  1296. Constant: NPC_STATE_COMBAT
  1297. Value: 3 (int)
  1298. Description: NPC state type used in GetNPCState(), etc.
  1299.  
  1300. Constant: NPC_STATE_DEAD
  1301. Value: 7 (int)
  1302. Description: NPC state type used in GetNPCState(), etc.
  1303.  
  1304. Constant: NPC_STATE_IDLE
  1305. Value: 1 (int)
  1306. Description: NPC state type used in GetNPCState(), etc.
  1307.  
  1308. Constant: NPC_STATE_INVALID
  1309. Value: -1 (int)
  1310. Description: NPC state type used in GetNPCState(), etc.
  1311.  
  1312. Constant: NPC_STATE_NONE
  1313. Value: 0 (int)
  1314. Description: NPC state type used in GetNPCState(), etc.
  1315.  
  1316. Constant: NPC_STATE_PLAYDEAD
  1317. Value: 5 (int)
  1318. Description: NPC state type used in GetNPCState(), etc.
  1319.  
  1320. Constant: NPC_STATE_PRONE
  1321. Value: 6 (int)
  1322. Description: When in clutches of barnacle (NPC state type used in GetNPCState(), etc.)
  1323.  
  1324. Constant: NPC_STATE_SCRIPT
  1325. Value: 4 (int)
  1326. Description: NPC state type used in GetNPCState(), etc.
  1327.  
  1328. Constant: NUM_AI_CLASSES
  1329. Value: 9 (int)
  1330. Description: Number of AI classes.
  1331.  
  1332. Constant: PITCH_HIGH
  1333. Value: 120 (int)
  1334. Description: The standard high pitch value.
  1335.  
  1336. Constant: PITCH_LOW
  1337. Value: 95 (int)
  1338. Description: The standard low pitch value.
  1339.  
  1340. Constant: PITCH_NORM
  1341. Value: 100 (int)
  1342. Description: The standard pitch value.
  1343.  
  1344. Constant: RAD2DEG
  1345. Value: 57.295780 (float)
  1346.  
  1347. Constant: ROPE_BARBED
  1348. Value: 2 (int)
  1349. Description: Hack option to draw like a barbed wire. (for use in rope flags)
  1350.  
  1351. Constant: ROPE_BREAKABLE
  1352. Value: 16 (int)
  1353. Description: Can the endpoints detach? (for use in rope flags)
  1354.  
  1355. Constant: ROPE_COLLIDE
  1356. Value: 4 (int)
  1357. Description: Collide with the world. (for use in rope flags)
  1358.  
  1359. Constant: ROPE_GRAVITY
  1360. Value: Vector( 0.000000, 0.000000, 0.000000 ) (Vector)
  1361. Description: Default rope gravity vector.
  1362.  
  1363. Constant: ROPE_INITIAL_HANG
  1364. Value: 64 (int)
  1365. 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)
  1366.  
  1367. Constant: ROPE_NO_GRAVITY
  1368. Value: 256 (int)
  1369. Description: Disable gravity on this rope. (for use in rope flags)
  1370.  
  1371. Constant: ROPE_NUMFLAGS
  1372. Value: 9 (int)
  1373. Description: The number of rope flags recognized by the game.
  1374.  
  1375. Constant: ROPE_PLAYER_WPN_ATTACH
  1376. Value: 128 (int)
  1377. 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)
  1378.  
  1379. Constant: ROPE_RESIZE
  1380. Value: 1 (int)
  1381. Description: Try to keep the rope dangling the same amount even as the rope length changes. (for use in rope flags)
  1382.  
  1383. Constant: ROPE_SIMULATE
  1384. Value: 8 (int)
  1385. Description: Is the rope valid? (for use in rope flags)
  1386.  
  1387. Constant: RenderMode.Additive
  1388. Value: 5 (int)
  1389.  
  1390. Constant: RenderMode.AdditiveFractionalFrame
  1391. Value: 7 (int)
  1392.  
  1393. Constant: RenderMode.AlphaAdd
  1394. Value: 8 (int)
  1395.  
  1396. Constant: RenderMode.Color
  1397. Value: 1 (int)
  1398.  
  1399. Constant: RenderMode.Environmental
  1400. Value: 6 (int)
  1401.  
  1402. Constant: RenderMode.Glow
  1403. Value: 3 (int)
  1404.  
  1405. Constant: RenderMode.None
  1406. Value: 10 (int)
  1407.  
  1408. Constant: RenderMode.Normal
  1409. Value: 0 (int)
  1410.  
  1411. Constant: RenderMode.Solid
  1412. Value: 4 (int)
  1413.  
  1414. Constant: RenderMode.Texture
  1415. Value: 2 (int)
  1416.  
  1417. Constant: RenderMode.WorldSpaceGlow
  1418. Value: 9 (int)
  1419.  
  1420. Constant: SCRIPT_CLEANUP
  1421. Value: 3 (int)
  1422. Description: Cancelling the script / cleaning up.
  1423.  
  1424. Constant: SCRIPT_PLAYING
  1425. Value: 0 (int)
  1426. Description: Moving to the scripted sequence position while playing a custom movement animation.
  1427.  
  1428. Constant: SCRIPT_POST_IDLE
  1429. Value: 2 (int)
  1430. Description: Playing the post idle animation after playing the action animation.
  1431.  
  1432. Constant: SCRIPT_RUN_TO_MARK
  1433. Value: 5 (int)
  1434. Description: Running to the scripted sequence position.
  1435.  
  1436. Constant: SCRIPT_WAIT
  1437. Value: 1 (int)
  1438. Description: Waiting on everyone in the script to be ready. Plays the pre idle animation if there is one.
  1439.  
  1440. Constant: SCRIPT_WALK_TO_MARK
  1441. Value: 4 (int)
  1442. Description: Walking to the scripted sequence position.
  1443.  
  1444. Constant: SERVER_DLL
  1445. Value: 1 (int)
  1446.  
  1447. Constant: SNDLVL_100dB
  1448. Value: 100 (int)
  1449. Description: A standard value used for a sound's sound level.
  1450.  
  1451. Constant: SNDLVL_105dB
  1452. Value: 105 (int)
  1453. Description: A standard value used for a sound's sound level.
  1454.  
  1455. Constant: SNDLVL_110dB
  1456. Value: 110 (int)
  1457. Description: A standard value used for a sound's sound level.
  1458.  
  1459. Constant: SNDLVL_120dB
  1460. Value: 120 (int)
  1461. Description: A standard value used for a sound's sound level.
  1462.  
  1463. Constant: SNDLVL_130dB
  1464. Value: 130 (int)
  1465. Description: A standard value used for a sound's sound level.
  1466.  
  1467. Constant: SNDLVL_140dB
  1468. Value: 140 (int)
  1469. Description: A standard value used for a sound's sound level.
  1470.  
  1471. Constant: SNDLVL_150dB
  1472. Value: 150 (int)
  1473. Description: A standard value used for a sound's sound level.
  1474.  
  1475. Constant: SNDLVL_180dB
  1476. Value: 180 (int)
  1477. Description: A standard value used for a sound's sound level.
  1478.  
  1479. Constant: SNDLVL_20dB
  1480. Value: 20 (int)
  1481. Description: A standard value used for a sound's sound level.
  1482.  
  1483. Constant: SNDLVL_25dB
  1484. Value: 25 (int)
  1485. Description: A standard value used for a sound's sound level.
  1486.  
  1487. Constant: SNDLVL_30dB
  1488. Value: 30 (int)
  1489. Description: A standard value used for a sound's sound level.
  1490.  
  1491. Constant: SNDLVL_35dB
  1492. Value: 35 (int)
  1493. Description: A standard value used for a sound's sound level.
  1494.  
  1495. Constant: SNDLVL_40dB
  1496. Value: 40 (int)
  1497. Description: A standard value used for a sound's sound level.
  1498.  
  1499. Constant: SNDLVL_45dB
  1500. Value: 45 (int)
  1501. Description: A standard value used for a sound's sound level.
  1502.  
  1503. Constant: SNDLVL_50dB
  1504. Value: 50 (int)
  1505. Description: A standard value used for a sound's sound level.
  1506.  
  1507. Constant: SNDLVL_55dB
  1508. Value: 55 (int)
  1509. Description: A standard value used for a sound's sound level.
  1510.  
  1511. Constant: SNDLVL_60dB
  1512. Value: 60 (int)
  1513. Description: A standard value used for a sound's sound level.
  1514.  
  1515. Constant: SNDLVL_65dB
  1516. Value: 65 (int)
  1517. Description: A standard value used for a sound's sound level.
  1518.  
  1519. Constant: SNDLVL_70dB
  1520. Value: 70 (int)
  1521. Description: A standard value used for a sound's sound level.
  1522.  
  1523. Constant: SNDLVL_75dB
  1524. Value: 75 (int)
  1525. Description: A standard value used for a sound's sound level.
  1526.  
  1527. Constant: SNDLVL_80dB
  1528. Value: 80 (int)
  1529. Description: A standard value used for a sound's sound level.
  1530.  
  1531. Constant: SNDLVL_85dB
  1532. Value: 85 (int)
  1533. Description: A standard value used for a sound's sound level.
  1534.  
  1535. Constant: SNDLVL_90dB
  1536. Value: 90 (int)
  1537. Description: A standard value used for a sound's sound level.
  1538.  
  1539. Constant: SNDLVL_95dB
  1540. Value: 95 (int)
  1541. Description: A standard value used for a sound's sound level.
  1542.  
  1543. Constant: SNDLVL_GUNFIRE
  1544. Value: 140 (int)
  1545. Description: A standard value used for a sound's sound level.
  1546.  
  1547. Constant: SNDLVL_IDLE
  1548. Value: 60 (int)
  1549. Description: A standard value used for a sound's sound level.
  1550.  
  1551. Constant: SNDLVL_NONE
  1552. Value: 0 (int)
  1553. Description: A standard value used for a sound's sound level.
  1554.  
  1555. Constant: SNDLVL_NORM
  1556. Value: 75 (int)
  1557. Description: A standard value used for a sound's sound level.
  1558.  
  1559. Constant: SNDLVL_STATIC
  1560. Value: 66 (int)
  1561. Description: A standard value used for a sound's sound level.
  1562.  
  1563. Constant: SNDLVL_TALKING
  1564. Value: 80 (int)
  1565. Description: A standard value used for a sound's sound level.
  1566.  
  1567. Constant: SND_CHANGE_PITCH
  1568. Value: 2 (int)
  1569. Description: Indicates a sound is a pitch change to an already-playing sound.
  1570.  
  1571. Constant: SND_CHANGE_VOL
  1572. Value: 1 (int)
  1573. Description: Indicates a sound is a volume change to an already-playing sound.
  1574.  
  1575. Constant: SND_DELAY
  1576. Value: 16 (int)
  1577. Description: Indicates a sound has an initial delay.
  1578.  
  1579. Constant: SND_DO_NOT_OVERWRITE_EXISTING_ON_CHANNEL
  1580. Value: 1024 (int)
  1581. Description: Prevents a sound from interrupting other sounds on a channel (if the channel supports interruption).
  1582.  
  1583. Constant: SND_IGNORE_NAME
  1584. Value: 512 (int)
  1585. Description: Used to change all sounds emitted by an entity, regardless of name.
  1586.  
  1587. Constant: SND_IGNORE_PHONEMES
  1588. Value: 256 (int)
  1589. Description: Prevents the entity emitting this sound from using its phonemes (no lip-syncing).
  1590.  
  1591. Constant: SND_SHOULDPAUSE
  1592. Value: 128 (int)
  1593. Description: Forces a sound to pause if the game is paused.
  1594.  
  1595. Constant: SND_SPAWNING
  1596. Value: 8 (int)
  1597. Description: Indicates a sound is spawning, used in some cases for ambients. Not networked.
  1598.  
  1599. Constant: SND_SPEAKER
  1600. Value: 64 (int)
  1601. Description: Indicates a sound is being played again by a microphone through a speaker.
  1602.  
  1603. Constant: SND_STOP
  1604. Value: 4 (int)
  1605. Description: Indicates a sound is stopping an already-playing sound.
  1606.  
  1607. Constant: SND_STOP_LOOPING
  1608. Value: 32 (int)
  1609. Description: Stops all looping sounds on an entity.
  1610.  
  1611. Constant: SOUNDENT_CHANNEL_BULLET_IMPACT
  1612. Value: 6 (int)
  1613. Description: Sound channel used in QueryHearSound hooks, etc.
  1614.  
  1615. Constant: SOUNDENT_CHANNEL_INJURY
  1616. Value: 5 (int)
  1617. Description: Sound channel used in QueryHearSound hooks, etc.
  1618.  
  1619. Constant: SOUNDENT_CHANNEL_NPC_FOOTSTEP
  1620. Value: 7 (int)
  1621. Description: Sound channel used in QueryHearSound hooks, etc.
  1622.  
  1623. Constant: SOUNDENT_CHANNEL_REPEATED_DANGER
  1624. Value: 2 (int)
  1625. Description: Sound channel used in QueryHearSound hooks, etc.
  1626.  
  1627. Constant: SOUNDENT_CHANNEL_REPEATED_PHYSICS_DANGER
  1628. Value: 3 (int)
  1629. Description: Sound channel used in QueryHearSound hooks, etc.
  1630.  
  1631. Constant: SOUNDENT_CHANNEL_REPEATING
  1632. Value: 1 (int)
  1633. Description: Sound channel used in QueryHearSound hooks, etc.
  1634.  
  1635. Constant: SOUNDENT_CHANNEL_SPOOKY_NOISE
  1636. Value: 8 (int)
  1637. Description: Sound channel used in QueryHearSound hooks, etc.
  1638.  
  1639. Constant: SOUNDENT_CHANNEL_UNSPECIFIED
  1640. Value: 0 (int)
  1641. Description: Sound channel used in QueryHearSound hooks, etc.
  1642.  
  1643. Constant: SOUNDENT_CHANNEL_WEAPON
  1644. Value: 4 (int)
  1645. Description: Sound channel used in QueryHearSound hooks, etc.
  1646.  
  1647. Constant: SOUNDENT_CHANNEL_ZOMBINE_GRENADE
  1648. Value: 9 (int)
  1649. Description: Sound channel used in QueryHearSound hooks, etc.
  1650.  
  1651. Constant: SOUNDENT_VOLUME_MACHINEGUN
  1652. Value: 1500 (int)
  1653. Description: Sound volume preset for use in InsertAISound, etc.
  1654.  
  1655. Constant: SOUNDENT_VOLUME_PISTOL
  1656. Value: 500 (int)
  1657. Description: Sound volume preset for use in InsertAISound, etc.
  1658.  
  1659. Constant: SOUNDENT_VOLUME_SHOTGUN
  1660. Value: 1500 (int)
  1661. Description: Sound volume preset for use in InsertAISound, etc.
  1662.  
  1663. Constant: SOUND_BUGBAIT
  1664. Value: 512 (int)
  1665. Description: Sound type used in QueryHearSound hooks, etc.
  1666.  
  1667. Constant: SOUND_BULLET_IMPACT
  1668. Value: 16 (int)
  1669. Description: Sound type used in QueryHearSound hooks, etc.
  1670.  
  1671. Constant: SOUND_CARCASS
  1672. Value: 32 (int)
  1673. Description: Sound type used in QueryHearSound hooks, etc.
  1674.  
  1675. Constant: SOUND_COMBAT
  1676. Value: 1 (int)
  1677. Description: Sound type used in QueryHearSound hooks, etc.
  1678.  
  1679. Constant: SOUND_CONTEXT_ALLIES_ONLY
  1680. Value: 268435456 (int)
  1681. Description: Sound context used in QueryHearSound hooks, etc.
  1682.  
  1683. Constant: SOUND_CONTEXT_COMBINE_ONLY
  1684. Value: 8388608 (int)
  1685. Description: Sound context used in QueryHearSound hooks, etc.
  1686.  
  1687. Constant: SOUND_CONTEXT_DANGER_APPROACH
  1688. Value: 134217728 (int)
  1689. Description: Sound context used in QueryHearSound hooks, etc.
  1690.  
  1691. Constant: SOUND_CONTEXT_EXCLUDE_COMBINE
  1692. Value: 67108864 (int)
  1693. Description: Sound context used in QueryHearSound hooks, etc.
  1694.  
  1695. Constant: SOUND_CONTEXT_EXPLOSION
  1696. Value: 33554432 (int)
  1697. Description: Sound context used in QueryHearSound hooks, etc.
  1698.  
  1699. Constant: SOUND_CONTEXT_FROM_SNIPER
  1700. Value: 1048576 (int)
  1701. Description: Sound context used in QueryHearSound hooks, etc.
  1702.  
  1703. Constant: SOUND_CONTEXT_GUNFIRE
  1704. Value: 2097152 (int)
  1705. Description: Sound context used in QueryHearSound hooks, etc.
  1706.  
  1707. Constant: SOUND_CONTEXT_MORTAR
  1708. Value: 4194304 (int)
  1709. Description: Sound context used in QueryHearSound hooks, etc.
  1710.  
  1711. Constant: SOUND_CONTEXT_PLAYER_VEHICLE
  1712. Value: 536870912 (int)
  1713. Description: Sound context used in QueryHearSound hooks, etc.
  1714.  
  1715. Constant: SOUND_CONTEXT_REACT_TO_SOURCE
  1716. Value: 16777216 (int)
  1717. Description: Sound context used in QueryHearSound hooks, etc.
  1718.  
  1719. Constant: SOUND_DANGER
  1720. Value: 8 (int)
  1721. Description: Sound type used in QueryHearSound hooks, etc.
  1722.  
  1723. Constant: SOUND_DANGER_SNIPERONLY
  1724. Value: 2048 (int)
  1725. Description: Sound type used in QueryHearSound hooks, etc.
  1726.  
  1727. Constant: SOUND_GARBAGE
  1728. Value: 128 (int)
  1729. Description: Sound type used in QueryHearSound hooks, etc.
  1730.  
  1731. Constant: SOUND_MEAT
  1732. Value: 64 (int)
  1733. Description: Sound type used in QueryHearSound hooks, etc.
  1734.  
  1735. Constant: SOUND_MOVE_AWAY
  1736. Value: 4096 (int)
  1737. Description: Sound type used in QueryHearSound hooks, etc.
  1738.  
  1739. Constant: SOUND_NONE
  1740. Value: 0 (int)
  1741. Description: Sound type used in QueryHearSound hooks, etc.
  1742.  
  1743. Constant: SOUND_PHYSICS_DANGER
  1744. Value: 1024 (int)
  1745. Description: Sound type used in QueryHearSound hooks, etc.
  1746.  
  1747. Constant: SOUND_PLAYER
  1748. Value: 4 (int)
  1749. Description: Sound type used in QueryHearSound hooks, etc.
  1750.  
  1751. Constant: SOUND_PLAYER_VEHICLE
  1752. Value: 8192 (int)
  1753. Description: Sound type used in QueryHearSound hooks, etc.
  1754.  
  1755. Constant: SOUND_READINESS_HIGH
  1756. Value: 65536 (int)
  1757. Description: Sound type used in QueryHearSound hooks, etc.
  1758.  
  1759. Constant: SOUND_READINESS_LOW
  1760. Value: 16384 (int)
  1761. Description: Sound type used in QueryHearSound hooks, etc.
  1762.  
  1763. Constant: SOUND_READINESS_MEDIUM
  1764. Value: 32768 (int)
  1765. Description: Sound type used in QueryHearSound hooks, etc.
  1766.  
  1767. Constant: SOUND_THUMPER
  1768. Value: 256 (int)
  1769. Description: Sound type used in QueryHearSound hooks, etc.
  1770.  
  1771. Constant: SOUND_WORLD
  1772. Value: 2 (int)
  1773. Description: Sound type used in QueryHearSound hooks, etc.
  1774.  
  1775. Constant: VECTOR_CONE_10DEGREES
  1776. Value: Vector( 0.087160, 0.087160, 0.087160 ) (Vector)
  1777. Description: 10-degree weapon vector cone.
  1778.  
  1779. Constant: VECTOR_CONE_15DEGREES
  1780. Value: Vector( 0.130530, 0.130530, 0.130530 ) (Vector)
  1781. Description: 15-degree weapon vector cone.
  1782.  
  1783. Constant: VECTOR_CONE_1DEGREES
  1784. Value: Vector( 0.008730, 0.008730, 0.008730 ) (Vector)
  1785. Description: 1-degree weapon vector cone.
  1786.  
  1787. Constant: VECTOR_CONE_20DEGREES
  1788. Value: Vector( 0.173650, 0.173650, 0.173650 ) (Vector)
  1789. Description: 20-degree weapon vector cone.
  1790.  
  1791. Constant: VECTOR_CONE_2DEGREES
  1792. Value: Vector( 0.017450, 0.017450, 0.017450 ) (Vector)
  1793. Description: 2-degree weapon vector cone.
  1794.  
  1795. Constant: VECTOR_CONE_3DEGREES
  1796. Value: Vector( 0.026180, 0.026180, 0.026180 ) (Vector)
  1797. Description: 3-degree weapon vector cone.
  1798.  
  1799. Constant: VECTOR_CONE_4DEGREES
  1800. Value: Vector( 0.034900, 0.034900, 0.034900 ) (Vector)
  1801. Description: 4-degree weapon vector cone.
  1802.  
  1803. Constant: VECTOR_CONE_5DEGREES
  1804. Value: Vector( 0.043620, 0.043620, 0.043620 ) (Vector)
  1805. Description: 5-degree weapon vector cone.
  1806.  
  1807. Constant: VECTOR_CONE_6DEGREES
  1808. Value: Vector( 0.052340, 0.052340, 0.052340 ) (Vector)
  1809. Description: 6-degree weapon vector cone.
  1810.  
  1811. Constant: VECTOR_CONE_7DEGREES
  1812. Value: Vector( 0.061050, 0.061050, 0.061050 ) (Vector)
  1813. Description: 7-degree weapon vector cone.
  1814.  
  1815. Constant: VECTOR_CONE_8DEGREES
  1816. Value: Vector( 0.069760, 0.069760, 0.069760 ) (Vector)
  1817. Description: 8-degree weapon vector cone.
  1818.  
  1819. Constant: VECTOR_CONE_9DEGREES
  1820. Value: Vector( 0.078460, 0.078460, 0.078460 ) (Vector)
  1821. Description: 9-degree weapon vector cone.
  1822.  
  1823. Constant: VECTOR_CONE_PRECALCULATED
  1824. Value: Vector( 0.000000, 0.000000, 0.000000 ) (Vector)
  1825. 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.
  1826.  
  1827. Constant: VOL_NORM
  1828. Value: 1.000000 (float)
  1829. Description: The standard volume value.
  1830.  
  1831. Constant: WEAPON_PROFICIENCY_AVERAGE
  1832. Value: 1 (int)
  1833. Description: Average weapon proficiency. Causes average accuracy.
  1834.  
  1835. Constant: WEAPON_PROFICIENCY_GOOD
  1836. Value: 2 (int)
  1837. Description: Good weapon proficiency. Causes good accuracy.
  1838.  
  1839. Constant: WEAPON_PROFICIENCY_PERFECT
  1840. Value: 4 (int)
  1841. Description: Perfect weapon proficiency. Causes perfect accuracy.
  1842.  
  1843. Constant: WEAPON_PROFICIENCY_POOR
  1844. Value: 0 (int)
  1845. Description: Poor weapon proficiency. Causes low accuracy.
  1846.  
  1847. Constant: WEAPON_PROFICIENCY_VERY_GOOD
  1848. Value: 3 (int)
  1849. Description: Very good weapon proficiency. Causes very good accuracy.
  1850.  
  1851. Constant: WeaponSound.BURST
  1852. Value: 5 (int)
  1853.  
  1854. Constant: WeaponSound.DEPLOY
  1855. Value: 15 (int)
  1856.  
  1857. Constant: WeaponSound.DOUBLE_NPC
  1858. Value: 4 (int)
  1859.  
  1860. Constant: WeaponSound.EMPTY
  1861. Value: 0 (int)
  1862.  
  1863. Constant: WeaponSound.MELEE_HIT
  1864. Value: 9 (int)
  1865.  
  1866. Constant: WeaponSound.MELEE_HIT_WORLD
  1867. Value: 10 (int)
  1868.  
  1869. Constant: WeaponSound.MELEE_MISS
  1870. Value: 8 (int)
  1871.  
  1872. Constant: WeaponSound.NUM_SHOOT_SOUND_TYPES
  1873. Value: 24 (int)
  1874.  
  1875. Constant: WeaponSound.RELOAD
  1876. Value: 6 (int)
  1877.  
  1878. Constant: WeaponSound.RELOAD_NPC
  1879. Value: 7 (int)
  1880.  
  1881. Constant: WeaponSound.SINGLE
  1882. Value: 1 (int)
  1883.  
  1884. Constant: WeaponSound.SINGLE_NPC
  1885. Value: 2 (int)
  1886.  
  1887. Constant: WeaponSound.SPECIAL1
  1888. Value: 11 (int)
  1889.  
  1890. Constant: WeaponSound.SPECIAL2
  1891. Value: 12 (int)
  1892.  
  1893. Constant: WeaponSound.SPECIAL3
  1894. Value: 13 (int)
  1895.  
  1896. Constant: WeaponSound.TAUNT
  1897. Value: 14 (int)
  1898.  
  1899. Constant: WeaponSound.WPN_DOUBLE
  1900. Value: 3 (int)
  1901.  
  1902. Constant: bits_CAP_AIM_GUN
  1903. Value: 536870912 (int)
  1904. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1905.  
  1906. Constant: bits_CAP_ANIMATEDFACE
  1907. Value: 8388608 (int)
  1908. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1909.  
  1910. Constant: bits_CAP_AUTO_DOORS
  1911. Value: 1024 (int)
  1912. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1913.  
  1914. Constant: bits_CAP_DOORS_GROUP
  1915. Value: 3072 (int)
  1916. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1917.  
  1918. Constant: bits_CAP_DUCK
  1919. Value: 134217728 (int)
  1920. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1921.  
  1922. Constant: bits_CAP_FRIENDLY_DMG_IMMUNE
  1923. Value: 33554432 (int)
  1924. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1925.  
  1926. Constant: bits_CAP_INNATE_MELEE_ATTACK1
  1927. Value: 524288 (int)
  1928. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1929.  
  1930. Constant: bits_CAP_INNATE_MELEE_ATTACK2
  1931. Value: 1048576 (int)
  1932. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1933.  
  1934. Constant: bits_CAP_INNATE_RANGE_ATTACK1
  1935. Value: 131072 (int)
  1936. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1937.  
  1938. Constant: bits_CAP_INNATE_RANGE_ATTACK2
  1939. Value: 262144 (int)
  1940. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1941.  
  1942. Constant: bits_CAP_MELEE_ATTACK_GROUP
  1943. Value: 98304 (int)
  1944. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1945.  
  1946. Constant: bits_CAP_MOVE_CLIMB
  1947. Value: 8 (int)
  1948. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1949.  
  1950. Constant: bits_CAP_MOVE_CRAWL
  1951. Value: 32 (int)
  1952. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1953.  
  1954. Constant: bits_CAP_MOVE_FLY
  1955. Value: 4 (int)
  1956. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1957.  
  1958. Constant: bits_CAP_MOVE_GROUND
  1959. Value: 1 (int)
  1960. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1961.  
  1962. Constant: bits_CAP_MOVE_JUMP
  1963. Value: 2 (int)
  1964. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1965.  
  1966. Constant: bits_CAP_MOVE_SHOOT
  1967. Value: 64 (int)
  1968. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1969.  
  1970. Constant: bits_CAP_MOVE_SWIM
  1971. Value: 16 (int)
  1972. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1973.  
  1974. Constant: bits_CAP_NO_HIT_PLAYER
  1975. Value: 268435456 (int)
  1976. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1977.  
  1978. Constant: bits_CAP_NO_HIT_SQUADMATES
  1979. Value: 1073741824 (int)
  1980. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1981.  
  1982. Constant: bits_CAP_OPEN_DOORS
  1983. Value: 2048 (int)
  1984. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1985.  
  1986. Constant: bits_CAP_RANGE_ATTACK_GROUP
  1987. Value: 24576 (int)
  1988. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1989.  
  1990. Constant: bits_CAP_SIMPLE_RADIUS_DAMAGE
  1991. Value: -2147483648 (int)
  1992. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1993.  
  1994. Constant: bits_CAP_SKIP_NAV_GROUND_CHECK
  1995. Value: 128 (int)
  1996. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  1997.  
  1998. Constant: bits_CAP_SQUAD
  1999. Value: 67108864 (int)
  2000. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2001.  
  2002. Constant: bits_CAP_TURN_HEAD
  2003. Value: 4096 (int)
  2004. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2005.  
  2006. Constant: bits_CAP_USE
  2007. Value: 256 (int)
  2008. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2009.  
  2010. Constant: bits_CAP_USE_SHOT_REGULATOR
  2011. Value: 16777216 (int)
  2012. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2013.  
  2014. Constant: bits_CAP_USE_WEAPONS
  2015. Value: 2097152 (int)
  2016. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2017.  
  2018. Constant: bits_CAP_WEAPON_MELEE_ATTACK1
  2019. Value: 32768 (int)
  2020. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2021.  
  2022. Constant: bits_CAP_WEAPON_MELEE_ATTACK2
  2023. Value: 65536 (int)
  2024. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2025.  
  2026. Constant: bits_CAP_WEAPON_RANGE_ATTACK1
  2027. Value: 8192 (int)
  2028. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2029.  
  2030. Constant: bits_CAP_WEAPON_RANGE_ATTACK2
  2031. Value: 16384 (int)
  2032. Description: NPC/player/weapon capability used in GetCapabilities(), etc.
  2033.  
  2034. =====================================
  2035. Class: AI_EnemyInfo_t
  2036. Base:
  2037. Description: Accessor for information about an enemy.
  2038. =====================================
  2039.  
  2040. =====================================
  2041. Class: CAI_BaseActor
  2042. Base: CAI_BaseNPC
  2043. Description: The base class for NPCs which act in complex choreo scenes.
  2044. =====================================
  2045.  
  2046. =====================================
  2047. Class: CAI_BaseNPC
  2048. Base: CBaseCombatCharacter
  2049. Description: The base class all NPCs derive from.
  2050. =====================================
  2051.  
  2052. =====================================
  2053. Class: CAI_Expresser
  2054. Base:
  2055. Description: Expresser class for complex speech.
  2056. =====================================
  2057.  
  2058. =====================================
  2059. Class: CAI_GoalEntity
  2060. Base: CBaseEntity
  2061. Description: The base class for goal entities used to control NPC behavior.
  2062. =====================================
  2063.  
  2064. =====================================
  2065. Class: CAI_Hint
  2066. Base: CBaseEntity
  2067. Description: An entity which gives contextual pointers for NPCs.
  2068. =====================================
  2069.  
  2070. =====================================
  2071. Class: CAI_Squad
  2072. Base:
  2073. Description: NPC squads used for schedule coordination, sharing information about enemies, etc.
  2074. =====================================
  2075.  
  2076. =====================================
  2077. Class: CAI_SquadManager
  2078. Base:
  2079. Description: Manager for NPC squads.
  2080. =====================================
  2081.  
  2082. =====================================
  2083. Class: CAmmoDef
  2084. Base:
  2085. Description: The ammo type definition manager.
  2086. =====================================
  2087.  
  2088. =====================================
  2089. Class: CBaseAnimating
  2090. Base: CBaseEntity
  2091. Description: Animating models
  2092. =====================================
  2093.  
  2094. =====================================
  2095. Class: CBaseCombatCharacter
  2096. Base: CBaseFlex
  2097. Description: The base class shared by players and NPCs.
  2098. =====================================
  2099.  
  2100. =====================================
  2101. Class: CBaseCombatWeapon
  2102. Base: CBaseAnimating
  2103. Description: The base class for all equippable weapons.
  2104. =====================================
  2105.  
  2106. =====================================
  2107. Class: CBaseEntity
  2108. Base:
  2109. Description: Root class of all server-side entities
  2110. =====================================
  2111.  
  2112. =====================================
  2113. Class: CBaseFilter
  2114. Base: CBaseEntity
  2115. Description: All entities which could be used as filters.
  2116. =====================================
  2117.  
  2118. =====================================
  2119. Class: CBaseFlex
  2120. Base: CBaseAnimating
  2121. Description: Animated characters who have vertex flex capability.
  2122. =====================================
  2123.  
  2124. =====================================
  2125. Class: CBasePlayer
  2126. Base: CInfectableCharacter
  2127. Description: The player entity.
  2128. =====================================
  2129.  
  2130. =====================================
  2131. Class: CConvars
  2132. Base:
  2133. Description: Provides an interface to convars.
  2134. =====================================
  2135.  
  2136. =====================================
  2137. Class: CDebugOverlayScriptHelper
  2138. Base:
  2139. Description: CDebugOverlayScriptHelper
  2140. =====================================
  2141.  
  2142. =====================================
  2143. Class: CEntities
  2144. Base:
  2145. Description: The global list of entities
  2146. =====================================
  2147.  
  2148. =====================================
  2149. Class: CEnvEntityMaker
  2150. Base: CBaseEntity
  2151. Description: env_entity_maker
  2152. =====================================
  2153.  
  2154. =====================================
  2155. Class: CFilterScript
  2156. Base: CBaseFilter
  2157. Description: The filter_script entity which allows VScript functions to hook onto filter methods.
  2158. =====================================
  2159.  
  2160. =====================================
  2161. Class: CGameRules
  2162. Base:
  2163. Description: The container of the game's rules, handling behavior which could be different on a game-by-game basis.
  2164. =====================================
  2165.  
  2166. =====================================
  2167. Class: CGameState
  2168. Base:
  2169. Description: Helper interface for various game state functions.
  2170. =====================================
  2171.  
  2172. =====================================
  2173. Class: CGameTrace
  2174. Base:
  2175. Description: trace_t
  2176. =====================================
  2177.  
  2178. =====================================
  2179. Class: CGlobalSys
  2180. Base:
  2181. Description: GlobalSys
  2182. =====================================
  2183.  
  2184. =====================================
  2185. Class: CInfectableCharacter
  2186. Base: CBaseCombatCharacter
  2187. Description: Base class for all characters that can be infected.
  2188. =====================================
  2189.  
  2190. =====================================
  2191. Class: CItem_AmmoBox
  2192. Base: CBaseAnimating
  2193. Description: Ammo box.
  2194. =====================================
  2195.  
  2196. =====================================
  2197. Class: CItem_InventoryBox
  2198. Base: CBaseAnimating
  2199. Description: Inventory box, an entity used for supply crates.
  2200. =====================================
  2201.  
  2202. =====================================
  2203. Class: CLocalize
  2204. Base:
  2205. Description: Accesses functions related to localization strings.
  2206. =====================================
  2207.  
  2208. =====================================
  2209. Class: CNMRiHLogicScriptProxy
  2210. Base: CBaseEntity
  2211. Description: Script proxy.
  2212. =====================================
  2213.  
  2214. =====================================
  2215. Class: CNMRiH_BaseZombie
  2216. Base: CAI_BaseNPC
  2217. Description: The zombie entity.
  2218. =====================================
  2219.  
  2220. =====================================
  2221. Class: CNMRiH_Player
  2222. Base: CBasePlayer
  2223. Description: The player entity for NMRiH.
  2224. =====================================
  2225.  
  2226. =====================================
  2227. Class: CNetPropManager
  2228. Base:
  2229. Description: Allows reading and updating the network properties of an entity.
  2230. =====================================
  2231.  
  2232. =====================================
  2233. Class: CObjectiveManager
  2234. Base:
  2235. Description: Interface for objective manager.
  2236. =====================================
  2237.  
  2238. =====================================
  2239. Class: COverlord_Wave_Controller
  2240. Base: CBaseEntity
  2241. Description: The wave controller.
  2242. =====================================
  2243.  
  2244. =====================================
  2245. Class: CRagdollProp
  2246. Base: CBaseAnimating
  2247. Description: Ragdoll physics prop.
  2248. =====================================
  2249.  
  2250. =====================================
  2251. Class: CRulesetManager
  2252. Base:
  2253. Description: Interface for ruleset manager.
  2254. =====================================
  2255.  
  2256. =====================================
  2257. Class: CSceneEntity
  2258. Base: CBaseEntity
  2259. Description: Choreographed scene which controls animation and/or dialog on one or more actors.
  2260. =====================================
  2261.  
  2262. =====================================
  2263. Class: CSceneListManager
  2264. Base: CBaseEntity
  2265. Description: Stores choreo scenes and cleans them up when a later scene in the list begins playing.
  2266. =====================================
  2267.  
  2268. =====================================
  2269. Class: CScriptKeyValues
  2270. Base:
  2271. Description: Wrapper class over KeyValues instance
  2272. =====================================
  2273.  
  2274. =====================================
  2275. Class: CSound
  2276. Base:
  2277. Description: A sound NPCs can hear.
  2278. =====================================
  2279.  
  2280. =====================================
  2281. Class: CTakeDamageInfo
  2282. Base:
  2283. Description: Damage information handler.
  2284. =====================================
  2285.  
  2286. =====================================
  2287. Class: CUserCmd
  2288. Base:
  2289. =====================================
  2290.  
  2291. =====================================
  2292. Class: CVersion
  2293. Base:
  2294. Description: Utilities for NMRiH versioning, such as patch labels.
  2295. =====================================
  2296.  
  2297. =====================================
  2298. Class: Color
  2299. Base:
  2300. =====================================
  2301.  
  2302. =====================================
  2303. Class: EmitSound_t
  2304. Base:
  2305. =====================================
  2306.  
  2307. =====================================
  2308. Class: FireBulletsInfo_t
  2309. Base:
  2310. =====================================
  2311.  
  2312. =====================================
  2313. Class: IPhysicsObject
  2314. Base:
  2315. Description: VPhysics object class.
  2316. =====================================
  2317.  
  2318. =====================================
  2319. Class: Quaternion
  2320. Base:
  2321. Description: A quaternion.
  2322. =====================================
  2323.  
  2324. =====================================
  2325. Class: Vector
  2326. Base:
  2327. Description: Basic 3-float Vector class.
  2328. =====================================
  2329.  
  2330. =====================================
  2331. Class: cplane_t
  2332. Base:
  2333. =====================================
  2334.  
  2335. =====================================
  2336. Class: csurface_t
  2337. Base:
  2338. =====================================
  2339.  
  2340. =====================================
  2341. Class: matrix3x4_t
  2342. Base:
  2343. Description: A 3x4 matrix transform.
  2344. =====================================
  2345.  
  2346. =====================================
  2347. Class: scriptanimevent_t
  2348. Base:
  2349. =====================================
  2350.  
  2351. =====================================
  2352. Class: surfacedata_t
  2353. Base:
  2354. =====================================
  2355.  
  2356. Function: AI_EnemyInfo_t::DangerMemory
  2357. Signature: bool AI_EnemyInfo_t::DangerMemory()
  2358. Description: Get the memory of danger position w/o enemy pointer.
  2359.  
  2360. Function: AI_EnemyInfo_t::EludedMe
  2361. Signature: bool AI_EnemyInfo_t::EludedMe()
  2362. Description: Get whether the enemy is not at the last known location.
  2363.  
  2364. Function: AI_EnemyInfo_t::Enemy
  2365. Signature: handle AI_EnemyInfo_t::Enemy()
  2366. Description: Get the enemy.
  2367.  
  2368. Function: AI_EnemyInfo_t::LastKnownLocation
  2369. Signature: Vector AI_EnemyInfo_t::LastKnownLocation()
  2370. Description: Get the enemy's last known location.
  2371.  
  2372. Function: AI_EnemyInfo_t::LastSeenLocation
  2373. Signature: Vector AI_EnemyInfo_t::LastSeenLocation()
  2374. Description: Get the enemy's last seen location.
  2375.  
  2376. Function: AI_EnemyInfo_t::MobbedMe
  2377. Signature: bool AI_EnemyInfo_t::MobbedMe()
  2378. Description: Get whether the enemy was part of a mob at some point.
  2379.  
  2380. Function: AI_EnemyInfo_t::SetDangerMemory
  2381. Signature: void AI_EnemyInfo_t::SetDangerMemory(bool)
  2382. Description: Set the memory of danger position w/o enemy pointer.
  2383.  
  2384. Function: AI_EnemyInfo_t::SetEludedMe
  2385. Signature: void AI_EnemyInfo_t::SetEludedMe(bool)
  2386. Description: Set whether the enemy is not at the last known location.
  2387.  
  2388. Function: AI_EnemyInfo_t::SetEnemy
  2389. Signature: void AI_EnemyInfo_t::SetEnemy(handle)
  2390. Description: Set the enemy.
  2391.  
  2392. Function: AI_EnemyInfo_t::SetLastKnownLocation
  2393. Signature: void AI_EnemyInfo_t::SetLastKnownLocation(Vector)
  2394. Description: Set the enemy's last known location.
  2395.  
  2396. Function: AI_EnemyInfo_t::SetLastSeenLocation
  2397. Signature: void AI_EnemyInfo_t::SetLastSeenLocation(Vector)
  2398. Description: Set the enemy's last seen location.
  2399.  
  2400. Function: AI_EnemyInfo_t::SetMobbedMe
  2401. Signature: void AI_EnemyInfo_t::SetMobbedMe(bool)
  2402. Description: Set whether the enemy was part of a mob at some point.
  2403.  
  2404. Function: AI_EnemyInfo_t::SetTimeAtFirstHand
  2405. Signature: void AI_EnemyInfo_t::SetTimeAtFirstHand(float)
  2406. Description: Set the time at which the enemy was seen firsthand.
  2407.  
  2408. Function: AI_EnemyInfo_t::SetTimeFirstSeen
  2409. Signature: void AI_EnemyInfo_t::SetTimeFirstSeen(float)
  2410. Description: Set the first time the enemy was seen.
  2411.  
  2412. Function: AI_EnemyInfo_t::SetTimeLastReacquired
  2413. Signature: void AI_EnemyInfo_t::SetTimeLastReacquired(float)
  2414. Description: Set the last time the enemy was reaquired.
  2415.  
  2416. Function: AI_EnemyInfo_t::SetTimeLastReceivedDamageFrom
  2417. Signature: void AI_EnemyInfo_t::SetTimeLastReceivedDamageFrom(float)
  2418. Description: Set the last time damage was received from this enemy.
  2419.  
  2420. Function: AI_EnemyInfo_t::SetTimeLastSeen
  2421. Signature: void AI_EnemyInfo_t::SetTimeLastSeen(float)
  2422. Description: Set the last time the enemy was seen.
  2423.  
  2424. Function: AI_EnemyInfo_t::SetTimeValidEnemy
  2425. Signature: void AI_EnemyInfo_t::SetTimeValidEnemy(float)
  2426. Description: Set the time at which the enemy can be selected (reaction delay).
  2427.  
  2428. Function: AI_EnemyInfo_t::SetUnforgettable
  2429. Signature: void AI_EnemyInfo_t::SetUnforgettable(bool)
  2430. Description: Set whether the enemy is unforgettable.
  2431.  
  2432. Function: AI_EnemyInfo_t::TimeAtFirstHand
  2433. Signature: float AI_EnemyInfo_t::TimeAtFirstHand()
  2434. Description: Get the time at which the enemy was seen firsthand.
  2435.  
  2436. Function: AI_EnemyInfo_t::TimeFirstSeen
  2437. Signature: float AI_EnemyInfo_t::TimeFirstSeen()
  2438. Description: Get the first time the enemy was seen.
  2439.  
  2440. Function: AI_EnemyInfo_t::TimeLastReacquired
  2441. Signature: float AI_EnemyInfo_t::TimeLastReacquired()
  2442. Description: Get the last time the enemy was reaquired.
  2443.  
  2444. Function: AI_EnemyInfo_t::TimeLastReceivedDamageFrom
  2445. Signature: float AI_EnemyInfo_t::TimeLastReceivedDamageFrom()
  2446. Description: Get the last time damage was received from this enemy.
  2447.  
  2448. Function: AI_EnemyInfo_t::TimeLastSeen
  2449. Signature: float AI_EnemyInfo_t::TimeLastSeen()
  2450. Description: Get the last time the enemy was seen.
  2451.  
  2452. Function: AI_EnemyInfo_t::TimeValidEnemy
  2453. Signature: float AI_EnemyInfo_t::TimeValidEnemy()
  2454. Description: Get the time at which the enemy can be selected (reaction delay).
  2455.  
  2456. Function: AI_EnemyInfo_t::Unforgettable
  2457. Signature: bool AI_EnemyInfo_t::Unforgettable()
  2458. Description: Get whether the enemy is unforgettable.
  2459.  
  2460. Function: AddPhysVelocity
  2461. Signature: void AddPhysVelocity(handle, Vector, Vector)
  2462. Description: Adds physics velocity for the given VPhysics object
  2463.  
  2464. Function: AddThinkToEnt
  2465. Signature: void AddThinkToEnt(handle, string)
  2466. Description: This will put a think function onto an entity, or pass null to remove it. This is NOT chained, so be careful.
  2467.  
  2468. Function: AngleDiff
  2469. Signature: float AngleDiff(float, float)
  2470. Description: Returns the degrees difference between two yaw angles.
  2471.  
  2472. Function: AngleDistance
  2473. Signature: float AngleDistance(float, float)
  2474.  
  2475. Function: AngleIMatrix
  2476. Signature: void AngleIMatrix(Vector, Vector, handle)
  2477. Description: Sets the inverted angles and position of a matrix.
  2478.  
  2479. Function: AngleMatrix
  2480. Signature: void AngleMatrix(Vector, Vector, handle)
  2481. Description: Sets the angles and position of a matrix.
  2482.  
  2483. Function: AngleNormalize
  2484. Signature: float AngleNormalize(float)
  2485. Description: Clamps an angle to be in between -360 and 360.
  2486.  
  2487. Function: AngleNormalizePositive
  2488. Signature: float AngleNormalizePositive(float)
  2489. Description: Clamps an angle to be in between 0 and 360.
  2490.  
  2491. Function: AngleVectors
  2492. Signature: Vector AngleVectors(Vector)
  2493. Description: Turns an angle into a direction vector.
  2494.  
  2495. Function: AnglesAreEqual
  2496. Signature: bool AnglesAreEqual(float, float, float)
  2497. Description: Checks if two angles are equal based on a given tolerance value.
  2498.  
  2499. Function: Approach
  2500. Signature: float Approach(float, float, float)
  2501.  
  2502. Function: ApproachAngle
  2503. Signature: float ApproachAngle(float, float, float)
  2504. Description: Returns an angle which approaches the target angle from the input angle with the specified speed.
  2505.  
  2506. Function: Bias
  2507. Signature: float Bias(float, float)
  2508. Description: The curve is biased towards 0 or 1 based on biasAmt, which is between 0 and 1.
  2509.  
  2510. Function: CAI_BaseActor::AddLookTarget
  2511. Signature: void CAI_BaseActor::AddLookTarget(handle, float, float, float)
  2512. Description: Add a potential look target for this actor.
  2513.  
  2514. Function: CAI_BaseActor::AddLookTargetPos
  2515. Signature: void CAI_BaseActor::AddLookTargetPos(Vector, float, float, float)
  2516. Description: Add a potential look target position for this actor.
  2517.  
  2518. Function: CAI_BaseNPC::AddSleepFlags
  2519. Signature: void CAI_BaseNPC::AddSleepFlags(int)
  2520. Description: Add to the NPC's sleep flags. (see AI_SLEEP_ set of constants)
  2521.  
  2522. Function: CAI_BaseNPC::CapabilitiesAdd
  2523. Signature: int CAI_BaseNPC::CapabilitiesAdd(int)
  2524. Description: Add capabilities to the NPC.
  2525.  
  2526. Function: CAI_BaseNPC::CapabilitiesClear
  2527. Signature: void CAI_BaseNPC::CapabilitiesClear()
  2528. Description: Clear capabilities for the NPC.
  2529.  
  2530. Function: CAI_BaseNPC::CapabilitiesGet
  2531. Signature: int CAI_BaseNPC::CapabilitiesGet()
  2532. Description: Get the capabilities the NPC currently possesses.
  2533.  
  2534. Function: CAI_BaseNPC::CapabilitiesRemove
  2535. Signature: int CAI_BaseNPC::CapabilitiesRemove(int)
  2536. Description: Remove capabilities from the NPC.
  2537.  
  2538. Function: CAI_BaseNPC::ClearCondition
  2539. Signature: void CAI_BaseNPC::ClearCondition(string)
  2540. Description: Clear a condition on the NPC.
  2541.  
  2542. Function: CAI_BaseNPC::ClearConditionID
  2543. Signature: void CAI_BaseNPC::ClearConditionID(int)
  2544. Description: Clear a condition on the NPC by ID.
  2545.  
  2546. Function: CAI_BaseNPC::ClearSchedule
  2547. Signature: void CAI_BaseNPC::ClearSchedule(string)
  2548. Description: Clear the NPC's current schedule for the specified reason.
  2549.  
  2550. Function: CAI_BaseNPC::FindEnemyMemory
  2551. Signature: handle CAI_BaseNPC::FindEnemyMemory(handle)
  2552. Description: Get information about the NPC's current enemy.
  2553.  
  2554. Function: CAI_BaseNPC::GetActivity
  2555. Signature: string CAI_BaseNPC::GetActivity()
  2556. Description: Get the NPC's current activity.
  2557.  
  2558. Function: CAI_BaseNPC::GetActivityID
  2559. Signature: int CAI_BaseNPC::GetActivityID()
  2560. Description: Get the NPC's current activity ID.
  2561.  
  2562. Function: CAI_BaseNPC::GetCine
  2563. Signature: handle CAI_BaseNPC::GetCine()
  2564. Description: Get the NPC's currently running scripted sequence if it has one.
  2565.  
  2566. Function: CAI_BaseNPC::GetEnemy
  2567. Signature: handle CAI_BaseNPC::GetEnemy()
  2568. Description: Get the NPC's current enemy.
  2569.  
  2570. Function: CAI_BaseNPC::GetEnemyLKP
  2571. Signature: Vector CAI_BaseNPC::GetEnemyLKP()
  2572. Description: Get the last known position of the NPC's current enemy.
  2573.  
  2574. Function: CAI_BaseNPC::GetExpresser
  2575. Signature: handle CAI_BaseNPC::GetExpresser()
  2576. Description: Get a handle for this NPC's expresser.
  2577.  
  2578. Function: CAI_BaseNPC::GetHintGroup
  2579. Signature: string CAI_BaseNPC::GetHintGroup()
  2580. Description: Get the name of the NPC's hint group.
  2581.  
  2582. Function: CAI_BaseNPC::GetHintNode
  2583. Signature: handle CAI_BaseNPC::GetHintNode()
  2584. Description: Get the NPC's current AI hint.
  2585.  
  2586. Function: CAI_BaseNPC::GetLastAttackTime
  2587. Signature: float CAI_BaseNPC::GetLastAttackTime()
  2588. Description: Get the last time the NPC has used an attack (e.g. fired a bullet from a gun).
  2589.  
  2590. Function: CAI_BaseNPC::GetLastDamageTime
  2591. Signature: float CAI_BaseNPC::GetLastDamageTime()
  2592. Description: Get the last time the NPC has been damaged.
  2593.  
  2594. Function: CAI_BaseNPC::GetLastEnemyTime
  2595. Signature: float CAI_BaseNPC::GetLastEnemyTime()
  2596. Description: Get the last time the NPC has seen an enemy.
  2597.  
  2598. Function: CAI_BaseNPC::GetLastPlayerDamageTime
  2599. Signature: float CAI_BaseNPC::GetLastPlayerDamageTime()
  2600. Description: Get the last time the NPC has been damaged by a player.
  2601.  
  2602. Function: CAI_BaseNPC::GetNPCState
  2603. Signature: int CAI_BaseNPC::GetNPCState()
  2604. Description: Get the NPC's current state.
  2605.  
  2606. Function: CAI_BaseNPC::GetSchedule
  2607. Signature: string CAI_BaseNPC::GetSchedule()
  2608. Description: Get the NPC's current schedule.
  2609.  
  2610. Function: CAI_BaseNPC::GetScheduleID
  2611. Signature: int CAI_BaseNPC::GetScheduleID()
  2612. Description: Get the NPC's current schedule ID.
  2613.  
  2614. Function: CAI_BaseNPC::GetScriptState
  2615. Signature: int CAI_BaseNPC::GetScriptState()
  2616. Description: Get the NPC's current scripted sequence state.
  2617.  
  2618. Function: CAI_BaseNPC::GetSleepState
  2619. Signature: int CAI_BaseNPC::GetSleepState()
  2620. Description: Get the NPC's sleep state. (see AISS_ set of constants)
  2621.  
  2622. Function: CAI_BaseNPC::GetSquad
  2623. Signature: handle CAI_BaseNPC::GetSquad()
  2624. Description: Get the NPC's squad if it has one.
  2625.  
  2626. Function: CAI_BaseNPC::GetTask
  2627. Signature: string CAI_BaseNPC::GetTask()
  2628. Description: Get the NPC's current task.
  2629.  
  2630. Function: CAI_BaseNPC::GetTaskID
  2631. Signature: int CAI_BaseNPC::GetTaskID()
  2632. Description: Get the NPC's current task ID.
  2633.  
  2634. Function: CAI_BaseNPC::HasCondition
  2635. Signature: bool CAI_BaseNPC::HasCondition(string)
  2636. Description: Get whether the NPC has a condition.
  2637.  
  2638. Function: CAI_BaseNPC::HasConditionID
  2639. Signature: bool CAI_BaseNPC::HasConditionID(int)
  2640. Description: Get whether the NPC has a condition ID.
  2641.  
  2642. Function: CAI_BaseNPC::HasSleepFlags
  2643. Signature: bool CAI_BaseNPC::HasSleepFlags(int)
  2644. Description: Return true if the NPC has the specified sleep flags. (see AI_SLEEP_ set of constants)
  2645.  
  2646. Function: CAI_BaseNPC::IsCommandable
  2647. Signature: bool CAI_BaseNPC::IsCommandable()
  2648. Description: Check if the NPC is commandable.
  2649.  
  2650. Function: CAI_BaseNPC::IsInPlayerSquad
  2651. Signature: bool CAI_BaseNPC::IsInPlayerSquad()
  2652. Description: Check if the NPC is in the player's squad.
  2653.  
  2654. Function: CAI_BaseNPC::IsInSquad
  2655. Signature: bool CAI_BaseNPC::IsInSquad()
  2656. Description: Returns true if the NPC is in a squad.
  2657.  
  2658. Function: CAI_BaseNPC::IsMoving
  2659. Signature: bool CAI_BaseNPC::IsMoving()
  2660. Description: Check if the NPC is moving.
  2661.  
  2662. Function: CAI_BaseNPC::NumWeaponsInSquad
  2663. Signature: int CAI_BaseNPC::NumWeaponsInSquad(string)
  2664. Description: Get the number of weapons in a squad.
  2665.  
  2666. Function: CAI_BaseNPC::RemoveSleepFlags
  2667. Signature: void CAI_BaseNPC::RemoveSleepFlags(int)
  2668. Description: Remove from NPC's sleep flags. (see AI_SLEEP_ set of constants)
  2669.  
  2670. Function: CAI_BaseNPC::ResetActivity
  2671. Signature: void CAI_BaseNPC::ResetActivity()
  2672. Description: Reset the NPC's current activity.
  2673.  
  2674. Function: CAI_BaseNPC::SetActivity
  2675. Signature: void CAI_BaseNPC::SetActivity(string)
  2676. Description: Set the NPC's current activity.
  2677.  
  2678. Function: CAI_BaseNPC::SetActivityID
  2679. Signature: void CAI_BaseNPC::SetActivityID(int)
  2680. Description: Set the NPC's current activity ID.
  2681.  
  2682. Function: CAI_BaseNPC::SetCondition
  2683. Signature: void CAI_BaseNPC::SetCondition(string)
  2684. Description: Set a condition on the NPC.
  2685.  
  2686. Function: CAI_BaseNPC::SetConditionID
  2687. Signature: void CAI_BaseNPC::SetConditionID(int)
  2688. Description: Set a condition on the NPC by ID.
  2689.  
  2690. Function: CAI_BaseNPC::SetEnemy
  2691. Signature: void CAI_BaseNPC::SetEnemy(handle)
  2692. Description: Set the NPC's current enemy.
  2693.  
  2694. Function: CAI_BaseNPC::SetSchedule
  2695. Signature: void CAI_BaseNPC::SetSchedule(string)
  2696. Description: Set the NPC's current schedule.
  2697.  
  2698. Function: CAI_BaseNPC::SetScheduleID
  2699. Signature: void CAI_BaseNPC::SetScheduleID(int)
  2700. Description: Set the NPC's current schedule ID.
  2701.  
  2702. Function: CAI_BaseNPC::SetSleepState
  2703. Signature: void CAI_BaseNPC::SetSleepState(int)
  2704. Description: Set the NPC's sleep state. (see AISS_ set of constants)
  2705.  
  2706. Function: CAI_BaseNPC::Sleep
  2707. Signature: void CAI_BaseNPC::Sleep()
  2708. Description: Puts the NPC into a sleeping state.
  2709.  
  2710. Function: CAI_BaseNPC::Wake
  2711. Signature: void CAI_BaseNPC::Wake(handle)
  2712. Description: Awakens the NPC if it is currently asleep.
  2713.  
  2714. Function: CAI_Expresser::BlockSpeechUntil
  2715. Signature: void CAI_Expresser::BlockSpeechUntil(float)
  2716. Description: Block speech for a certain amount of time. This is stored in curtime.
  2717.  
  2718. Function: CAI_Expresser::CanSpeak
  2719. Signature: bool CAI_Expresser::CanSpeak()
  2720. Description: Check if the actor can speak.
  2721.  
  2722. Function: CAI_Expresser::ForceNotSpeaking
  2723. Signature: void CAI_Expresser::ForceNotSpeaking()
  2724. Description: If the actor is speaking, force the system to recognize them as not speaking.
  2725.  
  2726. Function: CAI_Expresser::GetVoicePitch
  2727. Signature: int CAI_Expresser::GetVoicePitch()
  2728. Description: Get the actor's voice pitch. Used in sentences.
  2729.  
  2730. Function: CAI_Expresser::IsSpeaking
  2731. Signature: bool CAI_Expresser::IsSpeaking()
  2732. Description: Check if the actor is speaking.
  2733.  
  2734. Function: CAI_Expresser::SetVoicePitch
  2735. Signature: void CAI_Expresser::SetVoicePitch(int)
  2736. Description: Set the actor's voice pitch. Used in sentences.
  2737.  
  2738. Function: CAI_Expresser::Speak
  2739. Signature: bool CAI_Expresser::Speak(string, string)
  2740. Description: Speak a response concept with the specified modifiers.
  2741.  
  2742. Function: CAI_Expresser::SpeakAutoGeneratedScene
  2743. Signature: bool CAI_Expresser::SpeakAutoGeneratedScene(string, float)
  2744. 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.
  2745.  
  2746. Function: CAI_Expresser::SpeakRawScene
  2747. Signature: bool CAI_Expresser::SpeakRawScene(string, float)
  2748. Description: Speak a raw, instanced VCD scene as though it were played through the Response System. Return whether the scene successfully plays.
  2749.  
  2750. Function: CAI_Expresser::SpeakRawSentence
  2751. Signature: int CAI_Expresser::SpeakRawSentence(string, float)
  2752. Description: Speak a raw sentence as though it were played through the Response System. Return the sentence's index; -1 if not successfully played.
  2753.  
  2754. Function: CAI_GoalEntity::IsActive
  2755. Signature: bool CAI_GoalEntity::IsActive()
  2756. Description: Check if the goal entity is active.
  2757.  
  2758. Function: CAI_GoalEntity::NumActors
  2759. Signature: int CAI_GoalEntity::NumActors()
  2760. Description: Get the number of actors using this goal entity.
  2761.  
  2762. Function: CAI_Hint::GetDirection
  2763. Signature: Vector CAI_Hint::GetDirection()
  2764. Description: Get the hint's direction.
  2765.  
  2766. Function: CAI_Hint::GetHintActivity
  2767. Signature: string CAI_Hint::GetHintActivity()
  2768. Description: Get the name of the hint activity.
  2769.  
  2770. Function: CAI_Hint::GetHintGroup
  2771. Signature: string CAI_Hint::GetHintGroup()
  2772. Description: Get the name of the hint's group.
  2773.  
  2774. Function: CAI_Hint::GetHintType
  2775. Signature: int CAI_Hint::GetHintType()
  2776. Description: Get the hint's type ID.
  2777.  
  2778. Function: CAI_Hint::GetNodeId
  2779. Signature: int CAI_Hint::GetNodeId()
  2780. Description: Get the hint's node ID.
  2781.  
  2782. Function: CAI_Hint::GetUser
  2783. Signature: handle CAI_Hint::GetUser()
  2784. Description: Get the hint's current user.
  2785.  
  2786. Function: CAI_Hint::IsDisabled
  2787. Signature: bool CAI_Hint::IsDisabled()
  2788. Description: Check if the hint is disabled.
  2789.  
  2790. Function: CAI_Hint::IsLocked
  2791. Signature: bool CAI_Hint::IsLocked()
  2792. Description: Check if the hint is locked.
  2793.  
  2794. Function: CAI_Hint::Yaw
  2795. Signature: float CAI_Hint::Yaw()
  2796. Description: Get the hint's yaw.
  2797.  
  2798. Function: CAI_Squad::AddToSquad
  2799. Signature: void CAI_Squad::AddToSquad(handle)
  2800. Description: Adds a NPC to the squad.
  2801.  
  2802. Function: CAI_Squad::GetAnyMember
  2803. Signature: handle CAI_Squad::GetAnyMember()
  2804. Description: Randomly get any one of the squad's members.
  2805.  
  2806. Function: CAI_Squad::GetFirstMember
  2807. Signature: handle CAI_Squad::GetFirstMember(bool)
  2808. Description: Get the squad's first member. The parameter is for whether to ignore silent members (see CAI_Squad::IsSilentMember() for more info).
  2809.  
  2810. Function: CAI_Squad::GetLeader
  2811. Signature: handle CAI_Squad::GetLeader()
  2812. Description: Get the squad's leader.
  2813.  
  2814. Function: CAI_Squad::GetMember
  2815. Signature: handle CAI_Squad::GetMember(int)
  2816. Description: Get one of the squad's members by their index.
  2817.  
  2818. Function: CAI_Squad::GetName
  2819. Signature: string CAI_Squad::GetName()
  2820. Description: Get the squad's name.
  2821.  
  2822. Function: CAI_Squad::GetSquadData
  2823. Signature: string CAI_Squad::GetSquadData(int)
  2824. Description: Get the squad data in the specified slot.
  2825.  
  2826. Function: CAI_Squad::GetSquadIndex
  2827. Signature: int CAI_Squad::GetSquadIndex(handle)
  2828. Description: Get the index of the specified NPC in the squad.
  2829.  
  2830. Function: CAI_Squad::GetSquadMemberNearestTo
  2831. Signature: handle CAI_Squad::GetSquadMemberNearestTo(Vector)
  2832. Description: Get the squad member nearest to a point.
  2833.  
  2834. Function: CAI_Squad::GetVisibleSquadMembers
  2835. Signature: int CAI_Squad::GetVisibleSquadMembers(handle)
  2836. Description: Get the number of squad members visible to the specified member.
  2837.  
  2838. Function: CAI_Squad::IsLeader
  2839. Signature: bool CAI_Squad::IsLeader(handle)
  2840. Description: Returns true if the specified NPC is the squad's leader.
  2841.  
  2842. Function: CAI_Squad::IsMember
  2843. Signature: bool CAI_Squad::IsMember(handle)
  2844. Description: Returns true if the specified NPC is a member of the squad.
  2845.  
  2846. Function: CAI_Squad::IsSilentMember
  2847. Signature: bool CAI_Squad::IsSilentMember(handle)
  2848. 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.
  2849.  
  2850. Function: CAI_Squad::NearestSquadMember
  2851. Signature: handle CAI_Squad::NearestSquadMember(handle)
  2852. Description: Get the squad member nearest to the specified member.
  2853.  
  2854. Function: CAI_Squad::NumMembers
  2855. Signature: int CAI_Squad::NumMembers(bool)
  2856. Description: Get the squad's number of members. The parameter is for whether to ignore silent members (see CAI_Squad::IsSilentMember() for more info).
  2857.  
  2858. Function: CAI_Squad::RemoveFromSquad
  2859. Signature: void CAI_Squad::RemoveFromSquad(handle)
  2860. Description: Removes a NPC from the squad.
  2861.  
  2862. Function: CAI_Squad::SetSquadData
  2863. Signature: void CAI_Squad::SetSquadData(int, string)
  2864. Description: Set the squad data in the specified slot.
  2865.  
  2866. Function: CAI_Squad::SquadMemberInRange
  2867. Signature: handle CAI_Squad::SquadMemberInRange(Vector, float)
  2868. Description: Get the first squad member found around the specified position in the specified range.
  2869.  
  2870. Function: CAI_Squad::UpdateEnemyMemory
  2871. Signature: void CAI_Squad::UpdateEnemyMemory(handle, handle, Vector)
  2872. 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.
  2873.  
  2874. Function: CAI_SquadManager::FindCreateSquad
  2875. Signature: handle CAI_SquadManager::FindCreateSquad(string)
  2876. Description: Find the specified squad in the squad list or create it if it doesn't exist.
  2877.  
  2878. Function: CAI_SquadManager::FindSquad
  2879. Signature: handle CAI_SquadManager::FindSquad(string)
  2880. Description: Find the specified squad in the squad list. Returns null if none found.
  2881.  
  2882. Function: CAI_SquadManager::GetFirstSquad
  2883. Signature: handle CAI_SquadManager::GetFirstSquad()
  2884. Description: Get the first squad in the squad list.
  2885.  
  2886. Function: CAI_SquadManager::GetNextSquad
  2887. Signature: handle CAI_SquadManager::GetNextSquad(handle)
  2888. Description: Get the next squad in the squad list starting from the specified squad.
  2889.  
  2890. Function: CAI_SquadManager::NumSquads
  2891. Signature: int CAI_SquadManager::NumSquads()
  2892. Description: Get the number of squads in the list.
  2893.  
  2894. Function: CAmmoDef::DamageForce
  2895. Signature: float CAmmoDef::DamageForce(int)
  2896. Description: Gets the amount of force this ammo type deals.
  2897.  
  2898. Function: CAmmoDef::DamageType
  2899. Signature: int CAmmoDef::DamageType(int)
  2900. Description: Gets the type of damage this ammo type deals.
  2901.  
  2902. Function: CAmmoDef::Flags
  2903. Signature: int CAmmoDef::Flags(int)
  2904. Description: Gets the flags this ammo type uses.
  2905.  
  2906. Function: CAmmoDef::GetNumAmmoTypes
  2907. Signature: int CAmmoDef::GetNumAmmoTypes()
  2908. Description: Gets the number of ammo types which currently exist.
  2909.  
  2910. Function: CAmmoDef::Index
  2911. Signature: int CAmmoDef::Index(string)
  2912. Description: Gets the index of the specified ammo type name.
  2913.  
  2914. Function: CAmmoDef::MaxCarry
  2915. Signature: int CAmmoDef::MaxCarry(int)
  2916. Description: Gets the maximum amount of this ammo type which players should be able to carry.
  2917.  
  2918. Function: CAmmoDef::MaxSplashSize
  2919. Signature: int CAmmoDef::MaxSplashSize(int)
  2920. Description: Gets the maximum size of water splashes caused by impacts from this ammo type.
  2921.  
  2922. Function: CAmmoDef::MinSplashSize
  2923. Signature: int CAmmoDef::MinSplashSize(int)
  2924. Description: Gets the minimum size of water splashes caused by impacts from this ammo type.
  2925.  
  2926. Function: CAmmoDef::NPCDamage
  2927. Signature: int CAmmoDef::NPCDamage(int)
  2928. Description: Gets the damage NPCs deal for the specified ammo type.
  2929.  
  2930. Function: CAmmoDef::PlrDamage
  2931. Signature: int CAmmoDef::PlrDamage(int)
  2932. Description: Gets the damage players deal for the specified ammo type.
  2933.  
  2934. Function: CAmmoDef::TracerType
  2935. Signature: int CAmmoDef::TracerType(int)
  2936. Description: Gets the type of tracer this ammo type uses.
  2937.  
  2938. Function: CBaseAnimating::BecomeRagdollOnClient
  2939. Signature: bool CBaseAnimating::BecomeRagdollOnClient(Vector)
  2940.  
  2941. Function: CBaseAnimating::CanBecomeRagdoll
  2942. Signature: bool CBaseAnimating::CanBecomeRagdoll()
  2943.  
  2944. Function: CBaseAnimating::Dissolve
  2945. Signature: bool CBaseAnimating::Dissolve(string, float, bool, int, Vector, int)
  2946. 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.
  2947.  
  2948. Function: CBaseAnimating::FindBodygroupByName
  2949. Signature: int CBaseAnimating::FindBodygroupByName(string)
  2950. Description: Finds a bodygroup by name
  2951.  
  2952. Function: CBaseAnimating::GetAttachmentAngles
  2953. Signature: Vector CBaseAnimating::GetAttachmentAngles(int)
  2954. Description: Get the attachement id's angles as a p,y,r vector
  2955.  
  2956. Function: CBaseAnimating::GetAttachmentMatrix
  2957. Signature: handle CBaseAnimating::GetAttachmentMatrix(int)
  2958. Description: Get the attachement id's matrix transform
  2959.  
  2960. Function: CBaseAnimating::GetAttachmentOrigin
  2961. Signature: Vector CBaseAnimating::GetAttachmentOrigin(int)
  2962. Description: Get the attachement id's origin vector
  2963.  
  2964. Function: CBaseAnimating::GetBodygroup
  2965. Signature: int CBaseAnimating::GetBodygroup(int)
  2966. Description: Gets a bodygroup
  2967.  
  2968. Function: CBaseAnimating::GetBodygroupCount
  2969. Signature: int CBaseAnimating::GetBodygroupCount(int)
  2970. Description: Gets the number of models in a bodygroup
  2971.  
  2972. Function: CBaseAnimating::GetBodygroupName
  2973. Signature: string CBaseAnimating::GetBodygroupName(int)
  2974. Description: Gets a bodygroup name
  2975.  
  2976. Function: CBaseAnimating::GetBoneTransform
  2977. Signature: void CBaseAnimating::GetBoneTransform(int, handle)
  2978. Description: Get the transform for the specified bone
  2979.  
  2980. Function: CBaseAnimating::GetCycle
  2981. Signature: float CBaseAnimating::GetCycle()
  2982.  
  2983. Function: CBaseAnimating::GetNumBodyGroups
  2984. Signature: int CBaseAnimating::GetNumBodyGroups()
  2985. Description: Gets the number of bodygroups
  2986.  
  2987. Function: CBaseAnimating::GetNumBones
  2988. Signature: int CBaseAnimating::GetNumBones()
  2989. Description: Get the number of bones
  2990.  
  2991. Function: CBaseAnimating::GetPhysicsBone
  2992. Signature: int CBaseAnimating::GetPhysicsBone(int)
  2993. Description: Get physics bone from bone index
  2994.  
  2995. Function: CBaseAnimating::GetPlaybackRate
  2996. Signature: float CBaseAnimating::GetPlaybackRate()
  2997.  
  2998. Function: CBaseAnimating::GetPoseParameter
  2999. Signature: float CBaseAnimating::GetPoseParameter(string)
  3000. Description: Get the specified pose parameter's value
  3001.  
  3002. Function: CBaseAnimating::GetSequence
  3003. Signature: int CBaseAnimating::GetSequence()
  3004. Description: Gets the current sequence
  3005.  
  3006. Function: CBaseAnimating::GetSequenceActivity
  3007. Signature: int CBaseAnimating::GetSequenceActivity(int)
  3008. Description: Gets the activity ID of the specified sequence index
  3009.  
  3010. Function: CBaseAnimating::GetSequenceActivityName
  3011. Signature: string CBaseAnimating::GetSequenceActivityName(int)
  3012. Description: Gets the activity name of the specified sequence index
  3013.  
  3014. Function: CBaseAnimating::GetSequenceKeyValues
  3015. Signature: handle CBaseAnimating::GetSequenceKeyValues(int)
  3016. Description: Get a KeyValue class instance on the specified sequence. WARNING: This uses the same KeyValue pointer as GetModelKeyValues!
  3017.  
  3018. Function: CBaseAnimating::GetSequenceMoveDist
  3019. Signature: float CBaseAnimating::GetSequenceMoveDist(int)
  3020. Description: Gets the move distance of the specified sequence
  3021.  
  3022. Function: CBaseAnimating::GetSequenceMoveYaw
  3023. Signature: float CBaseAnimating::GetSequenceMoveYaw(int)
  3024. Description: Gets the move yaw of the specified sequence
  3025.  
  3026. Function: CBaseAnimating::GetSequenceName
  3027. Signature: string CBaseAnimating::GetSequenceName(int)
  3028. Description: Gets the name of the specified sequence index
  3029.  
  3030. Function: CBaseAnimating::GetSkin
  3031. Signature: int CBaseAnimating::GetSkin()
  3032. Description: Gets the model's skin
  3033.  
  3034. Function: CBaseAnimating::Ignite
  3035. Signature: void CBaseAnimating::Ignite(float, bool, float, bool)
  3036. 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.
  3037.  
  3038. Function: CBaseAnimating::IsRagdoll
  3039. Signature: bool CBaseAnimating::IsRagdoll()
  3040.  
  3041. Function: CBaseAnimating::IsSequenceFinished
  3042. Signature: bool CBaseAnimating::IsSequenceFinished()
  3043. Description: Ask whether the main sequence is done playing
  3044.  
  3045. Function: CBaseAnimating::LookupActivity
  3046. Signature: int CBaseAnimating::LookupActivity(string)
  3047. Description: Gets the ID of the specified activity name
  3048.  
  3049. Function: CBaseAnimating::LookupAttachment
  3050. Signature: int CBaseAnimating::LookupAttachment(string)
  3051. Description: Get the named attachement id
  3052.  
  3053. Function: CBaseAnimating::LookupBone
  3054. Signature: int CBaseAnimating::LookupBone(string)
  3055. Description: Get the named bone id
  3056.  
  3057. Function: CBaseAnimating::LookupSequence
  3058. Signature: int CBaseAnimating::LookupSequence(string)
  3059. Description: Gets the index of the specified sequence name
  3060.  
  3061. Function: CBaseAnimating::ResetSequenceInfo
  3062. Signature: void CBaseAnimating::ResetSequenceInfo()
  3063.  
  3064. Function: CBaseAnimating::Scorch
  3065. Signature: void CBaseAnimating::Scorch(int, int)
  3066. Description: Makes the entity darker from scorching
  3067.  
  3068. Function: CBaseAnimating::SelectHeaviestSequence
  3069. Signature: int CBaseAnimating::SelectHeaviestSequence(int)
  3070. Description: Selects the sequence with the heaviest weight for the specified activity ID
  3071.  
  3072. Function: CBaseAnimating::SelectWeightedSequence
  3073. Signature: int CBaseAnimating::SelectWeightedSequence(int, int)
  3074. Description: Selects a sequence for the specified activity ID
  3075.  
  3076. Function: CBaseAnimating::SequenceDuration
  3077. Signature: float CBaseAnimating::SequenceDuration(int)
  3078. Description: Get the specified sequence duration
  3079.  
  3080. Function: CBaseAnimating::SequenceHasMovement
  3081. Signature: bool CBaseAnimating::SequenceHasMovement(int)
  3082. Description: Checks if the specified sequence has movement
  3083.  
  3084. Function: CBaseAnimating::SequenceLoops
  3085. Signature: bool CBaseAnimating::SequenceLoops()
  3086. Description: Does the current sequence loop?
  3087.  
  3088. Function: CBaseAnimating::SetBodygroup
  3089. Signature: void CBaseAnimating::SetBodygroup(int, int)
  3090. Description: Sets a bodygroup
  3091.  
  3092. Function: CBaseAnimating::SetCycle
  3093. Signature: void CBaseAnimating::SetCycle(float)
  3094.  
  3095. Function: CBaseAnimating::SetPlaybackRate
  3096. Signature: void CBaseAnimating::SetPlaybackRate(float)
  3097.  
  3098. Function: CBaseAnimating::SetPoseParameter
  3099. Signature: void CBaseAnimating::SetPoseParameter(string, float)
  3100. Description: Set the specified pose parameter to the specified value
  3101.  
  3102. Function: CBaseAnimating::SetSequence
  3103. Signature: void CBaseAnimating::SetSequence(int)
  3104. Description: Sets the current sequence
  3105.  
  3106. Function: CBaseAnimating::SetSkin
  3107. Signature: void CBaseAnimating::SetSkin(int)
  3108. Description: Sets the model's skin
  3109.  
  3110. Function: CBaseAnimating::StudioFrameAdvance
  3111. Signature: void CBaseAnimating::StudioFrameAdvance()
  3112.  
  3113. Function: CBaseCombatCharacter::BodyAngles
  3114. Signature: Vector CBaseCombatCharacter::BodyAngles()
  3115. Description: Get the body's angles.
  3116.  
  3117. Function: CBaseCombatCharacter::BodyDirection2D
  3118. Signature: Vector CBaseCombatCharacter::BodyDirection2D()
  3119. Description: Get the body's 2D direction.
  3120.  
  3121. Function: CBaseCombatCharacter::BodyDirection3D
  3122. Signature: Vector CBaseCombatCharacter::BodyDirection3D()
  3123. Description: Get the body's 3D direction.
  3124.  
  3125. Function: CBaseCombatCharacter::DoMuzzleFlash
  3126. Signature: void CBaseCombatCharacter::DoMuzzleFlash()
  3127. Description: Does a muzzle flash.
  3128.  
  3129. Function: CBaseCombatCharacter::DropAllWeapons
  3130. Signature: void CBaseCombatCharacter::DropAllWeapons(bool)
  3131. Description: Make the character drop all of its weapons.
  3132.  
  3133. Function: CBaseCombatCharacter::DropWeapon
  3134. Signature: void CBaseCombatCharacter::DropWeapon(handle)
  3135. Description: Make the character drop the specified weapon entity if they own it.
  3136.  
  3137. Function: CBaseCombatCharacter::EntInAimCone
  3138. Signature: bool CBaseCombatCharacter::EntInAimCone(handle)
  3139. Description: Check if the specified entity is in the character's aim cone.
  3140.  
  3141. Function: CBaseCombatCharacter::EntInViewCone
  3142. Signature: bool CBaseCombatCharacter::EntInViewCone(handle)
  3143. Description: Check if the specified entity is in the character's viewcone.
  3144.  
  3145. Function: CBaseCombatCharacter::EquipWeapon
  3146. Signature: void CBaseCombatCharacter::EquipWeapon(handle)
  3147. Description: Make the character equip the specified weapon entity. If they don't already own the weapon, they will acquire it instantly.
  3148.  
  3149. Function: CBaseCombatCharacter::EyeDirection2D
  3150. Signature: Vector CBaseCombatCharacter::EyeDirection2D()
  3151. Description: Get the eyes' 2D direction.
  3152.  
  3153. Function: CBaseCombatCharacter::EyeDirection3D
  3154. Signature: Vector CBaseCombatCharacter::EyeDirection3D()
  3155. Description: Get the eyes' 3D direction.
  3156.  
  3157. Function: CBaseCombatCharacter::FindWeapon
  3158. Signature: handle CBaseCombatCharacter::FindWeapon(string, int)
  3159. Description: Find a specific weapon in the character's inventory by its classname.
  3160.  
  3161. Function: CBaseCombatCharacter::GetActiveWeapon
  3162. Signature: handle CBaseCombatCharacter::GetActiveWeapon()
  3163. Description: Get the character's active weapon entity.
  3164.  
  3165. Function: CBaseCombatCharacter::GetAllWeapons
  3166. Signature: void CBaseCombatCharacter::GetAllWeapons(handle)
  3167. Description: Get the character's weapon inventory.
  3168.  
  3169. Function: CBaseCombatCharacter::GetAmmoCount
  3170. Signature: int CBaseCombatCharacter::GetAmmoCount(int)
  3171. Description: Get the ammo count of the specified ammo type.
  3172.  
  3173. Function: CBaseCombatCharacter::GetAttackSpread
  3174. Signature: Vector CBaseCombatCharacter::GetAttackSpread(handle, handle)
  3175. Description: Get the attack spread.
  3176.  
  3177. Function: CBaseCombatCharacter::GetCurrentWeaponProficiency
  3178. Signature: int CBaseCombatCharacter::GetCurrentWeaponProficiency()
  3179. Description: Get the character's current proficiency (accuracy) with their current weapon.
  3180.  
  3181. Function: CBaseCombatCharacter::GetRelationPriority
  3182. Signature: int CBaseCombatCharacter::GetRelationPriority(handle)
  3183. Description: Get a character's relationship priority for a specific entity.
  3184.  
  3185. Function: CBaseCombatCharacter::GetRelationship
  3186. Signature: int CBaseCombatCharacter::GetRelationship(handle)
  3187. Description: Get a character's relationship to a specific entity.
  3188.  
  3189. Function: CBaseCombatCharacter::GetSpreadBias
  3190. Signature: float CBaseCombatCharacter::GetSpreadBias(handle, handle)
  3191. Description: Get the spread bias.
  3192.  
  3193. Function: CBaseCombatCharacter::GetVehicleEntity
  3194. Signature: handle CBaseCombatCharacter::GetVehicleEntity()
  3195. Description: Get the entity for a character's current vehicle if they're in one.
  3196.  
  3197. Function: CBaseCombatCharacter::GetWeapon
  3198. Signature: handle CBaseCombatCharacter::GetWeapon(int)
  3199. Description: Get a specific weapon in the character's inventory.
  3200.  
  3201. Function: CBaseCombatCharacter::HeadDirection2D
  3202. Signature: Vector CBaseCombatCharacter::HeadDirection2D()
  3203. Description: Get the head's 2D direction.
  3204.  
  3205. Function: CBaseCombatCharacter::HeadDirection3D
  3206. Signature: Vector CBaseCombatCharacter::HeadDirection3D()
  3207. Description: Get the head's 3D direction.
  3208.  
  3209. Function: CBaseCombatCharacter::InAimCone
  3210. Signature: bool CBaseCombatCharacter::InAimCone(Vector)
  3211. Description: Check if the specified position is in the character's aim cone.
  3212.  
  3213. Function: CBaseCombatCharacter::InViewCone
  3214. Signature: bool CBaseCombatCharacter::InViewCone(Vector)
  3215. Description: Check if the specified position is in the character's viewcone.
  3216.  
  3217. Function: CBaseCombatCharacter::SetAmmoCount
  3218. Signature: void CBaseCombatCharacter::SetAmmoCount(int, int)
  3219. Description: Set the ammo count of the specified ammo type.
  3220.  
  3221. Function: CBaseCombatCharacter::SetRelationship
  3222. Signature: void CBaseCombatCharacter::SetRelationship(handle, int, int)
  3223. Description: Set a character's relationship with a specific entity.
  3224.  
  3225. Function: CBaseCombatCharacter::ShootPosition
  3226. Signature: Vector CBaseCombatCharacter::ShootPosition()
  3227. Description: Get the character's shoot position.
  3228.  
  3229. Function: CBaseCombatCharacter::WeaponCount
  3230. Signature: int CBaseCombatCharacter::WeaponCount()
  3231. Description: Get the number of weapons a character possesses.
  3232.  
  3233. Function: CBaseCombatWeapon::AddViewKick
  3234. Signature: void CBaseCombatWeapon::AddViewKick()
  3235. Description: Applies the weapon's view kick.
  3236.  
  3237. Function: CBaseCombatWeapon::AltFiresUnderwater
  3238. Signature: bool CBaseCombatWeapon::AltFiresUnderwater()
  3239. Description: Returns true if this weapon can alt-fire underwater.
  3240.  
  3241. Function: CBaseCombatWeapon::CanBePickedUpByNPCs
  3242. Signature: bool CBaseCombatWeapon::CanBePickedUpByNPCs()
  3243. Description: Check if the weapon can be picked up by NPCs.
  3244.  
  3245. Function: CBaseCombatWeapon::CapabilitiesGet
  3246. Signature: int CBaseCombatWeapon::CapabilitiesGet()
  3247. Description: Get the capabilities the weapon currently possesses.
  3248.  
  3249. Function: CBaseCombatWeapon::Clip1
  3250. Signature: int CBaseCombatWeapon::Clip1()
  3251. Description: Get the weapon's current primary ammo.
  3252.  
  3253. Function: CBaseCombatWeapon::Clip2
  3254. Signature: int CBaseCombatWeapon::Clip2()
  3255. Description: Get the weapon's current secondary ammo.
  3256.  
  3257. Function: CBaseCombatWeapon::FireDuration
  3258. Signature: float CBaseCombatWeapon::FireDuration()
  3259. Description: Returns the amount of time that the weapon has sustained firing.
  3260.  
  3261. Function: CBaseCombatWeapon::FiresUnderwater
  3262. Signature: bool CBaseCombatWeapon::FiresUnderwater()
  3263. Description: Returns true if this weapon can fire underwater.
  3264.  
  3265. Function: CBaseCombatWeapon::GetBulletSpread
  3266. Signature: Vector CBaseCombatWeapon::GetBulletSpread()
  3267. Description: Returns the weapon's default bullet spread.
  3268.  
  3269. Function: CBaseCombatWeapon::GetBulletSpreadForProficiency
  3270. Signature: Vector CBaseCombatWeapon::GetBulletSpreadForProficiency(int)
  3271. Description: Returns the weapon's bullet spread for the specified proficiency level.
  3272.  
  3273. Function: CBaseCombatWeapon::GetDefaultAnimSpeed
  3274. Signature: float CBaseCombatWeapon::GetDefaultAnimSpeed()
  3275. Description: Returns the weapon's default animation speed.
  3276.  
  3277. Function: CBaseCombatWeapon::GetDefaultClip1
  3278. Signature: int CBaseCombatWeapon::GetDefaultClip1()
  3279. Description: Get the weapon's default primary ammo.
  3280.  
  3281. Function: CBaseCombatWeapon::GetDefaultClip2
  3282. Signature: int CBaseCombatWeapon::GetDefaultClip2()
  3283. Description: Get the weapon's default secondary ammo.
  3284.  
  3285. Function: CBaseCombatWeapon::GetDrawActivity
  3286. Signature: int CBaseCombatWeapon::GetDrawActivity()
  3287. Description: Returns the weapon's draw activity.
  3288.  
  3289. Function: CBaseCombatWeapon::GetFireRate
  3290. Signature: float CBaseCombatWeapon::GetFireRate()
  3291. Description: Get the weapon's firing rate.
  3292.  
  3293. Function: CBaseCombatWeapon::GetMaxClip1
  3294. Signature: int CBaseCombatWeapon::GetMaxClip1()
  3295. Description: Get the weapon's maximum primary ammo.
  3296.  
  3297. Function: CBaseCombatWeapon::GetMaxClip2
  3298. Signature: int CBaseCombatWeapon::GetMaxClip2()
  3299. Description: Get the weapon's maximum secondary ammo.
  3300.  
  3301. Function: CBaseCombatWeapon::GetOwner
  3302. Signature: handle CBaseCombatWeapon::GetOwner()
  3303. Description: Get the weapon's owner.
  3304.  
  3305. Function: CBaseCombatWeapon::GetPrimaryAmmoType
  3306. Signature: int CBaseCombatWeapon::GetPrimaryAmmoType()
  3307. Description: Get the weapon's primary ammo type.
  3308.  
  3309. Function: CBaseCombatWeapon::GetPrimaryAttackActivity
  3310. Signature: int CBaseCombatWeapon::GetPrimaryAttackActivity()
  3311. Description: Returns the weapon's primary attack activity.
  3312.  
  3313. Function: CBaseCombatWeapon::GetPrintName
  3314. Signature: string CBaseCombatWeapon::GetPrintName()
  3315.  
  3316. Function: CBaseCombatWeapon::GetSecondaryAmmoType
  3317. Signature: int CBaseCombatWeapon::GetSecondaryAmmoType()
  3318. Description: Get the weapon's secondary ammo type.
  3319.  
  3320. Function: CBaseCombatWeapon::GetSecondaryAttackActivity
  3321. Signature: int CBaseCombatWeapon::GetSecondaryAttackActivity()
  3322. Description: Returns the weapon's secondary attack activity.
  3323.  
  3324. Function: CBaseCombatWeapon::GetSubType
  3325. Signature: int CBaseCombatWeapon::GetSubType()
  3326. Description: Get the weapon's subtype.
  3327.  
  3328. Function: CBaseCombatWeapon::GetViewModel
  3329. Signature: string CBaseCombatWeapon::GetViewModel(int)
  3330. Description: Get the weapon's view model.
  3331.  
  3332. Function: CBaseCombatWeapon::GetViewModelSequenceDuration
  3333. Signature: float CBaseCombatWeapon::GetViewModelSequenceDuration()
  3334. Description: Gets the sequence duration of the current view model animation.
  3335.  
  3336. Function: CBaseCombatWeapon::GetWeaponIdleTime
  3337. Signature: float CBaseCombatWeapon::GetWeaponIdleTime()
  3338. Description: Returns the next time WeaponIdle() will run.
  3339.  
  3340. Function: CBaseCombatWeapon::GetWeight
  3341. Signature: int CBaseCombatWeapon::GetWeight()
  3342. Description: Get the weapon's weight.
  3343.  
  3344. Function: CBaseCombatWeapon::GetWorldModel
  3345. Signature: string CBaseCombatWeapon::GetWorldModel()
  3346. Description: Get the weapon's world model.
  3347.  
  3348. Function: CBaseCombatWeapon::GiveDefaultAmmo
  3349. Signature: void CBaseCombatWeapon::GiveDefaultAmmo()
  3350. Description: Fill the weapon back up to default ammo.
  3351.  
  3352. Function: CBaseCombatWeapon::HasAnyAmmo
  3353. Signature: bool CBaseCombatWeapon::HasAnyAmmo()
  3354. Description: Check if the weapon currently has ammo or doesn't need ammo.
  3355.  
  3356. Function: CBaseCombatWeapon::HasPrimaryAmmo
  3357. Signature: bool CBaseCombatWeapon::HasPrimaryAmmo()
  3358. Description: Check if the weapon currently has ammo or doesn't need primary ammo.
  3359.  
  3360. Function: CBaseCombatWeapon::HasSecondaryAmmo
  3361. Signature: bool CBaseCombatWeapon::HasSecondaryAmmo()
  3362. Description: Check if the weapon currently has ammo or doesn't need secondary ammo.
  3363.  
  3364. Function: CBaseCombatWeapon::HasWeaponIdleTimeElapsed
  3365. Signature: bool CBaseCombatWeapon::HasWeaponIdleTimeElapsed()
  3366. Description: Returns true if the idle time has elapsed.
  3367.  
  3368. Function: CBaseCombatWeapon::IsViewModelSequenceFinished
  3369. Signature: bool CBaseCombatWeapon::IsViewModelSequenceFinished()
  3370. Description: Returns true if the current view model animation is finished.
  3371.  
  3372. Function: CBaseCombatWeapon::MinRange1
  3373. Signature: float CBaseCombatWeapon::MinRange1()
  3374. Description: Returns the closest this weapon can be used.
  3375.  
  3376. Function: CBaseCombatWeapon::MinRange2
  3377. Signature: float CBaseCombatWeapon::MinRange2()
  3378. Description: Returns the closest this weapon can be used.
  3379.  
  3380. Function: CBaseCombatWeapon::NextPrimaryAttack
  3381. Signature: float CBaseCombatWeapon::NextPrimaryAttack()
  3382. Description: Returns the next time PrimaryAttack() will run when the player is pressing +ATTACK.
  3383.  
  3384. Function: CBaseCombatWeapon::NextSecondaryAttack
  3385. Signature: float CBaseCombatWeapon::NextSecondaryAttack()
  3386. Description: Returns the next time SecondaryAttack() will run when the player is pressing +ATTACK2.
  3387.  
  3388. Function: CBaseCombatWeapon::ReloadsSingly
  3389. Signature: bool CBaseCombatWeapon::ReloadsSingly()
  3390. Description: Returns true if this weapon reloads 1 round at a time.
  3391.  
  3392. Function: CBaseCombatWeapon::SendWeaponAnim
  3393. Signature: bool CBaseCombatWeapon::SendWeaponAnim(int)
  3394. Description: Sends a weapon animation.
  3395.  
  3396. Function: CBaseCombatWeapon::SetAltFiresUnderwater
  3397. Signature: void CBaseCombatWeapon::SetAltFiresUnderwater(bool)
  3398. Description: Sets whether this weapon can alt-fire underwater.
  3399.  
  3400. Function: CBaseCombatWeapon::SetClip1
  3401. Signature: void CBaseCombatWeapon::SetClip1(int)
  3402. Description: Set the weapon's current primary ammo.
  3403.  
  3404. Function: CBaseCombatWeapon::SetClip2
  3405. Signature: void CBaseCombatWeapon::SetClip2(int)
  3406. Description: Set the weapon's current secondary ammo.
  3407.  
  3408. Function: CBaseCombatWeapon::SetFireDuration
  3409. Signature: void CBaseCombatWeapon::SetFireDuration(float)
  3410. Description: Sets the amount of time that the weapon has sustained firing.
  3411.  
  3412. Function: CBaseCombatWeapon::SetFiresUnderwater
  3413. Signature: void CBaseCombatWeapon::SetFiresUnderwater(bool)
  3414. Description: Sets whether this weapon can fire underwater.
  3415.  
  3416. Function: CBaseCombatWeapon::SetMinRange1
  3417. Signature: void CBaseCombatWeapon::SetMinRange1(float)
  3418. Description: Sets the closest this weapon can be used.
  3419.  
  3420. Function: CBaseCombatWeapon::SetMinRange2
  3421. Signature: void CBaseCombatWeapon::SetMinRange2(float)
  3422. Description: Sets the closest this weapon can be used.
  3423.  
  3424. Function: CBaseCombatWeapon::SetNextPrimaryAttack
  3425. Signature: void CBaseCombatWeapon::SetNextPrimaryAttack(float)
  3426. Description: Sets the next time PrimaryAttack() will run when the player is pressing +ATTACK.
  3427.  
  3428. Function: CBaseCombatWeapon::SetNextSecondaryAttack
  3429. Signature: void CBaseCombatWeapon::SetNextSecondaryAttack(float)
  3430. Description: Sets the next time SecondaryAttack() will run when the player is pressing +ATTACK2.
  3431.  
  3432. Function: CBaseCombatWeapon::SetOwner
  3433. Signature: void CBaseCombatWeapon::SetOwner(handle)
  3434. Description: Set the weapon's owner.
  3435.  
  3436. Function: CBaseCombatWeapon::SetReloadsSingly
  3437. Signature: void CBaseCombatWeapon::SetReloadsSingly(bool)
  3438. Description: Sets whether this weapon reloads 1 round at a time.
  3439.  
  3440. Function: CBaseCombatWeapon::SetSubType
  3441. Signature: void CBaseCombatWeapon::SetSubType(int)
  3442. Description: Set the weapon's subtype.
  3443.  
  3444. Function: CBaseCombatWeapon::SetWeaponIdleTime
  3445. Signature: void CBaseCombatWeapon::SetWeaponIdleTime(float)
  3446. Description: Sets the next time WeaponIdle() will run.
  3447.  
  3448. Function: CBaseCombatWeapon::UsesClipsForAmmo1
  3449. Signature: bool CBaseCombatWeapon::UsesClipsForAmmo1()
  3450. Description: Check if the weapon uses clips for primary ammo.
  3451.  
  3452. Function: CBaseCombatWeapon::UsesClipsForAmmo2
  3453. Signature: bool CBaseCombatWeapon::UsesClipsForAmmo2()
  3454. Description: Check if the weapon uses clips for secondary ammo.
  3455.  
  3456. Function: CBaseCombatWeapon::UsesPrimaryAmmo
  3457. Signature: bool CBaseCombatWeapon::UsesPrimaryAmmo()
  3458. Description: Check if the weapon uses primary ammo.
  3459.  
  3460. Function: CBaseCombatWeapon::UsesSecondaryAmmo
  3461. Signature: bool CBaseCombatWeapon::UsesSecondaryAmmo()
  3462. Description: Check if the weapon uses secondary ammo.
  3463.  
  3464. Function: CBaseCombatWeapon::WeaponSound
  3465. Signature: void CBaseCombatWeapon::WeaponSound(int, float)
  3466. Description: Plays one of the weapon's sounds.
  3467.  
  3468. Function: CBaseEntity::AcceptInput
  3469. Signature: bool CBaseEntity::AcceptInput(string, string, handle, handle)
  3470.  
  3471. Function: CBaseEntity::Activate
  3472. Signature: void CBaseEntity::Activate()
  3473.  
  3474. Function: CBaseEntity::AddEFlags
  3475. Signature: void CBaseEntity::AddEFlags(int)
  3476. Description: Add Eflags
  3477.  
  3478. Function: CBaseEntity::AddEffects
  3479. Signature: void CBaseEntity::AddEffects(int)
  3480. Description: Add effect(s)
  3481.  
  3482. Function: CBaseEntity::AddFlag
  3483. Signature: void CBaseEntity::AddFlag(int)
  3484. Description: Add flag
  3485.  
  3486. Function: CBaseEntity::AddOutput
  3487. Signature: bool CBaseEntity::AddOutput(string, string, string, string, float, int)
  3488. Description: Add an output
  3489.  
  3490. Function: CBaseEntity::AddSolidFlags
  3491. Signature: void CBaseEntity::AddSolidFlags(int)
  3492. Description: Add solid flags
  3493.  
  3494. Function: CBaseEntity::AddSpawnFlags
  3495. Signature: void CBaseEntity::AddSpawnFlags(int)
  3496. Description: Add spawnflag(s)
  3497.  
  3498. Function: CBaseEntity::ApplyAbsVelocityImpulse
  3499. Signature: void CBaseEntity::ApplyAbsVelocityImpulse(Vector)
  3500.  
  3501. Function: CBaseEntity::ApplyLocalAngularVelocityImpulse
  3502. Signature: void CBaseEntity::ApplyLocalAngularVelocityImpulse(Vector)
  3503.  
  3504. Function: CBaseEntity::BodyTarget
  3505. Signature: Vector CBaseEntity::BodyTarget(Vector, bool)
  3506.  
  3507. Function: CBaseEntity::Classify
  3508. Signature: int CBaseEntity::Classify()
  3509. Description: Get Class_T class ID (corresponds to the CLASS_ set of constants)
  3510.  
  3511. Function: CBaseEntity::ClearEffects
  3512. Signature: void CBaseEntity::ClearEffects()
  3513. Description: Clear effect(s)
  3514.  
  3515. Function: CBaseEntity::ClearSpawnFlags
  3516. Signature: void CBaseEntity::ClearSpawnFlags()
  3517. Description: Clear spawnflag(s)
  3518.  
  3519. Function: CBaseEntity::ConnectOutput
  3520. Signature: void CBaseEntity::ConnectOutput(string, string)
  3521. Description: Adds an I/O connection that will call the named function when the specified output fires
  3522.  
  3523. Function: CBaseEntity::Destroy
  3524. Signature: void CBaseEntity::Destroy()
  3525.  
  3526. Function: CBaseEntity::DisconnectOutput
  3527. Signature: void CBaseEntity::DisconnectOutput(string, string)
  3528. Description: Removes a connected script function from an I/O event.
  3529.  
  3530. Function: CBaseEntity::EmitSound
  3531. Signature: void CBaseEntity::EmitSound(string)
  3532. Description: Plays a sound from this entity.
  3533.  
  3534. Function: CBaseEntity::EntityToWorldTransform
  3535. Signature: handle CBaseEntity::EntityToWorldTransform()
  3536. Description: Get the entity's transform
  3537.  
  3538. Function: CBaseEntity::EyeAngles
  3539. Signature: Vector CBaseEntity::EyeAngles()
  3540. Description: Get eye pitch, yaw, roll as a vector
  3541.  
  3542. Function: CBaseEntity::EyePosition
  3543. Signature: Vector CBaseEntity::EyePosition()
  3544. Description: Get vector to eye position - absolute coords
  3545.  
  3546. Function: CBaseEntity::FireBullets
  3547. Signature: void CBaseEntity::FireBullets(handle)
  3548. Description: Fire bullets from entity with a given info handle
  3549.  
  3550. Function: CBaseEntity::FireOutput
  3551. Signature: void CBaseEntity::FireOutput(string, handle, handle, string, float)
  3552. Description: Fire an entity output
  3553.  
  3554. Function: CBaseEntity::FirstMoveChild
  3555. Signature: handle CBaseEntity::FirstMoveChild()
  3556.  
  3557. Function: CBaseEntity::FollowEntity
  3558. Signature: void CBaseEntity::FollowEntity(handle, bool)
  3559. 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.
  3560.  
  3561. Function: CBaseEntity::GetAngles
  3562. Signature: Vector CBaseEntity::GetAngles()
  3563. Description: Get entity pitch, yaw, roll as a vector
  3564.  
  3565. Function: CBaseEntity::GetAngularVelocity
  3566. Signature: Vector CBaseEntity::GetAngularVelocity()
  3567. Description: Get the local angular velocity - returns a vector of pitch,yaw,roll
  3568.  
  3569. Function: CBaseEntity::GetBoundingMaxs
  3570. Signature: Vector CBaseEntity::GetBoundingMaxs()
  3571. Description: Get a vector containing max bounds, centered on object
  3572.  
  3573. Function: CBaseEntity::GetBoundingMins
  3574. Signature: Vector CBaseEntity::GetBoundingMins()
  3575. Description: Get a vector containing min bounds, centered on object
  3576.  
  3577. Function: CBaseEntity::GetCenter
  3578. Signature: Vector CBaseEntity::GetCenter()
  3579. Description: Get vector to center of object - absolute coords
  3580.  
  3581. Function: CBaseEntity::GetClassname
  3582. Signature: string CBaseEntity::GetClassname()
  3583.  
  3584. Function: CBaseEntity::GetCollisionGroup
  3585. Signature: int CBaseEntity::GetCollisionGroup()
  3586. Description: Get the collision group
  3587.  
  3588. Function: CBaseEntity::GetContextCount
  3589. Signature: int CBaseEntity::GetContextCount()
  3590. Description: Get the number of response contexts
  3591.  
  3592. Function: CBaseEntity::GetDebugName
  3593. Signature: string CBaseEntity::GetDebugName()
  3594. Description: If name exists returns name, otherwise returns classname
  3595.  
  3596. Function: CBaseEntity::GetEFlags
  3597. Signature: int CBaseEntity::GetEFlags()
  3598. Description: Get Eflags
  3599.  
  3600. Function: CBaseEntity::GetEffects
  3601. Signature: int CBaseEntity::GetEffects()
  3602. Description: Get effects
  3603.  
  3604. Function: CBaseEntity::GetFlags
  3605. Signature: int CBaseEntity::GetFlags()
  3606. Description: Get flags
  3607.  
  3608. Function: CBaseEntity::GetFollowedEntity
  3609. Signature: handle CBaseEntity::GetFollowedEntity()
  3610. Description: Get the entity we're following.
  3611.  
  3612. Function: CBaseEntity::GetForwardVector
  3613. Signature: Vector CBaseEntity::GetForwardVector()
  3614. Description: Get the forward vector of the entity
  3615.  
  3616. Function: CBaseEntity::GetFriction
  3617. Signature: float CBaseEntity::GetFriction()
  3618.  
  3619. Function: CBaseEntity::GetGravity
  3620. Signature: float CBaseEntity::GetGravity()
  3621.  
  3622. Function: CBaseEntity::GetHealth
  3623. Signature: int CBaseEntity::GetHealth()
  3624.  
  3625. Function: CBaseEntity::GetKeyValue
  3626. Signature: string CBaseEntity::GetKeyValue(string)
  3627. Description: Get a keyvalue
  3628.  
  3629. Function: CBaseEntity::GetLocalAngles
  3630. Signature: Vector CBaseEntity::GetLocalAngles()
  3631. Description: GetLocalAngles
  3632.  
  3633. Function: CBaseEntity::GetLocalOrigin
  3634. Signature: Vector CBaseEntity::GetLocalOrigin()
  3635. Description: GetLocalOrigin
  3636.  
  3637. Function: CBaseEntity::GetMass
  3638. Signature: float CBaseEntity::GetMass()
  3639.  
  3640. Function: CBaseEntity::GetMaxHealth
  3641. Signature: int CBaseEntity::GetMaxHealth()
  3642.  
  3643. Function: CBaseEntity::GetMaxOutputDelay
  3644. Signature: float CBaseEntity::GetMaxOutputDelay(string)
  3645. Description: Get the longest delay for all events attached to an output
  3646.  
  3647. Function: CBaseEntity::GetModelKeyValues
  3648. Signature: handle CBaseEntity::GetModelKeyValues()
  3649. Description: Get a KeyValue class instance on this entity's model
  3650.  
  3651. Function: CBaseEntity::GetModelName
  3652. Signature: string CBaseEntity::GetModelName()
  3653. Description: Returns the name of the model
  3654.  
  3655. Function: CBaseEntity::GetMoveParent
  3656. Signature: handle CBaseEntity::GetMoveParent()
  3657. Description: If in hierarchy, retrieves the entity's parent
  3658.  
  3659. Function: CBaseEntity::GetMoveType
  3660. Signature: int CBaseEntity::GetMoveType()
  3661. Description: Get the move type
  3662.  
  3663. Function: CBaseEntity::GetName
  3664. Signature: string CBaseEntity::GetName()
  3665.  
  3666. Function: CBaseEntity::GetOrCreatePrivateScriptScope
  3667. Signature: handle CBaseEntity::GetOrCreatePrivateScriptScope()
  3668. Description: Create and retrieve the script-side data associated with an entity
  3669.  
  3670. Function: CBaseEntity::GetOrigin
  3671. Signature: Vector CBaseEntity::GetOrigin()
  3672.  
  3673. Function: CBaseEntity::GetOwner
  3674. Signature: handle CBaseEntity::GetOwner()
  3675. Description: Gets this entity's owner
  3676.  
  3677. Function: CBaseEntity::GetPhysicsObject
  3678. Signature: handle CBaseEntity::GetPhysicsObject()
  3679. Description: Get the entity's physics object if it has one
  3680.  
  3681. Function: CBaseEntity::GetPreTemplateName
  3682. Signature: string CBaseEntity::GetPreTemplateName()
  3683. Description: Get the entity name stripped of template unique decoration
  3684.  
  3685. Function: CBaseEntity::GetRenderAlpha
  3686. Signature: int CBaseEntity::GetRenderAlpha()
  3687. Description: Get the render color's alpha value
  3688.  
  3689. Function: CBaseEntity::GetRenderColorB
  3690. Signature: int CBaseEntity::GetRenderColorB()
  3691. Description: Get the render color's B value
  3692.  
  3693. Function: CBaseEntity::GetRenderColorG
  3694. Signature: int CBaseEntity::GetRenderColorG()
  3695. Description: Get the render color's G value
  3696.  
  3697. Function: CBaseEntity::GetRenderColorR
  3698. Signature: int CBaseEntity::GetRenderColorR()
  3699. Description: Get the render color's R value
  3700.  
  3701. Function: CBaseEntity::GetRenderColorVector
  3702. Signature: Vector CBaseEntity::GetRenderColorVector()
  3703. Description: Get the render color as a vector
  3704.  
  3705. Function: CBaseEntity::GetRenderMode
  3706. Signature: int CBaseEntity::GetRenderMode()
  3707. Description: Get render mode
  3708.  
  3709. Function: CBaseEntity::GetRightVector
  3710. Signature: Vector CBaseEntity::GetRightVector()
  3711. Description: Get the right vector of the entity
  3712.  
  3713. Function: CBaseEntity::GetRootMoveParent
  3714. Signature: handle CBaseEntity::GetRootMoveParent()
  3715. Description: If in hierarchy, walks up the hierarchy to find the root parent
  3716.  
  3717. Function: CBaseEntity::GetScriptId
  3718. Signature: string CBaseEntity::GetScriptId()
  3719. Description: Retrieve the unique identifier used to refer to the entity within the scripting system
  3720.  
  3721. Function: CBaseEntity::GetScriptScope
  3722. Signature: handle CBaseEntity::GetScriptScope()
  3723. Description: Retrieve the script-side data associated with an entity
  3724.  
  3725. Function: CBaseEntity::GetSolid
  3726. Signature: int CBaseEntity::GetSolid()
  3727.  
  3728. Function: CBaseEntity::GetSolidFlags
  3729. Signature: int CBaseEntity::GetSolidFlags()
  3730. Description: Get solid flags
  3731.  
  3732. Function: CBaseEntity::GetSoundDuration
  3733. Signature: float CBaseEntity::GetSoundDuration(string, string)
  3734. Description: Returns float duration of the sound. Takes soundname and optional actormodelname.
  3735.  
  3736. Function: CBaseEntity::GetSpawnFlags
  3737. Signature: int CBaseEntity::GetSpawnFlags()
  3738. Description: Get spawnflags
  3739.  
  3740. Function: CBaseEntity::GetTakeDamage
  3741. Signature: int CBaseEntity::GetTakeDamage()
  3742. Description: Gets this entity's m_takedamage value. (DAMAGE_YES, DAMAGE_NO, etc.)
  3743.  
  3744. Function: CBaseEntity::GetTeam
  3745. Signature: int CBaseEntity::GetTeam()
  3746.  
  3747. Function: CBaseEntity::GetTransmitState
  3748. Signature: int CBaseEntity::GetTransmitState()
  3749.  
  3750. Function: CBaseEntity::GetUpVector
  3751. Signature: Vector CBaseEntity::GetUpVector()
  3752. Description: Get the up vector of the entity
  3753.  
  3754. Function: CBaseEntity::GetVelocity
  3755. Signature: Vector CBaseEntity::GetVelocity()
  3756.  
  3757. Function: CBaseEntity::GetWaterLevel
  3758. Signature: int CBaseEntity::GetWaterLevel()
  3759. Description: Get current level of water submergence
  3760.  
  3761. Function: CBaseEntity::HasSpawnFlags
  3762. Signature: bool CBaseEntity::HasSpawnFlags(int)
  3763. Description: Check if the entity has specific spawnflag(s) ticked
  3764.  
  3765. Function: CBaseEntity::HeadTarget
  3766. Signature: Vector CBaseEntity::HeadTarget(Vector)
  3767.  
  3768. Function: CBaseEntity::IsAlive
  3769. Signature: bool CBaseEntity::IsAlive()
  3770. Description: Return true if this entity is alive
  3771.  
  3772. Function: CBaseEntity::IsCombatCharacter
  3773. Signature: bool CBaseEntity::IsCombatCharacter()
  3774. Description: Returns true if this entity is a combat character (player or NPC).
  3775.  
  3776. Function: CBaseEntity::IsEffectActive
  3777. Signature: bool CBaseEntity::IsEffectActive(int)
  3778. Description: Check if an effect is active
  3779.  
  3780. Function: CBaseEntity::IsEntVisible
  3781. Signature: bool CBaseEntity::IsEntVisible(handle)
  3782. Description: Check if the specified entity can be visible to this entity.
  3783.  
  3784. Function: CBaseEntity::IsFollowingEntity
  3785. Signature: bool CBaseEntity::IsFollowingEntity()
  3786. Description: Returns true if this entity is following another entity.
  3787.  
  3788. Function: CBaseEntity::IsNPC
  3789. Signature: bool CBaseEntity::IsNPC()
  3790. Description: Returns true if this entity is a NPC.
  3791.  
  3792. Function: CBaseEntity::IsPlayer
  3793. Signature: bool CBaseEntity::IsPlayer()
  3794. Description: Returns true if this entity is a player.
  3795.  
  3796. Function: CBaseEntity::IsVisible
  3797. Signature: bool CBaseEntity::IsVisible(Vector)
  3798. Description: Check if the specified position can be visible to this entity.
  3799.  
  3800. Function: CBaseEntity::IsVisibleWithMask
  3801. Signature: bool CBaseEntity::IsVisibleWithMask(Vector, int)
  3802. Description: Check if the specified position can be visible to this entity with a specific trace mask.
  3803.  
  3804. Function: CBaseEntity::IsWeapon
  3805. Signature: bool CBaseEntity::IsWeapon()
  3806. Description: Returns true if this entity is a weapon.
  3807.  
  3808. Function: CBaseEntity::IsWorld
  3809. Signature: bool CBaseEntity::IsWorld()
  3810. Description: Returns true if this entity is the world.
  3811.  
  3812. Function: CBaseEntity::NextMovePeer
  3813. Signature: handle CBaseEntity::NextMovePeer()
  3814.  
  3815. Function: CBaseEntity::PrecacheSoundScript
  3816. Signature: void CBaseEntity::PrecacheSoundScript(string)
  3817. Description: Precache a sound for later playing.
  3818.  
  3819. Function: CBaseEntity::RemoveEFlags
  3820. Signature: void CBaseEntity::RemoveEFlags(int)
  3821. Description: Remove Eflags
  3822.  
  3823. Function: CBaseEntity::RemoveEffects
  3824. Signature: void CBaseEntity::RemoveEffects(int)
  3825. Description: Remove effect(s)
  3826.  
  3827. Function: CBaseEntity::RemoveFlag
  3828. Signature: void CBaseEntity::RemoveFlag(int)
  3829. Description: Remove flag
  3830.  
  3831. Function: CBaseEntity::RemoveSolidFlags
  3832. Signature: void CBaseEntity::RemoveSolidFlags(int)
  3833. Description: Remove solid flags
  3834.  
  3835. Function: CBaseEntity::RemoveSpawnFlags
  3836. Signature: void CBaseEntity::RemoveSpawnFlags(int)
  3837. Description: Remove spawnflag(s)
  3838.  
  3839. Function: CBaseEntity::SetAbsAngles
  3840. Signature: void CBaseEntity::SetAbsAngles(Vector)
  3841. Description: SetAbsAngles
  3842.  
  3843. Function: CBaseEntity::SetAbsOrigin
  3844. Signature: void CBaseEntity::SetAbsOrigin(Vector)
  3845. Description: SetAbsOrigin
  3846.  
  3847. Function: CBaseEntity::SetAngles
  3848. Signature: void CBaseEntity::SetAngles(Vector)
  3849. Description: Set entity pitch, yaw, roll
  3850.  
  3851. Function: CBaseEntity::SetAngularVelocity
  3852. Signature: void CBaseEntity::SetAngularVelocity(float, float, float)
  3853. Description: Set the local angular velocity - takes float pitch,yaw,roll velocities
  3854.  
  3855. Function: CBaseEntity::SetCauser
  3856. Signature: void CBaseEntity::SetCauser(handle)
  3857. Description: Set who gets credit for a kill from this entity. If this is not a player it will reset the causer to nobody.
  3858.  
  3859. Function: CBaseEntity::SetCollisionGroup
  3860. Signature: void CBaseEntity::SetCollisionGroup(int)
  3861. Description: Set the collision group
  3862.  
  3863. Function: CBaseEntity::SetContextThink
  3864. Signature: void CBaseEntity::SetContextThink(string, handle, float)
  3865. Description: Set a think function on this entity.
  3866.  
  3867. Function: CBaseEntity::SetEffects
  3868. Signature: void CBaseEntity::SetEffects(int)
  3869. Description: Set effect(s)
  3870.  
  3871. Function: CBaseEntity::SetForwardVector
  3872. Signature: void CBaseEntity::SetForwardVector(Vector)
  3873. Description: Set the orientation of the entity to have this forward vector
  3874.  
  3875. Function: CBaseEntity::SetFriction
  3876. Signature: void CBaseEntity::SetFriction(float)
  3877.  
  3878. Function: CBaseEntity::SetGravity
  3879. Signature: void CBaseEntity::SetGravity(float)
  3880.  
  3881. Function: CBaseEntity::SetHealth
  3882. Signature: void CBaseEntity::SetHealth(int)
  3883.  
  3884. Function: CBaseEntity::SetLocalAngles
  3885. Signature: void CBaseEntity::SetLocalAngles(Vector)
  3886. Description: SetLocalAngles
  3887.  
  3888. Function: CBaseEntity::SetLocalOrigin
  3889. Signature: void CBaseEntity::SetLocalOrigin(Vector)
  3890. Description: SetLocalOrigin
  3891.  
  3892. Function: CBaseEntity::SetMass
  3893. Signature: void CBaseEntity::SetMass(float)
  3894.  
  3895. Function: CBaseEntity::SetMaxHealth
  3896. Signature: void CBaseEntity::SetMaxHealth(int)
  3897.  
  3898. Function: CBaseEntity::SetModel
  3899. Signature: void CBaseEntity::SetModel(string)
  3900.  
  3901. Function: CBaseEntity::SetMoveType
  3902. Signature: void CBaseEntity::SetMoveType(int)
  3903. Description: Set the move type
  3904.  
  3905. Function: CBaseEntity::SetName
  3906. Signature: void CBaseEntity::SetName(string)
  3907.  
  3908. Function: CBaseEntity::SetOrigin
  3909. Signature: void CBaseEntity::SetOrigin(Vector)
  3910.  
  3911. Function: CBaseEntity::SetOriginAngles
  3912. Signature: void CBaseEntity::SetOriginAngles(Vector, Vector)
  3913. Description: Set both the origin and the angles
  3914.  
  3915. Function: CBaseEntity::SetOriginAnglesVelocity
  3916. Signature: void CBaseEntity::SetOriginAnglesVelocity(Vector, Vector, Vector)
  3917. Description: Set the origin, the angles, and the velocity
  3918.  
  3919. Function: CBaseEntity::SetOwner
  3920. Signature: void CBaseEntity::SetOwner(handle)
  3921. Description: Sets this entity's owner
  3922.  
  3923. Function: CBaseEntity::SetParent
  3924. Signature: void CBaseEntity::SetParent(handle, string)
  3925.  
  3926. Function: CBaseEntity::SetRenderAlpha
  3927. Signature: void CBaseEntity::SetRenderAlpha(int)
  3928. Description: Set the render color's alpha value
  3929.  
  3930. Function: CBaseEntity::SetRenderColor
  3931. Signature: void CBaseEntity::SetRenderColor(int, int, int)
  3932. Description: Set the render color
  3933.  
  3934. Function: CBaseEntity::SetRenderColorB
  3935. Signature: void CBaseEntity::SetRenderColorB(int)
  3936. Description: Set the render color's B value
  3937.  
  3938. Function: CBaseEntity::SetRenderColorG
  3939. Signature: void CBaseEntity::SetRenderColorG(int)
  3940. Description: Set the render color's G value
  3941.  
  3942. Function: CBaseEntity::SetRenderColorR
  3943. Signature: void CBaseEntity::SetRenderColorR(int)
  3944. Description: Set the render color's R value
  3945.  
  3946. Function: CBaseEntity::SetRenderColorVector
  3947. Signature: void CBaseEntity::SetRenderColorVector(Vector)
  3948. Description: Set the render color as a vector
  3949.  
  3950. Function: CBaseEntity::SetRenderMode
  3951. Signature: void CBaseEntity::SetRenderMode(int)
  3952. Description: Set render mode
  3953.  
  3954. Function: CBaseEntity::SetSize
  3955. Signature: void CBaseEntity::SetSize(Vector, Vector)
  3956.  
  3957. Function: CBaseEntity::SetSolid
  3958. Signature: void CBaseEntity::SetSolid(int)
  3959.  
  3960. Function: CBaseEntity::SetTakeDamage
  3961. Signature: void CBaseEntity::SetTakeDamage(int)
  3962. Description: Sets this entity's m_takedamage value. (DAMAGE_YES, DAMAGE_NO, etc.)
  3963.  
  3964. Function: CBaseEntity::SetTeam
  3965. Signature: void CBaseEntity::SetTeam(int)
  3966.  
  3967. Function: CBaseEntity::SetThink
  3968. Signature: void CBaseEntity::SetThink(handle, float)
  3969.  
  3970. Function: CBaseEntity::SetThinkFunction
  3971. Signature: void CBaseEntity::SetThinkFunction(string, float)
  3972.  
  3973. Function: CBaseEntity::SetTransmitState
  3974. Signature: int CBaseEntity::SetTransmitState(int)
  3975.  
  3976. Function: CBaseEntity::SetVelocity
  3977. Signature: void CBaseEntity::SetVelocity(Vector)
  3978.  
  3979. Function: CBaseEntity::StopFollowingEntity
  3980. Signature: void CBaseEntity::StopFollowingEntity()
  3981. Description: Stops following an entity if we're following one.
  3982.  
  3983. Function: CBaseEntity::StopSound
  3984. Signature: void CBaseEntity::StopSound(string)
  3985. Description: Stops a sound from this entity.
  3986.  
  3987. Function: CBaseEntity::StopThink
  3988. Signature: void CBaseEntity::StopThink()
  3989.  
  3990. Function: CBaseEntity::StopThinkFunction
  3991. Signature: void CBaseEntity::StopThinkFunction()
  3992.  
  3993. Function: CBaseEntity::TakeDamage
  3994. Signature: int CBaseEntity::TakeDamage(handle)
  3995. Description: Apply damage to this entity with a given info handle
  3996.  
  3997. Function: CBaseEntity::TakeHealth
  3998. Signature: int CBaseEntity::TakeHealth(float, int)
  3999. Description: Give this entity health
  4000.  
  4001. Function: CBaseEntity::ValidateScriptScope
  4002. Signature: bool CBaseEntity::ValidateScriptScope()
  4003. Description: Ensure that an entity's script scope has been created
  4004.  
  4005. Function: CBaseEntity::entindex
  4006. Signature: int CBaseEntity::entindex()
  4007.  
  4008. Function: CBaseFilter::PassesDamageFilter
  4009. Signature: bool CBaseFilter::PassesDamageFilter(handle, handle)
  4010. 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.
  4011.  
  4012. Function: CBaseFilter::PassesFilter
  4013. Signature: bool CBaseFilter::PassesFilter(handle, handle)
  4014. 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.
  4015.  
  4016. Function: CBaseFlex::GetCurrentScene
  4017. Signature: handle CBaseFlex::GetCurrentScene()
  4018. Description: Returns the instance of the oldest active scene entity (if any).
  4019.  
  4020. Function: CBaseFlex::GetSceneByIndex
  4021. Signature: handle CBaseFlex::GetSceneByIndex(int)
  4022. Description: Returns the instance of the scene entity at the specified index.
  4023.  
  4024. Function: CBasePlayer::CanPickupObject
  4025. Signature: bool CBasePlayer::CanPickupObject(handle, float, float)
  4026. Description: Can player pick up this entity? With float parameters for mass limit, and size limit.
  4027.  
  4028. Function: CBasePlayer::DeathCount
  4029. Signature: int CBasePlayer::DeathCount()
  4030. Description: Gets the number of deaths this player has had in a multiplayer game.
  4031.  
  4032. Function: CBasePlayer::DisableButtons
  4033. Signature: void CBasePlayer::DisableButtons(int)
  4034. Description: Disables the specified button mask.
  4035.  
  4036. Function: CBasePlayer::EnableButtons
  4037. Signature: void CBasePlayer::EnableButtons(int)
  4038. Description: Enables the specified button mask if it was disabled before.
  4039.  
  4040. Function: CBasePlayer::FlashlightIsOn
  4041. Signature: int CBasePlayer::FlashlightIsOn()
  4042. Description: Returns true if the flashlight is on.
  4043.  
  4044. Function: CBasePlayer::FlashlightTurnOff
  4045. Signature: void CBasePlayer::FlashlightTurnOff()
  4046. Description: Turns off the flashlight.
  4047.  
  4048. Function: CBasePlayer::FlashlightTurnOn
  4049. Signature: void CBasePlayer::FlashlightTurnOn()
  4050. Description: Turns on the flashlight.
  4051.  
  4052. Function: CBasePlayer::ForceButtons
  4053. Signature: void CBasePlayer::ForceButtons(int)
  4054. Description: Forces the specified button mask.
  4055.  
  4056. Function: CBasePlayer::FragCount
  4057. Signature: int CBasePlayer::FragCount()
  4058. Description: Gets the number of frags (kills) this player has in a multiplayer game.
  4059.  
  4060. Function: CBasePlayer::GetArmor
  4061. Signature: int CBasePlayer::GetArmor()
  4062. Description: Gets the player's armor.
  4063.  
  4064. Function: CBasePlayer::GetAutoaimVector
  4065. Signature: Vector CBasePlayer::GetAutoaimVector(float)
  4066. Description: Gets the player's autoaim shooting direction with the specified scale.
  4067.  
  4068. Function: CBasePlayer::GetAutoaimVectorCustomMaxDist
  4069. Signature: Vector CBasePlayer::GetAutoaimVectorCustomMaxDist(float, float)
  4070. Description: Gets the player's autoaim shooting direction with the specified scale and a custom max distance.
  4071.  
  4072. Function: CBasePlayer::GetButtonDisabled
  4073. Signature: int CBasePlayer::GetButtonDisabled()
  4074. Description: Gets the player's currently unusable buttons.
  4075.  
  4076. Function: CBasePlayer::GetButtonForced
  4077. Signature: int CBasePlayer::GetButtonForced()
  4078. Description: Gets the player's currently forced buttons.
  4079.  
  4080. Function: CBasePlayer::GetButtonLast
  4081. Signature: int CBasePlayer::GetButtonLast()
  4082. Description: Gets the player's previously active buttons.
  4083.  
  4084. Function: CBasePlayer::GetButtonPressed
  4085. Signature: int CBasePlayer::GetButtonPressed()
  4086. Description: Gets the player's currently pressed buttons.
  4087.  
  4088. Function: CBasePlayer::GetButtonReleased
  4089. Signature: int CBasePlayer::GetButtonReleased()
  4090. Description: Gets the player's just-released buttons.
  4091.  
  4092. Function: CBasePlayer::GetButtons
  4093. Signature: int CBasePlayer::GetButtons()
  4094. Description: Gets the player's active buttons.
  4095.  
  4096. Function: CBasePlayer::GetExpresser
  4097. Signature: handle CBasePlayer::GetExpresser()
  4098. Description: Gets a handle for this player's expresser.
  4099.  
  4100. Function: CBasePlayer::GetEyeForward
  4101. Signature: Vector CBasePlayer::GetEyeForward()
  4102. Description: Gets the player's forward eye vector.
  4103.  
  4104. Function: CBasePlayer::GetEyeRight
  4105. Signature: Vector CBasePlayer::GetEyeRight()
  4106. Description: Gets the player's right eye vector.
  4107.  
  4108. Function: CBasePlayer::GetEyeUp
  4109. Signature: Vector CBasePlayer::GetEyeUp()
  4110. Description: Gets the player's up eye vector.
  4111.  
  4112. Function: CBasePlayer::GetFOV
  4113. Signature: int CBasePlayer::GetFOV()
  4114.  
  4115. Function: CBasePlayer::GetFOVOwner
  4116. Signature: handle CBasePlayer::GetFOVOwner()
  4117. Description: Gets current view owner.
  4118.  
  4119. Function: CBasePlayer::GetNetworkIDString
  4120. Signature: string CBasePlayer::GetNetworkIDString()
  4121. Description: Gets the player's network (i.e. Steam) ID.
  4122.  
  4123. Function: CBasePlayer::GetPlayerName
  4124. Signature: string CBasePlayer::GetPlayerName()
  4125. Description: Gets the player's name.
  4126.  
  4127. Function: CBasePlayer::GetUserID
  4128. Signature: int CBasePlayer::GetUserID()
  4129. Description: Gets the player's user ID.
  4130.  
  4131. Function: CBasePlayer::IsConnected
  4132. Signature: bool CBasePlayer::IsConnected()
  4133. Description: Returns true if this player is connected.
  4134.  
  4135. Function: CBasePlayer::IsDisconnecting
  4136. Signature: bool CBasePlayer::IsDisconnecting()
  4137. Description: Returns true if this player is disconnecting.
  4138.  
  4139. Function: CBasePlayer::IsNoclipping
  4140. Signature: bool CBasePlayer::IsNoclipping()
  4141. Description: Returns true if the player is in noclip mode.
  4142.  
  4143. Function: CBasePlayer::IsSuitEquipped
  4144. Signature: bool CBasePlayer::IsSuitEquipped()
  4145. Description: Returns true if this player had the HEV suit equipped.
  4146.  
  4147. Function: CBasePlayer::SetArmor
  4148. Signature: void CBasePlayer::SetArmor(int)
  4149. Description: Sets the player's armor.
  4150.  
  4151. Function: CBasePlayer::SetFOV
  4152. Signature: void CBasePlayer::SetFOV(int, float)
  4153. Description: Sets player FOV regardless of view owner.
  4154.  
  4155. Function: CBasePlayer::SetMuzzleFlashTime
  4156. Signature: void CBasePlayer::SetMuzzleFlashTime(float)
  4157. Description: Sets the player's muzzle flash time for AI.
  4158.  
  4159. Function: CBasePlayer::SetSuitUpdate
  4160. Signature: void CBasePlayer::SetSuitUpdate(string, int, int)
  4161. Description: Sets an update for the player's HEV suit.
  4162.  
  4163. Function: CBasePlayer::ShouldAutoaim
  4164. Signature: bool CBasePlayer::ShouldAutoaim()
  4165. Description: Returns true if the player should be autoaiming.
  4166.  
  4167. Function: CBasePlayer::UnforceButtons
  4168. Signature: void CBasePlayer::UnforceButtons(int)
  4169. Description: Unforces the specified button mask if it was forced before.
  4170.  
  4171. Function: CBasePlayer::ViewPunch
  4172. Signature: void CBasePlayer::ViewPunch(Vector)
  4173. Description: Punches the player's view with the specified vector.
  4174.  
  4175. Function: CConvars::GetBool
  4176. Signature: bool CConvars::GetBool(string)
  4177. Description: Returns the convar as a bool. May return null if no such convar.
  4178.  
  4179. Function: CConvars::GetClientConvarValue
  4180. Signature: CConvars::GetClientConvarValue(string, int)
  4181. Description: Returns the convar value for the entindex as a string. Only works with client convars with the FCVAR_USERINFO flag.
  4182.  
  4183. Function: CConvars::GetCommandClient
  4184. Signature: handle CConvars::GetCommandClient()
  4185. Description: returns the player who issued this console command.
  4186.  
  4187. Function: CConvars::GetDefaultValue
  4188. Signature: string CConvars::GetDefaultValue(string)
  4189. Description: Returns the convar's default value as a string. May return null if no such convar.
  4190.  
  4191. Function: CConvars::GetFloat
  4192. Signature: float CConvars::GetFloat(string)
  4193. Description: Returns the convar as a float. May return null if no such convar.
  4194.  
  4195. Function: CConvars::GetInt
  4196. Signature: int CConvars::GetInt(string)
  4197. Description: Returns the convar as an int. May return null if no such convar.
  4198.  
  4199. Function: CConvars::GetStr
  4200. Signature: string CConvars::GetStr(string)
  4201. Description: Returns the convar as a string. May return null if no such convar.
  4202.  
  4203. Function: CConvars::IsFlagSet
  4204. Signature: bool CConvars::IsFlagSet(string, int)
  4205. Description: Returns the convar's flags. May return null if no such convar.
  4206.  
  4207. Function: CConvars::RegisterCommand
  4208. Signature: void CConvars::RegisterCommand(string, handle, string, int)
  4209. Description: register a console command.
  4210.  
  4211. Function: CConvars::RegisterConvar
  4212. Signature: void CConvars::RegisterConvar(string, string, string, int)
  4213. Description: register a new console variable.
  4214.  
  4215. Function: CConvars::SetBool
  4216. Signature: void CConvars::SetBool(string, bool)
  4217. Description: Sets the value of the convar as a bool.
  4218.  
  4219. Function: CConvars::SetChangeCallback
  4220. Signature: void CConvars::SetChangeCallback(string, handle)
  4221. Description: callback is called with 5 parameters (var, szOldValue, flOldValue, szNewValue, flNewValue)
  4222.  
  4223. Function: CConvars::SetCompletionCallback
  4224. Signature: void CConvars::SetCompletionCallback(string, handle)
  4225. Description: callback is called with 3 parameters (cmd, partial, commands), user strings must be appended to 'commands' array
  4226.  
  4227. Function: CConvars::SetFloat
  4228. Signature: void CConvars::SetFloat(string, float)
  4229. Description: Sets the value of the convar as a float.
  4230.  
  4231. Function: CConvars::SetInt
  4232. Signature: void CConvars::SetInt(string, int)
  4233. Description: Sets the value of the convar as an int.
  4234.  
  4235. Function: CConvars::SetStr
  4236. Signature: void CConvars::SetStr(string, string)
  4237. Description: Sets the value of the convar as a string.
  4238.  
  4239. Function: CConvars::UnregisterCommand
  4240. Signature: void CConvars::UnregisterCommand(string)
  4241. Description: unregister a console command.
  4242.  
  4243. Function: CDebugOverlayScriptHelper::Axis
  4244. Signature: void CDebugOverlayScriptHelper::Axis(Vector, Vector, float, bool, float)
  4245. Description: Draws an axis. Specify origin + orientation in world space.
  4246.  
  4247. Function: CDebugOverlayScriptHelper::Box
  4248. Signature: void CDebugOverlayScriptHelper::Box(Vector, Vector, Vector, int, int, int, int, float)
  4249. Description: Draws a world-space axis-aligned box. Specify bounds in world space.
  4250.  
  4251. Function: CDebugOverlayScriptHelper::BoxAngles
  4252. Signature: void CDebugOverlayScriptHelper::BoxAngles(Vector, Vector, Vector, Vector, int, int, int, int, float)
  4253. Description: Draws an oriented box at the origin. Specify bounds in local space.
  4254.  
  4255. Function: CDebugOverlayScriptHelper::BoxDirection
  4256. Signature: void CDebugOverlayScriptHelper::BoxDirection(Vector, Vector, Vector, Vector, int, int, int, int, float)
  4257. Description: Draw box oriented to a Vector direction
  4258.  
  4259. Function: CDebugOverlayScriptHelper::Circle
  4260. Signature: void CDebugOverlayScriptHelper::Circle(Vector, Vector, Vector, float, int, int, int, int, bool, float)
  4261. Description: Draws a circle. Specify center in world space.
  4262.  
  4263. Function: CDebugOverlayScriptHelper::CircleOriented
  4264. Signature: void CDebugOverlayScriptHelper::CircleOriented(Vector, Vector, float, int, int, int, int, bool, float)
  4265. Description: Draws a circle oriented. Specify center in world space.
  4266.  
  4267. Function: CDebugOverlayScriptHelper::ClearAllOverlays
  4268. Signature: void CDebugOverlayScriptHelper::ClearAllOverlays()
  4269. Description: Clear all debug overlays at once
  4270.  
  4271. Function: CDebugOverlayScriptHelper::Cross3D
  4272. Signature: void CDebugOverlayScriptHelper::Cross3D(Vector, float, int, int, int, bool, float)
  4273. Description: Draws a world-aligned cross. Specify origin in world space.
  4274.  
  4275. Function: CDebugOverlayScriptHelper::Cross3DOriented
  4276. Signature: void CDebugOverlayScriptHelper::Cross3DOriented(Vector, Vector, float, int, int, int, bool, float)
  4277. Description: Draws an oriented cross. Specify origin in world space.
  4278.  
  4279. Function: CDebugOverlayScriptHelper::DrawTickMarkedLine
  4280. Signature: void CDebugOverlayScriptHelper::DrawTickMarkedLine(Vector, Vector, float, int, int, int, int, bool, float)
  4281. Description: Draws a dashed line. Specify endpoints in world space.
  4282.  
  4283. Function: CDebugOverlayScriptHelper::EntityBounds
  4284. Signature: void CDebugOverlayScriptHelper::EntityBounds(handle, int, int, int, int, float)
  4285. Description: Draws bounds of an entity
  4286.  
  4287. Function: CDebugOverlayScriptHelper::EntityText
  4288. Signature: void CDebugOverlayScriptHelper::EntityText(int, int, string, float, int, int, int, int)
  4289. Description: Draws text on an entity
  4290.  
  4291. Function: CDebugOverlayScriptHelper::EntityTextAtPosition
  4292. Signature: void CDebugOverlayScriptHelper::EntityTextAtPosition(Vector, int, string, float, int, int, int, int)
  4293. Description: Draw entity text overlay at a specific position
  4294.  
  4295. Function: CDebugOverlayScriptHelper::Grid
  4296. Signature: void CDebugOverlayScriptHelper::Grid(Vector)
  4297. Description: Add grid overlay
  4298.  
  4299. Function: CDebugOverlayScriptHelper::HorzArrow
  4300. Signature: void CDebugOverlayScriptHelper::HorzArrow(Vector, Vector, float, int, int, int, int, bool, float)
  4301. Description: Draws a horizontal arrow. Specify endpoints in world space.
  4302.  
  4303. Function: CDebugOverlayScriptHelper::Line
  4304. Signature: void CDebugOverlayScriptHelper::Line(Vector, Vector, int, int, int, bool, float)
  4305. Description: Draws a line between two points
  4306.  
  4307. Function: CDebugOverlayScriptHelper::ScreenText
  4308. Signature: void CDebugOverlayScriptHelper::ScreenText(float, float, string, int, int, int, int, float)
  4309. Description: Draws 2D text. Specify coordinates in screen space.
  4310.  
  4311. Function: CDebugOverlayScriptHelper::SetDebugBits
  4312. Signature: void CDebugOverlayScriptHelper::SetDebugBits(handle, int)
  4313. Description: Set debug bits on entity
  4314.  
  4315. Function: CDebugOverlayScriptHelper::Sphere
  4316. Signature: void CDebugOverlayScriptHelper::Sphere(Vector, float, int, int, int, bool, float)
  4317. Description: Draws a wireframe sphere. Specify center in world space.
  4318.  
  4319. Function: CDebugOverlayScriptHelper::SweptBox
  4320. Signature: void CDebugOverlayScriptHelper::SweptBox(Vector, Vector, Vector, Vector, Vector, int, int, int, int, float)
  4321. Description: Draws a swept box. Specify endpoints in world space and the bounds in local space.
  4322.  
  4323. Function: CDebugOverlayScriptHelper::Text
  4324. Signature: void CDebugOverlayScriptHelper::Text(Vector, string, float)
  4325. Description: Draws 2D text. Specify origin in world space.
  4326.  
  4327. Function: CDebugOverlayScriptHelper::Triangle
  4328. Signature: void CDebugOverlayScriptHelper::Triangle(Vector, Vector, Vector, int, int, int, int, bool, float)
  4329. Description: Draws a filled triangle. Specify vertices in world space.
  4330.  
  4331. Function: CDebugOverlayScriptHelper::VertArrow
  4332. Signature: void CDebugOverlayScriptHelper::VertArrow(Vector, Vector, float, int, int, int, int, bool, float)
  4333. Description: Draws a vertical arrow. Specify endpoints in world space.
  4334.  
  4335. Function: CDebugOverlayScriptHelper::YawArrow
  4336. Signature: void CDebugOverlayScriptHelper::YawArrow(Vector, float, float, float, int, int, int, int, bool, float)
  4337. Description: Draws a arrow associated with a specific yaw. Specify endpoints in world space.
  4338.  
  4339. Function: CEntities::CreateByClassname
  4340. Signature: handle CEntities::CreateByClassname(string)
  4341. Description: Creates an entity by classname
  4342.  
  4343. Function: CEntities::DisableEntityListening
  4344. Signature: void CEntities::DisableEntityListening()
  4345. Description: Disables the 'OnEntity' hooks.
  4346.  
  4347. Function: CEntities::EnableEntityListening
  4348. Signature: void CEntities::EnableEntityListening()
  4349. Description: Enables the 'OnEntity' hooks. This function must be called before using them.
  4350.  
  4351. Function: CEntities::FindByClassNearestFacing
  4352. Signature: handle CEntities::FindByClassNearestFacing(Vector, Vector, float, string)
  4353. Description: Find the nearest entity along the facing direction from the given origin within the angular threshold with the given classname.
  4354.  
  4355. Function: CEntities::FindByClassname
  4356. Signature: handle CEntities::FindByClassname(handle, string)
  4357. Description: Find entities by class name. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  4358.  
  4359. Function: CEntities::FindByClassnameNearest
  4360. Signature: handle CEntities::FindByClassnameNearest(string, Vector, float)
  4361. Description: Find entities by class name nearest to a point.
  4362.  
  4363. Function: CEntities::FindByClassnameWithin
  4364. Signature: handle CEntities::FindByClassnameWithin(handle, string, Vector, float)
  4365. 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
  4366.  
  4367. Function: CEntities::FindByClassnameWithinBox
  4368. Signature: handle CEntities::FindByClassnameWithinBox(handle, string, Vector, Vector)
  4369. 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
  4370.  
  4371. Function: CEntities::FindByModel
  4372. Signature: handle CEntities::FindByModel(handle, string)
  4373. Description: Find entities by model name. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  4374.  
  4375. Function: CEntities::FindByName
  4376. Signature: handle CEntities::FindByName(handle, string)
  4377. Description: Find entities by name. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  4378.  
  4379. Function: CEntities::FindByNameNearest
  4380. Signature: handle CEntities::FindByNameNearest(string, Vector, float)
  4381. Description: Find entities by name nearest to a point.
  4382.  
  4383. Function: CEntities::FindByNameWithin
  4384. Signature: handle CEntities::FindByNameWithin(handle, string, Vector, float)
  4385. 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
  4386.  
  4387. Function: CEntities::FindByTarget
  4388. Signature: handle CEntities::FindByTarget(handle, string)
  4389. Description: Find entities by targetname. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  4390.  
  4391. Function: CEntities::FindInSphere
  4392. Signature: handle CEntities::FindInSphere(handle, Vector, float)
  4393. Description: Find entities within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search
  4394.  
  4395. Function: CEntities::First
  4396. Signature: handle CEntities::First()
  4397. Description: Begin an iteration over the list of entities
  4398.  
  4399. Function: CEntities::Next
  4400. Signature: handle CEntities::Next(handle)
  4401. Description: Continue an iteration over the list of entities, providing reference to a previously found entity
  4402.  
  4403. Function: CEnvEntityMaker::SpawnEntity
  4404. Signature: void CEnvEntityMaker::SpawnEntity()
  4405. Description: Create an entity at the location of the maker
  4406.  
  4407. Function: CEnvEntityMaker::SpawnEntityAtEntityOrigin
  4408. Signature: void CEnvEntityMaker::SpawnEntityAtEntityOrigin(handle)
  4409. Description: Create an entity at the location of a specified entity instance
  4410.  
  4411. Function: CEnvEntityMaker::SpawnEntityAtLocation
  4412. Signature: void CEnvEntityMaker::SpawnEntityAtLocation(Vector, Vector)
  4413. Description: Create an entity at a specified location and orientaton, orientation is Euler angle in degrees (pitch, yaw, roll)
  4414.  
  4415. Function: CEnvEntityMaker::SpawnEntityAtNamedEntityOrigin
  4416. Signature: void CEnvEntityMaker::SpawnEntityAtNamedEntityOrigin(string)
  4417. Description: Create an entity at the location of a named entity
  4418.  
  4419. Function: CGameRules::AllowFlashlight
  4420. Signature: bool CGameRules::AllowFlashlight()
  4421. Description: Returns true if players are allowed to switch on their flashlight.
  4422.  
  4423. Function: CGameRules::AllowNPCs
  4424. Signature: bool CGameRules::AllowNPCs()
  4425. Description: Returns true if NPCs are allowed.
  4426.  
  4427. Function: CGameRules::AllowThirdPersonCamera
  4428. Signature: bool CGameRules::AllowThirdPersonCamera()
  4429. Description: Returns true if third-person camera is allowed.
  4430.  
  4431. Function: CGameRules::Damage_IsTimeBased
  4432. Signature: bool CGameRules::Damage_IsTimeBased(int)
  4433. Description: Damage types that are time-based.
  4434.  
  4435. Function: CGameRules::Damage_NoPhysicsForce
  4436. Signature: bool CGameRules::Damage_NoPhysicsForce(int)
  4437. Description: Damage types that don't have to supply a physics force & position.
  4438.  
  4439. Function: CGameRules::Damage_ShouldGibCorpse
  4440. Signature: bool CGameRules::Damage_ShouldGibCorpse(int)
  4441. Description: Damage types that gib the corpse.
  4442.  
  4443. Function: CGameRules::Damage_ShouldNotBleed
  4444. Signature: bool CGameRules::Damage_ShouldNotBleed(int)
  4445. Description: Damage types that don't make the player bleed.
  4446.  
  4447. Function: CGameRules::Damage_ShowOnHUD
  4448. Signature: bool CGameRules::Damage_ShowOnHUD(int)
  4449. Description: Damage types that have client HUD art.
  4450.  
  4451. Function: CGameRules::DefaultFOV
  4452. Signature: int CGameRules::DefaultFOV()
  4453. Description: Default player FOV in this game.
  4454.  
  4455. Function: CGameRules::GetDamageMultiplier
  4456. Signature: float CGameRules::GetDamageMultiplier()
  4457. Description: Ammo type damage multiplier.
  4458.  
  4459. Function: CGameRules::GetGameDescription
  4460. Signature: string CGameRules::GetGameDescription()
  4461. Description: This is the game description that gets seen in server browsers.
  4462.  
  4463. Function: CGameRules::GetGameType
  4464. Signature: int CGameRules::GetGameType()
  4465.  
  4466. Function: CGameRules::GetGameTypeName
  4467. Signature: string CGameRules::GetGameTypeName()
  4468.  
  4469. Function: CGameRules::GetSkillLevel
  4470. Signature: int CGameRules::GetSkillLevel()
  4471. Description: Returns the game's difficulty/skill level.
  4472.  
  4473. Function: CGameRules::InRoundRestart
  4474. Signature: bool CGameRules::InRoundRestart()
  4475. Description: Returns true if the round is restarting.
  4476.  
  4477. Function: CGameRules::IsCoOp
  4478. Signature: bool CGameRules::IsCoOp()
  4479.  
  4480. Function: CGameRules::IsDeathmatch
  4481. Signature: bool CGameRules::IsDeathmatch()
  4482.  
  4483. Function: CGameRules::IsMultiplayer
  4484. Signature: bool CGameRules::IsMultiplayer()
  4485. Description: Returns true if this is a multiplayer game (like co-op or deathmatch).
  4486.  
  4487. Function: CGameRules::IsSkillLevel
  4488. Signature: bool CGameRules::IsSkillLevel(int)
  4489. Description: Returns true if the game is set to the specified difficulty/skill level.
  4490.  
  4491. Function: CGameRules::IsTeamplay
  4492. Signature: bool CGameRules::IsTeamplay()
  4493.  
  4494. Function: CGameRules::Name
  4495. Signature: string CGameRules::Name()
  4496. Description: Gets the name of these rules.
  4497.  
  4498. Function: CGameRules::RefreshSkillData
  4499. Signature: void CGameRules::RefreshSkillData(bool)
  4500.  
  4501. Function: CGameRules::SetSkillLevel
  4502. Signature: void CGameRules::SetSkillLevel(int)
  4503. Description: Sets the game's difficulty/skill level.
  4504.  
  4505. Function: CGameRules::ShouldCollide
  4506. Signature: bool CGameRules::ShouldCollide(int, int)
  4507. Description: Returns whether two collision groups collide with each other in this game.
  4508.  
  4509. Function: CGameState::EndRound
  4510. Signature: void CGameState::EndRound()
  4511. Description: Ends the round (loss state).
  4512.  
  4513. Function: CGameState::ExtractAllPlayers
  4514. Signature: void CGameState::ExtractAllPlayers()
  4515. Description: Extracts all players (win state).
  4516.  
  4517. Function: CGameState::ExtractPlayer
  4518. Signature: void CGameState::ExtractPlayer(handle)
  4519. Description: Extracts a player.
  4520.  
  4521. Function: CGameState::FreezeAllNPCs
  4522. Signature: void CGameState::FreezeAllNPCs()
  4523. Description: Freezes all NPCs.
  4524.  
  4525. Function: CGameState::FreezeAllPlayers
  4526. Signature: void CGameState::FreezeAllPlayers()
  4527. Description: Freezes all players.
  4528.  
  4529. Function: CGameState::NukePlayers
  4530. Signature: void CGameState::NukePlayers()
  4531. Description: Kills all players, then ends the round (loss state).
  4532.  
  4533. Function: CGameState::RespawnAllPlayers
  4534. Signature: void CGameState::RespawnAllPlayers()
  4535. Description: Respawns all players.
  4536.  
  4537. Function: CGameState::RespawnPlayer
  4538. Signature: void CGameState::RespawnPlayer(handle)
  4539. Description: Respawns a player.
  4540.  
  4541. Function: CGameState::RestartRound
  4542. Signature: void CGameState::RestartRound()
  4543. Description: Restarts round immediately.
  4544.  
  4545. Function: CGameState::UnfreezeAllNPCs
  4546. Signature: void CGameState::UnfreezeAllNPCs()
  4547. Description: Unfreezes all NPCs.
  4548.  
  4549. Function: CGameState::UnfreezeAllPlayers
  4550. Signature: void CGameState::UnfreezeAllPlayers()
  4551. Description: Unfreezes all players.
  4552.  
  4553. Function: CGameTrace::AllSolid
  4554. Signature: bool CGameTrace::AllSolid()
  4555. Description: Returns whether the trace is completely within a solid.
  4556.  
  4557. Function: CGameTrace::Contents
  4558. Signature: int CGameTrace::Contents()
  4559. Description: Gets the contents of the surface the trace has hit.
  4560.  
  4561. Function: CGameTrace::Destroy
  4562. Signature: void CGameTrace::Destroy()
  4563. Description: Deletes this instance. Important for preventing memory leaks.
  4564.  
  4565. Function: CGameTrace::DidHit
  4566. Signature: bool CGameTrace::DidHit()
  4567. Description: Returns whether the trace hit anything.
  4568.  
  4569. Function: CGameTrace::DidHitNonWorldEntity
  4570. Signature: bool CGameTrace::DidHitNonWorldEntity()
  4571. Description: Returns whether the trace hit something other than the world entity.
  4572.  
  4573. Function: CGameTrace::DidHitWorld
  4574. Signature: bool CGameTrace::DidHitWorld()
  4575. Description: Returns whether the trace hit the world entity or not.
  4576.  
  4577. Function: CGameTrace::DispFlags
  4578. Signature: int CGameTrace::DispFlags()
  4579. Description: Gets the displacement flags of the surface the trace has hit.
  4580.  
  4581. Function: CGameTrace::EndPos
  4582. Signature: Vector CGameTrace::EndPos()
  4583. Description: Gets the trace's end position.
  4584.  
  4585. Function: CGameTrace::Entity
  4586. Signature: handle CGameTrace::Entity()
  4587. Description: Returns the entity this trace has hit.
  4588.  
  4589. Function: CGameTrace::Fraction
  4590. Signature: float CGameTrace::Fraction()
  4591. 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.
  4592.  
  4593. Function: CGameTrace::FractionLeftSolid
  4594. Signature: float CGameTrace::FractionLeftSolid()
  4595. Description: If this trace started within a solid, this is the point in the trace's fraction at which it left that solid.
  4596.  
  4597. Function: CGameTrace::GetEntityIndex
  4598. Signature: int CGameTrace::GetEntityIndex()
  4599. Description: Returns the index of whatever entity this trace hit.
  4600.  
  4601. Function: CGameTrace::HitBox
  4602. Signature: int CGameTrace::HitBox()
  4603. Description: Returns the hitbox of the entity this trace has hit. If it hit the world entity, this returns the static prop index.
  4604.  
  4605. Function: CGameTrace::HitGroup
  4606. Signature: int CGameTrace::HitGroup()
  4607. Description: Returns the specific hit group this trace hit if it hit an entity.
  4608.  
  4609. Function: CGameTrace::IsDispSurface
  4610. Signature: bool CGameTrace::IsDispSurface()
  4611. Description: Returns whether this trace hit a displacement.
  4612.  
  4613. Function: CGameTrace::IsDispSurfaceBuildable
  4614. Signature: bool CGameTrace::IsDispSurfaceBuildable()
  4615. Description: Returns whether DISPSURF_FLAG_BUILDABLE is ticked on the displacement this trace hit.
  4616.  
  4617. Function: CGameTrace::IsDispSurfaceProp1
  4618. Signature: bool CGameTrace::IsDispSurfaceProp1()
  4619. Description: Returns whether DISPSURF_FLAG_SURFPROP1 is ticked on the displacement this trace hit.
  4620.  
  4621. Function: CGameTrace::IsDispSurfaceProp2
  4622. Signature: bool CGameTrace::IsDispSurfaceProp2()
  4623. Description: Returns whether DISPSURF_FLAG_SURFPROP2 is ticked on the displacement this trace hit.
  4624.  
  4625. Function: CGameTrace::IsDispSurfaceWalkable
  4626. Signature: bool CGameTrace::IsDispSurfaceWalkable()
  4627. Description: Returns whether DISPSURF_FLAG_WALKABLE is ticked on the displacement this trace hit.
  4628.  
  4629. Function: CGameTrace::PhysicsBone
  4630. Signature: int CGameTrace::PhysicsBone()
  4631. Description: Returns the physics bone this trace hit if it hit an entity.
  4632.  
  4633. Function: CGameTrace::Plane
  4634. Signature: handle CGameTrace::Plane()
  4635.  
  4636. Function: CGameTrace::StartPos
  4637. Signature: Vector CGameTrace::StartPos()
  4638. Description: Gets the trace's start position.
  4639.  
  4640. Function: CGameTrace::StartSolid
  4641. Signature: bool CGameTrace::StartSolid()
  4642. Description: Returns whether the trace started within a solid.
  4643.  
  4644. Function: CGameTrace::Surface
  4645. Signature: handle CGameTrace::Surface()
  4646.  
  4647. Function: CGlobalSys::CommandLineCheck
  4648. Signature: bool CGlobalSys::CommandLineCheck(string)
  4649. Description: returns true if the command line param was used, otherwise false.
  4650.  
  4651. Function: CGlobalSys::CommandLineCheckFloat
  4652. Signature: float CGlobalSys::CommandLineCheckFloat(string)
  4653. Description: returns the command line param as a float.
  4654.  
  4655. Function: CGlobalSys::CommandLineCheckInt
  4656. Signature: int CGlobalSys::CommandLineCheckInt(string)
  4657. Description: returns the command line param as an int.
  4658.  
  4659. Function: CGlobalSys::CommandLineCheckStr
  4660. Signature: string CGlobalSys::CommandLineCheckStr(string)
  4661. Description: returns the command line param as a string.
  4662.  
  4663. Function: CGlobalSys::GetCommandLine
  4664. Signature: string CGlobalSys::GetCommandLine()
  4665. Description: returns the command line
  4666.  
  4667. Function: CInfectableCharacter::BecomeInfected
  4668. Signature: void CInfectableCharacter::BecomeInfected()
  4669. Description: Character becomes infected.
  4670.  
  4671. Function: CInfectableCharacter::CureInfection
  4672. Signature: void CInfectableCharacter::CureInfection()
  4673. Description: Cures active infection.
  4674.  
  4675. Function: CInfectableCharacter::DiedWhileInfected
  4676. Signature: bool CInfectableCharacter::DiedWhileInfected()
  4677. Description: Returns true if character died while infected.
  4678.  
  4679. Function: CInfectableCharacter::GetInfectionDeathTime
  4680. Signature: float CInfectableCharacter::GetInfectionDeathTime()
  4681. Description: Gets the time of when infection takes over.
  4682.  
  4683. Function: CInfectableCharacter::GetInfectionTime
  4684. Signature: float CInfectableCharacter::GetInfectionTime()
  4685. Description: Gets the time of infection.
  4686.  
  4687. Function: CInfectableCharacter::IsInfected
  4688. Signature: bool CInfectableCharacter::IsInfected()
  4689. Description: Returns true if character is infected.
  4690.  
  4691. Function: CInfectableCharacter::TakePills
  4692. Signature: void CInfectableCharacter::TakePills()
  4693. Description: Resets infection time.
  4694.  
  4695. Function: CItem_AmmoBox::GetMaxAmmo
  4696. Signature: int CItem_AmmoBox::GetMaxAmmo()
  4697. Description: Returns max count for current ammo type.
  4698.  
  4699. Function: CItem_AmmoBox::SetAmmoCount
  4700. Signature: void CItem_AmmoBox::SetAmmoCount(int)
  4701. Description: Set ammo count.
  4702.  
  4703. Function: CItem_AmmoBox::SetAmmoType
  4704. Signature: void CItem_AmmoBox::SetAmmoType(string)
  4705. Description: Set ammo type by name.
  4706.  
  4707. Function: CItem_InventoryBox::AddItem
  4708. Signature: bool CItem_InventoryBox::AddItem(string)
  4709. Description: Adds an item to the inventory box, accepts item aliases and spawner keywords. Returns false if the box is full.
  4710.  
  4711. Function: CItem_InventoryBox::AddRandomAmmo
  4712. Signature: void CItem_InventoryBox::AddRandomAmmo(int)
  4713. Description: Adds a random ammo item to the inventory box, with a parameter of item count. Use -1 to fill all the empty slots.
  4714.  
  4715. Function: CItem_InventoryBox::AddRandomGear
  4716. Signature: void CItem_InventoryBox::AddRandomGear(int)
  4717. Description: Adds a random gear item to the inventory box, with a parameter of item count. Use -1 to fill all the empty slots.
  4718.  
  4719. Function: CItem_InventoryBox::AddRandomWeapon
  4720. Signature: void CItem_InventoryBox::AddRandomWeapon(int)
  4721. Description: Adds a random weapon item to the inventory box, with a parameter of item count. Use -1 to fill all the empty slots.
  4722.  
  4723. Function: CItem_InventoryBox::AllowEmpty
  4724. Signature: void CItem_InventoryBox::AllowEmpty(bool)
  4725. Description: Sets whether or not the box will be removed once it's been emptied, with a boolean parameter.
  4726.  
  4727. Function: CItem_InventoryBox::RandomizeContents
  4728. Signature: void CItem_InventoryBox::RandomizeContents()
  4729. Description: Randomizes new contents, and replaces all existing items.
  4730.  
  4731. Function: CItem_InventoryBox::RemoveAllItems
  4732. Signature: void CItem_InventoryBox::RemoveAllItems()
  4733. Description: Removes all items in the inventory box.
  4734.  
  4735. Function: CLocalize::AddStringAsUTF8
  4736. Signature: void CLocalize::AddStringAsUTF8(string, string)
  4737. Description: Adds a new localized token as a UTF-8 string (not Unicode).
  4738.  
  4739. Function: CLocalize::GetTokenAsUTF8
  4740. Signature: string CLocalize::GetTokenAsUTF8(string)
  4741. Description: Gets the current language's token as a UTF-8 string (not Unicode).
  4742.  
  4743. Function: CNMRiHLogicScriptProxy::RunFunction
  4744. Signature: void CNMRiHLogicScriptProxy::RunFunction(string)
  4745. Description: Runs an entity script function using a proxy.
  4746.  
  4747. Function: CNMRiHLogicScriptProxy::RunFunctionBool
  4748. Signature: void CNMRiHLogicScriptProxy::RunFunctionBool(string)
  4749. Description: Runs an entity script function using a proxy, and saves returned value into entprop buffer as boolean (0/1).
  4750.  
  4751. Function: CNMRiHLogicScriptProxy::RunFunctionEHandle
  4752. Signature: void CNMRiHLogicScriptProxy::RunFunctionEHandle(string)
  4753. Description: Runs an entity script function using a proxy, and saves returned entity handle into entprop.
  4754.  
  4755. Function: CNMRiHLogicScriptProxy::RunFunctionFloat
  4756. Signature: void CNMRiHLogicScriptProxy::RunFunctionFloat(string)
  4757. Description: Runs an entity script function using a proxy, and saves returned float into entprop buffer.
  4758.  
  4759. Function: CNMRiHLogicScriptProxy::RunFunctionInt
  4760. Signature: void CNMRiHLogicScriptProxy::RunFunctionInt(string)
  4761. Description: Runs an entity script function using a proxy, and saves returned int into entprop buffer.
  4762.  
  4763. Function: CNMRiHLogicScriptProxy::RunFunctionString
  4764. Signature: void CNMRiHLogicScriptProxy::RunFunctionString(string)
  4765. Description: Runs an entity script function using a proxy, and saves returned string into entprop buffer.
  4766.  
  4767. Function: CNMRiHLogicScriptProxy::RunFunctionVector
  4768. Signature: void CNMRiHLogicScriptProxy::RunFunctionVector(string)
  4769. Description: Runs an entity script function using a proxy, and saves returned vector into entprop buffer.
  4770.  
  4771. Function: CNMRiHLogicScriptProxy::SetTargetEntity
  4772. Signature: void CNMRiHLogicScriptProxy::SetTargetEntity(handle)
  4773. Description: Target chosen entity.
  4774.  
  4775. Function: CNMRiH_BaseZombie::BecomeCrawler
  4776. Signature: void CNMRiH_BaseZombie::BecomeCrawler()
  4777. Description: Turns this zombie into a crawler.
  4778.  
  4779. Function: CNMRiH_BaseZombie::BecomeRunner
  4780. Signature: void CNMRiH_BaseZombie::BecomeRunner()
  4781. Description: Turns this zombie into a runner.
  4782.  
  4783. Function: CNMRiH_BaseZombie::HasArmor
  4784. Signature: bool CNMRiH_BaseZombie::HasArmor()
  4785. Description: Returns true if this zombie has armor (i.e. national guard).
  4786.  
  4787. Function: CNMRiH_BaseZombie::IsCrawler
  4788. Signature: bool CNMRiH_BaseZombie::IsCrawler()
  4789. Description: Returns true if this zombie is a crawler.
  4790.  
  4791. Function: CNMRiH_BaseZombie::IsKid
  4792. Signature: bool CNMRiH_BaseZombie::IsKid()
  4793. Description: Returns true if this zombie is a kid.
  4794.  
  4795. Function: CNMRiH_BaseZombie::IsRunner
  4796. Signature: bool CNMRiH_BaseZombie::IsRunner()
  4797. Description: Returns true if this zombie is a runner.
  4798.  
  4799. Function: CNMRiH_BaseZombie::IsTurned
  4800. Signature: bool CNMRiH_BaseZombie::IsTurned()
  4801. Description: Returns true if this zombie is a turned player.
  4802.  
  4803. Function: CNMRiH_BaseZombie::SetModelOverride
  4804. Signature: void CNMRiH_BaseZombie::SetModelOverride(string)
  4805. Description: Overrides model on this zombie.
  4806.  
  4807. Function: CNMRiH_BaseZombie::SpawnLootAmmo
  4808. Signature: handle CNMRiH_BaseZombie::SpawnLootAmmo(string)
  4809. Description: Spawns loot drop by ammo name, returns handle to new entity.
  4810.  
  4811. Function: CNMRiH_BaseZombie::SpawnLootWeapon
  4812. Signature: handle CNMRiH_BaseZombie::SpawnLootWeapon(string)
  4813. Description: Spawns loot drop by weapon classname, returns handle to new entity.
  4814.  
  4815. Function: CNMRiH_Player::AddCarriedWeight
  4816. Signature: void CNMRiH_Player::AddCarriedWeight(int)
  4817. Description: Adds carried inventory weight.
  4818.  
  4819. Function: CNMRiH_Player::Ammo_Drop
  4820. Signature: void CNMRiH_Player::Ammo_Drop(string)
  4821. Description: Drops one box of owned ammo, with parameter of ammo name.
  4822.  
  4823. Function: CNMRiH_Player::ApplyBandage
  4824. Signature: void CNMRiH_Player::ApplyBandage()
  4825. Description: Applies the effect of using a bandage.
  4826.  
  4827. Function: CNMRiH_Player::ApplyFirstAidKit
  4828. Signature: void CNMRiH_Player::ApplyFirstAidKit()
  4829. Description: Applies the effect of using a first aid kit.
  4830.  
  4831. Function: CNMRiH_Player::ApplyVaccine
  4832. Signature: void CNMRiH_Player::ApplyVaccine()
  4833. Description: Applies the effect of gene therapy vaccine, cures and immunizes infection.
  4834.  
  4835. Function: CNMRiH_Player::BleedOut
  4836. Signature: void CNMRiH_Player::BleedOut()
  4837. Description: Inflicts bleeding.
  4838.  
  4839. Function: CNMRiH_Player::CancelSuicide
  4840. Signature: void CNMRiH_Player::CancelSuicide(bool)
  4841. Description: Cancels suicide when contemplating, with boolean parameter for playing cancel animation.
  4842.  
  4843. Function: CNMRiH_Player::CancelThrowDrop
  4844. Signature: void CNMRiH_Player::CancelThrowDrop()
  4845. Description: Cancels active weapon throw.
  4846.  
  4847. Function: CNMRiH_Player::ContemplateSuicide
  4848. Signature: void CNMRiH_Player::ContemplateSuicide()
  4849. Description: Begins contemplating suicide.
  4850.  
  4851. Function: CNMRiH_Player::DeathCount
  4852. Signature: int CNMRiH_Player::DeathCount()
  4853. Description: Returns the amount of times player has died.
  4854.  
  4855. Function: CNMRiH_Player::DecrementRespawnTokens
  4856. Signature: void CNMRiH_Player::DecrementRespawnTokens()
  4857. Description: Decrements active respawn tokens.
  4858.  
  4859. Function: CNMRiH_Player::DestroyAllAmmo
  4860. Signature: void CNMRiH_Player::DestroyAllAmmo()
  4861. Description: Destroys all ammo that player owns.
  4862.  
  4863. Function: CNMRiH_Player::DestroyAllWeapons
  4864. Signature: void CNMRiH_Player::DestroyAllWeapons()
  4865. Description: Destroys all weapons that player owns.
  4866.  
  4867. Function: CNMRiH_Player::DestroyEverything
  4868. Signature: void CNMRiH_Player::DestroyEverything()
  4869. Description: Destroys all items that player owns.
  4870.  
  4871. Function: CNMRiH_Player::DoCommitSuicide
  4872. Signature: void CNMRiH_Player::DoCommitSuicide()
  4873. Description: Does commit suicide.
  4874.  
  4875. Function: CNMRiH_Player::DropEverything
  4876. Signature: void CNMRiH_Player::DropEverything()
  4877. Description: Drops all items that player owns.
  4878.  
  4879. Function: CNMRiH_Player::EnableSprint
  4880. Signature: void CNMRiH_Player::EnableSprint(bool)
  4881. Description: Enables / disables sprinting ability.
  4882.  
  4883. Function: CNMRiH_Player::GetAmmoCarryWeight
  4884. Signature: int CNMRiH_Player::GetAmmoCarryWeight()
  4885. Description: Returns ammo inventory weight.
  4886.  
  4887. Function: CNMRiH_Player::GetCarriedWeight
  4888. Signature: int CNMRiH_Player::GetCarriedWeight()
  4889. Description: Returns total carried inventory weight.
  4890.  
  4891. Function: CNMRiH_Player::GetJumpStaminaCost
  4892. Signature: float CNMRiH_Player::GetJumpStaminaCost()
  4893. Description: Returns the amount of stamina jumping costs.
  4894.  
  4895. Function: CNMRiH_Player::GetLastObserverMode
  4896. Signature: int CNMRiH_Player::GetLastObserverMode()
  4897. Description: Returns previous observer mode.
  4898.  
  4899. Function: CNMRiH_Player::GetMaxCarriedWeight
  4900. Signature: float CNMRiH_Player::GetMaxCarriedWeight()
  4901. Description: Returns max carried inventory weight.
  4902.  
  4903. Function: CNMRiH_Player::GetNextRespawnTime
  4904. Signature: float CNMRiH_Player::GetNextRespawnTime()
  4905. Description: Returns next respawn time for this player.
  4906.  
  4907. Function: CNMRiH_Player::GetNextSpawnTryTime
  4908. Signature: float CNMRiH_Player::GetNextSpawnTryTime()
  4909. Description: Returns next spawn attempt time for this player.
  4910.  
  4911. Function: CNMRiH_Player::GetThrowScale
  4912. Signature: float CNMRiH_Player::GetThrowScale()
  4913. Description: Returns current weapon throw scale.
  4914.  
  4915. Function: CNMRiH_Player::GetThrowVector
  4916. Signature: Vector CNMRiH_Player::GetThrowVector(float)
  4917. Description: Returns weapon throw vector, with parameter of throw force.
  4918.  
  4919. Function: CNMRiH_Player::HasFlashlight
  4920. Signature: bool CNMRiH_Player::HasFlashlight()
  4921. Description: Returns true if player owns flashlight.
  4922.  
  4923. Function: CNMRiH_Player::HasLeftoverWeight
  4924. Signature: bool CNMRiH_Player::HasLeftoverWeight(int)
  4925. Description: Returns true if player has given weight available.
  4926.  
  4927. Function: CNMRiH_Player::HasWalkieTalkie
  4928. Signature: bool CNMRiH_Player::HasWalkieTalkie()
  4929. Description: Returns true if player owns walkie talkie.
  4930.  
  4931. Function: CNMRiH_Player::IncreaseBloodiness
  4932. Signature: void CNMRiH_Player::IncreaseBloodiness()
  4933. Description: Increases visual bloodiness.
  4934.  
  4935. Function: CNMRiH_Player::IncrementRespawnTokens
  4936. Signature: void CNMRiH_Player::IncrementRespawnTokens()
  4937. Description: Increments active respawn tokens.
  4938.  
  4939. Function: CNMRiH_Player::IsBleedingOut
  4940. Signature: bool CNMRiH_Player::IsBleedingOut()
  4941. Description: Returns true is player is bleeding.
  4942.  
  4943. Function: CNMRiH_Player::IsContemplatingSuicide
  4944. Signature: bool CNMRiH_Player::IsContemplatingSuicide()
  4945. Description: Returns true when player is contemplating suicide.
  4946.  
  4947. Function: CNMRiH_Player::IsExtracted
  4948. Signature: bool CNMRiH_Player::IsExtracted()
  4949. Description: Returns true if player is extracted.
  4950.  
  4951. Function: CNMRiH_Player::IsGrabbed
  4952. Signature: bool CNMRiH_Player::IsGrabbed()
  4953. Description: Returns true if player is being grabbed by a zombie.
  4954.  
  4955. Function: CNMRiH_Player::IsHost
  4956. Signature: bool CNMRiH_Player::IsHost()
  4957. Description: Returns true if this player is a listen server host.
  4958.  
  4959. Function: CNMRiH_Player::IsPartialBlindnessActive
  4960. Signature: bool CNMRiH_Player::IsPartialBlindnessActive()
  4961. Description: Returns true if player is experiencing blindness from vaccine side effects.
  4962.  
  4963. Function: CNMRiH_Player::IsTalkingLocal
  4964. Signature: bool CNMRiH_Player::IsTalkingLocal()
  4965. Description: Returns true if player is talking without a walkie talkie.
  4966.  
  4967. Function: CNMRiH_Player::IsTalkingWalkie
  4968. Signature: bool CNMRiH_Player::IsTalkingWalkie()
  4969. Description: Returns true if player is talking with a walkie talkie.
  4970.  
  4971. Function: CNMRiH_Player::IsUsingProgressTrigger
  4972. Signature: bool CNMRiH_Player::IsUsingProgressTrigger()
  4973. Description: Returns true if player is using a tool.
  4974.  
  4975. Function: CNMRiH_Player::IsVaccinated
  4976. Signature: bool CNMRiH_Player::IsVaccinated()
  4977. Description: Returns true if player is vaccinated.
  4978.  
  4979. Function: CNMRiH_Player::IsVoiceCommandTimerExpired
  4980. Signature: bool CNMRiH_Player::IsVoiceCommandTimerExpired()
  4981. Description: Returns true when voice command timer has expired.
  4982.  
  4983. Function: CNMRiH_Player::ReadyToRespawn
  4984. Signature: bool CNMRiH_Player::ReadyToRespawn()
  4985. Description: Returns true if player is ready to respawn.
  4986.  
  4987. Function: CNMRiH_Player::RemoveCarriedWeight
  4988. Signature: void CNMRiH_Player::RemoveCarriedWeight(int)
  4989. Description: Removes carried inventory weight.
  4990.  
  4991. Function: CNMRiH_Player::RemoveInflictions
  4992. Signature: void CNMRiH_Player::RemoveInflictions()
  4993. Description: Removes infection and bleeding.
  4994.  
  4995. Function: CNMRiH_Player::ResetRespawnTokens
  4996. Signature: void CNMRiH_Player::ResetRespawnTokens()
  4997. Description: Resets active respawn tokens.
  4998.  
  4999. Function: CNMRiH_Player::ResetVoiceCommandTimer
  5000. Signature: void CNMRiH_Player::ResetVoiceCommandTimer()
  5001. Description: Resets voice command cooldown timer.
  5002.  
  5003. Function: CNMRiH_Player::RespawnTokenCount
  5004. Signature: int CNMRiH_Player::RespawnTokenCount()
  5005. Description: Returns active respawn token count.
  5006.  
  5007. Function: CNMRiH_Player::SetExtracted
  5008. Signature: void CNMRiH_Player::SetExtracted(bool)
  5009. Description: Sets this player as extracted.
  5010.  
  5011. Function: CNMRiH_Player::SetIdleTimeout
  5012. Signature: void CNMRiH_Player::SetIdleTimeout(float)
  5013. Description: Sets timeout for idle auto-kick.
  5014.  
  5015. Function: CNMRiH_Player::SetIgnoreFallDamage
  5016. Signature: void CNMRiH_Player::SetIgnoreFallDamage(bool)
  5017. Description: Makes the player ignore all fall damage.
  5018.  
  5019. Function: CNMRiH_Player::SetNextRespawnTime
  5020. Signature: void CNMRiH_Player::SetNextRespawnTime(float)
  5021. Description: Sets next respawn time for this player.
  5022.  
  5023. Function: CNMRiH_Player::SetNextSpawnTryTime
  5024. Signature: void CNMRiH_Player::SetNextSpawnTryTime(float)
  5025. Description: Sets next spawn attempt time for this player.
  5026.  
  5027. Function: CNMRiH_Player::SetRespawnTokens
  5028. Signature: void CNMRiH_Player::SetRespawnTokens(int, bool)
  5029. Description: Sets active respawn tokens, with boolean parameter if player should be notified.
  5030.  
  5031. Function: CNMRiH_Player::SetSpawnWeapon
  5032. Signature: void CNMRiH_Player::SetSpawnWeapon(string, int)
  5033. Description: Sets starting weapon when player spawns, with weapon classname, and ammo percent as integer.
  5034.  
  5035. Function: CNMRiH_Player::SetUsingProgressTrigger
  5036. Signature: void CNMRiH_Player::SetUsingProgressTrigger(bool)
  5037. Description: Sets the state of player using a tool.
  5038.  
  5039. Function: CNMRiH_Player::ShouldIgnoreFallDamage
  5040. Signature: bool CNMRiH_Player::ShouldIgnoreFallDamage()
  5041. Description: Returns true if player should ignore fall damage.
  5042.  
  5043. Function: CNMRiH_Player::StopBleedingOut
  5044. Signature: void CNMRiH_Player::StopBleedingOut()
  5045. Description: Stops bleeding.
  5046.  
  5047. Function: CNMRiH_Player::ThrowAllAmmo
  5048. Signature: void CNMRiH_Player::ThrowAllAmmo()
  5049. Description: Throws all ammo that player owns.
  5050.  
  5051. Function: CNMRiH_Player::ThrowAllWeapons
  5052. Signature: void CNMRiH_Player::ThrowAllWeapons()
  5053. Description: Throws all weapons that player owns.
  5054.  
  5055. Function: CNMRiH_Player::VoiceCommand
  5056. Signature: void CNMRiH_Player::VoiceCommand(int, bool)
  5057. Description: Tries a voice command, with boolean parameter for playing it regardless of cooldown.
  5058.  
  5059. Function: CNetPropManager::GetPropArraySize
  5060. Signature: int CNetPropManager::GetPropArraySize(handle, string)
  5061. Description: Returns the size of an netprop array, or -1.
  5062.  
  5063. Function: CNetPropManager::GetPropEntity
  5064. Signature: handle CNetPropManager::GetPropEntity(handle, string)
  5065. Description: Reads an EHANDLE valued netprop (21 bit integer). Returns the script handle of the entity.
  5066.  
  5067. Function: CNetPropManager::GetPropEntityArray
  5068. Signature: handle CNetPropManager::GetPropEntityArray(handle, string, int)
  5069. Description: Reads an EHANDLE valued netprop (21 bit integer) from an array. Returns the script handle of the entity.
  5070.  
  5071. Function: CNetPropManager::GetPropFloat
  5072. Signature: float CNetPropManager::GetPropFloat(handle, string)
  5073. Description: Reads a float valued netprop.
  5074.  
  5075. Function: CNetPropManager::GetPropFloatArray
  5076. Signature: float CNetPropManager::GetPropFloatArray(handle, string, int)
  5077. Description: Reads a float valued netprop from an array.
  5078.  
  5079. Function: CNetPropManager::GetPropInt
  5080. Signature: int CNetPropManager::GetPropInt(handle, string)
  5081. Description: Reads an integer valued netprop.
  5082.  
  5083. Function: CNetPropManager::GetPropIntArray
  5084. Signature: int CNetPropManager::GetPropIntArray(handle, string, int)
  5085. Description: Reads an integer valued netprop from an array.
  5086.  
  5087. Function: CNetPropManager::GetPropString
  5088. Signature: string CNetPropManager::GetPropString(handle, string)
  5089. Description: Reads a string valued netprop.
  5090.  
  5091. Function: CNetPropManager::GetPropStringArray
  5092. Signature: string CNetPropManager::GetPropStringArray(handle, string, int)
  5093. Description: Reads a string valued netprop from an array.
  5094.  
  5095. Function: CNetPropManager::GetPropType
  5096. Signature: string CNetPropManager::GetPropType(handle, string)
  5097. Description: Returns the name of the netprop type as a string.
  5098.  
  5099. Function: CNetPropManager::GetPropVector
  5100. Signature: Vector CNetPropManager::GetPropVector(handle, string)
  5101. Description: Reads a 3D vector valued netprop.
  5102.  
  5103. Function: CNetPropManager::GetPropVectorArray
  5104. Signature: Vector CNetPropManager::GetPropVectorArray(handle, string, int)
  5105. Description: Reads a 3D vector valued netprop from an array.
  5106.  
  5107. Function: CNetPropManager::HasProp
  5108. Signature: bool CNetPropManager::HasProp(handle, string)
  5109. Description: Checks if a netprop exists.
  5110.  
  5111. Function: CNetPropManager::SetPropEntity
  5112. Signature: void CNetPropManager::SetPropEntity(handle, string, handle)
  5113. Description: Sets an EHANDLE valued netprop (21 bit integer) to reference the specified entity.
  5114.  
  5115. Function: CNetPropManager::SetPropEntityArray
  5116. Signature: handle CNetPropManager::SetPropEntityArray(handle, string, handle, int)
  5117. Description: Sets an EHANDLE valued netprop (21 bit integer) from an array to reference the specified entity.
  5118.  
  5119. Function: CNetPropManager::SetPropFloat
  5120. Signature: void CNetPropManager::SetPropFloat(handle, string, float)
  5121. Description: Sets a netprop to the specified float.
  5122.  
  5123. Function: CNetPropManager::SetPropFloatArray
  5124. Signature: void CNetPropManager::SetPropFloatArray(handle, string, float, int)
  5125. Description: Sets a netprop from an array to the specified float.
  5126.  
  5127. Function: CNetPropManager::SetPropInt
  5128. Signature: void CNetPropManager::SetPropInt(handle, string, int)
  5129. Description: Sets a netprop to the specified integer.
  5130.  
  5131. Function: CNetPropManager::SetPropIntArray
  5132. Signature: void CNetPropManager::SetPropIntArray(handle, string, int, int)
  5133. Description: Sets a netprop from an array to the specified integer.
  5134.  
  5135. Function: CNetPropManager::SetPropString
  5136. Signature: void CNetPropManager::SetPropString(handle, string, string)
  5137. Description: Sets a netprop to the specified string.
  5138.  
  5139. Function: CNetPropManager::SetPropStringArray
  5140. Signature: void CNetPropManager::SetPropStringArray(handle, string, string, int)
  5141. Description: Sets a netprop from an array to the specified string.
  5142.  
  5143. Function: CNetPropManager::SetPropVector
  5144. Signature: void CNetPropManager::SetPropVector(handle, string, Vector)
  5145. Description: Sets a netprop to the specified vector.
  5146.  
  5147. Function: CNetPropManager::SetPropVectorArray
  5148. Signature: void CNetPropManager::SetPropVectorArray(handle, string, Vector, int)
  5149. Description: Sets a netprop from an array to the specified vector.
  5150.  
  5151. Function: CObjectiveManager::CompleteCurrentObjective
  5152. Signature: void CObjectiveManager::CompleteCurrentObjective(string)
  5153. Description: Completes current objective, with targetname parameter of forced extraction zone.
  5154.  
  5155. Function: CObjectiveManager::GetCurrentObjectiveBoundary
  5156. Signature: string CObjectiveManager::GetCurrentObjectiveBoundary()
  5157. Description: Returns name of current objective boundary.
  5158.  
  5159. Function: CObjectiveManager::GetCurrentObjectiveIndex
  5160. Signature: int CObjectiveManager::GetCurrentObjectiveIndex()
  5161. Description: Returns current objective index.
  5162.  
  5163. Function: CObjectiveManager::GetObjectiveCount
  5164. Signature: int CObjectiveManager::GetObjectiveCount()
  5165. Description: Returns total objective count.
  5166.  
  5167. Function: CObjectiveManager::IsCompleted
  5168. Signature: bool CObjectiveManager::IsCompleted()
  5169. Description: Returns true if objectives are complete.
  5170.  
  5171. Function: CObjectiveManager::IsFailed
  5172. Signature: bool CObjectiveManager::IsFailed()
  5173. Description: Returns true if objectives failed.
  5174.  
  5175. Function: CObjectiveManager::StartNextObjective
  5176. Signature: void CObjectiveManager::StartNextObjective()
  5177. Description: Starts next objective on the chain.
  5178.  
  5179. Function: COverlord_Wave_Controller::CouldJoinServerAndSpawn
  5180. Signature: bool COverlord_Wave_Controller::CouldJoinServerAndSpawn()
  5181. Description: Returns true if players are able to spawn after joining the server.
  5182.  
  5183. Function: COverlord_Wave_Controller::DidComplete
  5184. Signature: bool COverlord_Wave_Controller::DidComplete()
  5185. Description: Returns true if completed.
  5186.  
  5187. Function: COverlord_Wave_Controller::DidFail
  5188. Signature: bool COverlord_Wave_Controller::DidFail()
  5189. Description: Returns true if failed.
  5190.  
  5191. Function: COverlord_Wave_Controller::GetNPCsKilled
  5192. Signature: int COverlord_Wave_Controller::GetNPCsKilled()
  5193. Description: Returns count of NPCs killed.
  5194.  
  5195. Function: COverlord_Wave_Controller::GetNPCsSpawned
  5196. Signature: int COverlord_Wave_Controller::GetNPCsSpawned()
  5197. Description: Returns count of NPCs spawned.
  5198.  
  5199. Function: COverlord_Wave_Controller::GetStopWaveNumber
  5200. Signature: int COverlord_Wave_Controller::GetStopWaveNumber()
  5201. Description: Get stop wave number.
  5202.  
  5203. Function: COverlord_Wave_Controller::GetWaveNumber
  5204. Signature: int COverlord_Wave_Controller::GetWaveNumber()
  5205. Description: Get current wave number.
  5206.  
  5207. Function: COverlord_Wave_Controller::GetWaveProgressPercent
  5208. Signature: float COverlord_Wave_Controller::GetWaveProgressPercent()
  5209. Description: Returns percentage of current wave progress.
  5210.  
  5211. Function: COverlord_Wave_Controller::IsCurrentWaveResupply
  5212. Signature: bool COverlord_Wave_Controller::IsCurrentWaveResupply()
  5213. Description: Returns true if current wave is resupply wave.
  5214.  
  5215. Function: COverlord_Wave_Controller::IsWaveResupply
  5216. Signature: bool COverlord_Wave_Controller::IsWaveResupply(int)
  5217. Description: Returns true if waveNum is resupply wave.
  5218.  
  5219. Function: COverlord_Wave_Controller::ResetPlayerTokens
  5220. Signature: void COverlord_Wave_Controller::ResetPlayerTokens()
  5221. Description: Resets respawn tokens on all players.
  5222.  
  5223. Function: CRagdollProp::GetRagdollObject
  5224. Signature: handle CRagdollProp::GetRagdollObject(int)
  5225. Description: Gets the ragdoll object of the specified index.
  5226.  
  5227. Function: CRagdollProp::GetRagdollObjectCount
  5228. Signature: int CRagdollProp::GetRagdollObjectCount()
  5229. Description: Gets the number of ragdoll objects on this ragdoll.
  5230.  
  5231. Function: CRagdollProp::SetSourceClassName
  5232. Signature: void CRagdollProp::SetSourceClassName(string)
  5233. Description: Sets the ragdoll's source classname.
  5234.  
  5235. Function: CRulesetManager::ApplyCvars
  5236. Signature: void CRulesetManager::ApplyCvars(string)
  5237. Description: Applies cvars by string in "<cvar> <value>" format, and optionally with ';' delimiter for multiple cvars.
  5238.  
  5239. Function: CRulesetManager::RevertCvar
  5240. Signature: void CRulesetManager::RevertCvar(string)
  5241. Description: Reverts cvar by name to ruleset value (when available), or default.
  5242.  
  5243. Function: CSceneEntity::EstimateLength
  5244. Signature: float CSceneEntity::EstimateLength()
  5245. Description: Returns length of this scene in seconds.
  5246.  
  5247. Function: CSceneEntity::FindNamedEntity
  5248. Signature: handle CSceneEntity::FindNamedEntity(string)
  5249. Description: given an entity reference, such as !target, get actual entity from scene object
  5250.  
  5251. Function: CSceneEntity::IsPaused
  5252. Signature: bool CSceneEntity::IsPaused()
  5253. Description: If this scene is currently paused.
  5254.  
  5255. Function: CSceneEntity::IsPlayingBack
  5256. Signature: bool CSceneEntity::IsPlayingBack()
  5257. Description: If this scene is currently playing.
  5258.  
  5259. Function: CSceneEntity::LoadSceneFromString
  5260. Signature: bool CSceneEntity::LoadSceneFromString(string, string)
  5261. Description: given a dummy scene name and a vcd string, load the scene
  5262.  
  5263. Function: CSceneListManager::GetScene
  5264. Signature: handle CSceneListManager::GetScene(int)
  5265. Description: Gets the specified scene index from this manager.
  5266.  
  5267. Function: CScriptKeyValues::FindKey
  5268. Signature: handle CScriptKeyValues::FindKey(string)
  5269. Description: Given a KeyValues object and a key name, find a KeyValues object associated with the key name
  5270.  
  5271. Function: CScriptKeyValues::FindOrCreateKey
  5272. Signature: handle CScriptKeyValues::FindOrCreateKey(string)
  5273. Description: Given a KeyValues object and a key name, find or create a KeyValues object associated with the key name
  5274.  
  5275. Function: CScriptKeyValues::GetBool
  5276. Signature: bool CScriptKeyValues::GetBool()
  5277. Description: Given a KeyValues object, return its own associated bool value
  5278.  
  5279. Function: CScriptKeyValues::GetFirstSubKey
  5280. Signature: handle CScriptKeyValues::GetFirstSubKey()
  5281. Description: Given a KeyValues object, return the first sub key object
  5282.  
  5283. Function: CScriptKeyValues::GetFloat
  5284. Signature: float CScriptKeyValues::GetFloat()
  5285. Description: Given a KeyValues object, return its own associated float value
  5286.  
  5287. Function: CScriptKeyValues::GetInt
  5288. Signature: int CScriptKeyValues::GetInt()
  5289. Description: Given a KeyValues object, return its own associated integer value
  5290.  
  5291. Function: CScriptKeyValues::GetKeyBool
  5292. Signature: bool CScriptKeyValues::GetKeyBool(string)
  5293. Description: Given a KeyValues object and a key name, return associated bool value
  5294.  
  5295. Function: CScriptKeyValues::GetKeyFloat
  5296. Signature: float CScriptKeyValues::GetKeyFloat(string)
  5297. Description: Given a KeyValues object and a key name, return associated float value
  5298.  
  5299. Function: CScriptKeyValues::GetKeyInt
  5300. Signature: int CScriptKeyValues::GetKeyInt(string)
  5301. Description: Given a KeyValues object and a key name, return associated integer value
  5302.  
  5303. Function: CScriptKeyValues::GetKeyString
  5304. Signature: string CScriptKeyValues::GetKeyString(string)
  5305. Description: Given a KeyValues object and a key name, return associated string value
  5306.  
  5307. Function: CScriptKeyValues::GetName
  5308. Signature: string CScriptKeyValues::GetName()
  5309. Description: Given a KeyValues object, return its name
  5310.  
  5311. Function: CScriptKeyValues::GetNextKey
  5312. Signature: handle CScriptKeyValues::GetNextKey()
  5313. Description: Given a KeyValues object, return the next key object in a sub key group
  5314.  
  5315. Function: CScriptKeyValues::GetString
  5316. Signature: string CScriptKeyValues::GetString()
  5317. Description: Given a KeyValues object, return its own associated string value
  5318.  
  5319. Function: CScriptKeyValues::IsKeyEmpty
  5320. Signature: bool CScriptKeyValues::IsKeyEmpty(string)
  5321. Description: Given a KeyValues object and a key name, return true if key name has no value
  5322.  
  5323. Function: CScriptKeyValues::ReleaseKeyValues
  5324. Signature: void CScriptKeyValues::ReleaseKeyValues()
  5325. Description: Given a root KeyValues object, release its contents
  5326.  
  5327. Function: CScriptKeyValues::SetBool
  5328. Signature: void CScriptKeyValues::SetBool(bool)
  5329. Description: Given a KeyValues object, set its own associated bool value
  5330.  
  5331. Function: CScriptKeyValues::SetFloat
  5332. Signature: void CScriptKeyValues::SetFloat(float)
  5333. Description: Given a KeyValues object, set its own associated float value
  5334.  
  5335. Function: CScriptKeyValues::SetInt
  5336. Signature: void CScriptKeyValues::SetInt(int)
  5337. Description: Given a KeyValues object, set its own associated integer value
  5338.  
  5339. Function: CScriptKeyValues::SetKeyBool
  5340. Signature: void CScriptKeyValues::SetKeyBool(string, bool)
  5341. Description: Given a KeyValues object and a key name, set associated bool value
  5342.  
  5343. Function: CScriptKeyValues::SetKeyFloat
  5344. Signature: void CScriptKeyValues::SetKeyFloat(string, float)
  5345. Description: Given a KeyValues object and a key name, set associated float value
  5346.  
  5347. Function: CScriptKeyValues::SetKeyInt
  5348. Signature: void CScriptKeyValues::SetKeyInt(string, int)
  5349. Description: Given a KeyValues object and a key name, set associated integer value
  5350.  
  5351. Function: CScriptKeyValues::SetKeyString
  5352. Signature: void CScriptKeyValues::SetKeyString(string, string)
  5353. Description: Given a KeyValues object and a key name, set associated string value
  5354.  
  5355. Function: CScriptKeyValues::SetName
  5356. Signature: void CScriptKeyValues::SetName(string)
  5357. Description: Given a KeyValues object, set its name
  5358.  
  5359. Function: CScriptKeyValues::SetString
  5360. Signature: void CScriptKeyValues::SetString(string)
  5361. Description: Given a KeyValues object, set its own associated string value
  5362.  
  5363. Function: CScriptKeyValues::SubKeysToTable
  5364. Signature: void CScriptKeyValues::SubKeysToTable(handle)
  5365. Description: Converts to script table.
  5366.  
  5367. Function: CScriptKeyValues::TableToSubKeys
  5368. Signature: void CScriptKeyValues::TableToSubKeys(handle)
  5369. Description: Converts a script table to KeyValues.
  5370.  
  5371. Function: CSound::DoesSoundExpire
  5372. Signature: bool CSound::DoesSoundExpire()
  5373. Description: Returns true if the sound expires.
  5374.  
  5375. Function: CSound::GetOwner
  5376. Signature: handle CSound::GetOwner()
  5377. Description: Gets the sound's owner.
  5378.  
  5379. Function: CSound::GetSoundOrigin
  5380. Signature: Vector CSound::GetSoundOrigin()
  5381. Description: Gets the sound's origin.
  5382.  
  5383. Function: CSound::GetSoundReactOrigin
  5384. Signature: Vector CSound::GetSoundReactOrigin()
  5385. Description: Gets the sound's react origin.
  5386.  
  5387. Function: CSound::GetTarget
  5388. Signature: handle CSound::GetTarget()
  5389. Description: Gets the sound's target.
  5390.  
  5391. Function: CSound::IsScent
  5392. Signature: bool CSound::IsScent()
  5393. Description: Returns true if this is a type of scent (as opposed to a sound).
  5394.  
  5395. Function: CSound::IsSound
  5396. Signature: bool CSound::IsSound()
  5397. Description: Returns true if this is a type of sound (as opposed to a scent).
  5398.  
  5399. Function: CSound::IsSoundType
  5400. Signature: bool CSound::IsSoundType(int)
  5401. Description: Returns true if the sound type is the specified type.
  5402.  
  5403. Function: CSound::OccludedVolume
  5404. Signature: float CSound::OccludedVolume()
  5405. Description: Gets the sound's occluded volume.
  5406.  
  5407. Function: CSound::Reset
  5408. Signature: void CSound::Reset()
  5409. Description: Clears the volume, type, and origin for the sound without actually removing it.
  5410.  
  5411. Function: CSound::SetSoundOrigin
  5412. Signature: void CSound::SetSoundOrigin(Vector)
  5413. Description: Sets the sound's origin.
  5414.  
  5415. Function: CSound::SoundChannel
  5416. Signature: int CSound::SoundChannel()
  5417. Description: Gets the sound's channel.
  5418.  
  5419. Function: CSound::SoundContext
  5420. Signature: int CSound::SoundContext()
  5421. Description: Gets the sound type with contexts only.
  5422.  
  5423. Function: CSound::SoundExpirationTime
  5424. Signature: float CSound::SoundExpirationTime()
  5425. Description: Gets the sound's expiration time.
  5426.  
  5427. Function: CSound::SoundType
  5428. Signature: int CSound::SoundType()
  5429. Description: Gets the raw sound type.
  5430.  
  5431. Function: CSound::SoundTypeNoContext
  5432. Signature: int CSound::SoundTypeNoContext()
  5433. Description: Gets the sound type with contexts excluded.
  5434.  
  5435. Function: CSound::ValidateOwner
  5436. Signature: bool CSound::ValidateOwner()
  5437. Description: Returns true if the sound's owner is still valid or if the sound never had an owner in the first place.
  5438.  
  5439. Function: CSound::Volume
  5440. Signature: int CSound::Volume()
  5441. Description: Gets the sound's volume.
  5442.  
  5443. Function: CTakeDamageInfo::AddDamage
  5444. Signature: void CTakeDamageInfo::AddDamage(float)
  5445. Description: Adds to the damage.
  5446.  
  5447. Function: CTakeDamageInfo::AddDamageType
  5448. Signature: void CTakeDamageInfo::AddDamageType(int)
  5449. Description: Adds to the damage type.
  5450.  
  5451. Function: CTakeDamageInfo::BaseDamageIsValid
  5452. Signature: bool CTakeDamageInfo::BaseDamageIsValid()
  5453. Description: Checks if the base damage is valid.
  5454.  
  5455. Function: CTakeDamageInfo::GetAmmoName
  5456. Signature: string CTakeDamageInfo::GetAmmoName()
  5457. Description: Gets the ammo type name.
  5458.  
  5459. Function: CTakeDamageInfo::GetAmmoType
  5460. Signature: int CTakeDamageInfo::GetAmmoType()
  5461. Description: Gets the ammo type.
  5462.  
  5463. Function: CTakeDamageInfo::GetAttacker
  5464. Signature: handle CTakeDamageInfo::GetAttacker()
  5465. Description: Gets the attacker.
  5466.  
  5467. Function: CTakeDamageInfo::GetBaseDamage
  5468. Signature: float CTakeDamageInfo::GetBaseDamage()
  5469. Description: Gets the base damage.
  5470.  
  5471. Function: CTakeDamageInfo::GetDamage
  5472. Signature: float CTakeDamageInfo::GetDamage()
  5473. Description: Gets the damage.
  5474.  
  5475. Function: CTakeDamageInfo::GetDamageBonus
  5476. Signature: float CTakeDamageInfo::GetDamageBonus()
  5477. Description: Gets the damage bonus.
  5478.  
  5479. Function: CTakeDamageInfo::GetDamageCustom
  5480. Signature: int CTakeDamageInfo::GetDamageCustom()
  5481. Description: Gets the damage custom.
  5482.  
  5483. Function: CTakeDamageInfo::GetDamageForce
  5484. Signature: Vector CTakeDamageInfo::GetDamageForce()
  5485. Description: Gets the damage force.
  5486.  
  5487. Function: CTakeDamageInfo::GetDamagePosition
  5488. Signature: Vector CTakeDamageInfo::GetDamagePosition()
  5489. Description: Gets the damage position.
  5490.  
  5491. Function: CTakeDamageInfo::GetDamageStats
  5492. Signature: int CTakeDamageInfo::GetDamageStats()
  5493. Description: Gets the damage stats.
  5494.  
  5495. Function: CTakeDamageInfo::GetDamageType
  5496. Signature: int CTakeDamageInfo::GetDamageType()
  5497. Description: Gets the damage type.
  5498.  
  5499. Function: CTakeDamageInfo::GetDamagedOtherPlayers
  5500. Signature: int CTakeDamageInfo::GetDamagedOtherPlayers()
  5501. Description: Gets whether other players have been damaged.
  5502.  
  5503. Function: CTakeDamageInfo::GetInflictor
  5504. Signature: handle CTakeDamageInfo::GetInflictor()
  5505. Description: Gets the inflictor.
  5506.  
  5507. Function: CTakeDamageInfo::GetMaxDamage
  5508. Signature: float CTakeDamageInfo::GetMaxDamage()
  5509. Description: Gets the max damage.
  5510.  
  5511. Function: CTakeDamageInfo::GetPlayerPenetrationCount
  5512. Signature: int CTakeDamageInfo::GetPlayerPenetrationCount()
  5513. Description: Gets the player penetration count.
  5514.  
  5515. Function: CTakeDamageInfo::GetReportedPosition
  5516. Signature: Vector CTakeDamageInfo::GetReportedPosition()
  5517. Description: Gets the reported damage position.
  5518.  
  5519. Function: CTakeDamageInfo::GetWeapon
  5520. Signature: handle CTakeDamageInfo::GetWeapon()
  5521. Description: Gets the weapon.
  5522.  
  5523. Function: CTakeDamageInfo::IsForceFriendlyFire
  5524. Signature: bool CTakeDamageInfo::IsForceFriendlyFire()
  5525. Description: Gets force friendly fire.
  5526.  
  5527. Function: CTakeDamageInfo::ScaleDamage
  5528. Signature: void CTakeDamageInfo::ScaleDamage(float)
  5529. Description: Scales the damage.
  5530.  
  5531. Function: CTakeDamageInfo::ScaleDamageForce
  5532. Signature: void CTakeDamageInfo::ScaleDamageForce(float)
  5533. Description: Scales the damage force.
  5534.  
  5535. Function: CTakeDamageInfo::SetAmmoType
  5536. Signature: void CTakeDamageInfo::SetAmmoType(int)
  5537. Description: Sets the ammo type.
  5538.  
  5539. Function: CTakeDamageInfo::SetAttacker
  5540. Signature: void CTakeDamageInfo::SetAttacker(handle)
  5541. Description: Sets the attacker.
  5542.  
  5543. Function: CTakeDamageInfo::SetDamage
  5544. Signature: void CTakeDamageInfo::SetDamage(float)
  5545. Description: Sets the damage.
  5546.  
  5547. Function: CTakeDamageInfo::SetDamageBonus
  5548. Signature: void CTakeDamageInfo::SetDamageBonus(float)
  5549. Description: Sets the damage bonus.
  5550.  
  5551. Function: CTakeDamageInfo::SetDamageBonusWithProvider
  5552. Signature: void CTakeDamageInfo::SetDamageBonusWithProvider(float, handle)
  5553. Description: Sets the damage bonus.
  5554.  
  5555. Function: CTakeDamageInfo::SetDamageCustom
  5556. Signature: void CTakeDamageInfo::SetDamageCustom(int)
  5557. Description: Sets the damage custom.
  5558.  
  5559. Function: CTakeDamageInfo::SetDamageForce
  5560. Signature: void CTakeDamageInfo::SetDamageForce(Vector)
  5561. Description: Sets the damage force.
  5562.  
  5563. Function: CTakeDamageInfo::SetDamagePosition
  5564. Signature: void CTakeDamageInfo::SetDamagePosition(Vector)
  5565. Description: Sets the damage position.
  5566.  
  5567. Function: CTakeDamageInfo::SetDamageStats
  5568. Signature: void CTakeDamageInfo::SetDamageStats(int)
  5569. Description: Sets the damage stats.
  5570.  
  5571. Function: CTakeDamageInfo::SetDamageType
  5572. Signature: void CTakeDamageInfo::SetDamageType(int)
  5573. Description: Sets the damage type.
  5574.  
  5575. Function: CTakeDamageInfo::SetDamagedOtherPlayers
  5576. Signature: void CTakeDamageInfo::SetDamagedOtherPlayers(int)
  5577. Description: Sets whether other players have been damaged.
  5578.  
  5579. Function: CTakeDamageInfo::SetForceFriendlyFire
  5580. Signature: void CTakeDamageInfo::SetForceFriendlyFire(bool)
  5581. Description: Sets force friendly fire.
  5582.  
  5583. Function: CTakeDamageInfo::SetInflictor
  5584. Signature: void CTakeDamageInfo::SetInflictor(handle)
  5585. Description: Sets the inflictor.
  5586.  
  5587. Function: CTakeDamageInfo::SetMaxDamage
  5588. Signature: void CTakeDamageInfo::SetMaxDamage(float)
  5589. Description: Sets the max damage.
  5590.  
  5591. Function: CTakeDamageInfo::SetPlayerPenetrationCount
  5592. Signature: void CTakeDamageInfo::SetPlayerPenetrationCount(int)
  5593. Description: Sets the player penetration count.
  5594.  
  5595. Function: CTakeDamageInfo::SetReportedPosition
  5596. Signature: void CTakeDamageInfo::SetReportedPosition(Vector)
  5597. Description: Sets the reported damage position.
  5598.  
  5599. Function: CTakeDamageInfo::SetWeapon
  5600. Signature: void CTakeDamageInfo::SetWeapon(handle)
  5601. Description: Sets the weapon.
  5602.  
  5603. Function: CTakeDamageInfo::SubtractDamage
  5604. Signature: void CTakeDamageInfo::SubtractDamage(float)
  5605. Description: Removes from the damage.
  5606.  
  5607. Function: CUserCmd::GetButtons
  5608. Signature: int CUserCmd::GetButtons()
  5609. Description: Input button state.
  5610.  
  5611. Function: CUserCmd::GetCommandNumber
  5612. Signature: int CUserCmd::GetCommandNumber()
  5613. Description: For matching server and client commands for debugging.
  5614.  
  5615. Function: CUserCmd::GetForwardMove
  5616. Signature: float CUserCmd::GetForwardMove()
  5617.  
  5618. Function: CUserCmd::GetImpulse
  5619. Signature: int CUserCmd::GetImpulse()
  5620. Description: Impulse command issued.
  5621.  
  5622. Function: CUserCmd::GetMouseX
  5623. Signature: int CUserCmd::GetMouseX()
  5624. Description: Mouse accum in x from create move.
  5625.  
  5626. Function: CUserCmd::GetMouseY
  5627. Signature: int CUserCmd::GetMouseY()
  5628. Description: Mouse accum in y from create move.
  5629.  
  5630. Function: CUserCmd::GetRandomSeed
  5631. Signature: int CUserCmd::GetRandomSeed()
  5632. Description: For shared random functions.
  5633.  
  5634. Function: CUserCmd::GetSideMove
  5635. Signature: float CUserCmd::GetSideMove()
  5636.  
  5637. Function: CUserCmd::GetTickCount
  5638. Signature: int CUserCmd::GetTickCount()
  5639. Description: The tick the client created this command.
  5640.  
  5641. Function: CUserCmd::GetUpMove
  5642. Signature: float CUserCmd::GetUpMove()
  5643.  
  5644. Function: CUserCmd::GetViewAngles
  5645. Signature: Vector CUserCmd::GetViewAngles()
  5646. Description: Player instantaneous view angles.
  5647.  
  5648. Function: CUserCmd::GetWeaponSelect
  5649. Signature: int CUserCmd::GetWeaponSelect()
  5650. Description: Current weapon id.
  5651.  
  5652. Function: CUserCmd::GetWeaponSubtype
  5653. Signature: int CUserCmd::GetWeaponSubtype()
  5654. Description: Current weapon subtype id.
  5655.  
  5656. Function: CUserCmd::SetButtons
  5657. Signature: void CUserCmd::SetButtons(int)
  5658. Description: Sets input button state.
  5659.  
  5660. Function: CUserCmd::SetForwardMove
  5661. Signature: void CUserCmd::SetForwardMove(float)
  5662.  
  5663. Function: CUserCmd::SetImpulse
  5664. Signature: void CUserCmd::SetImpulse(int)
  5665. Description: Sets impulse command issued.
  5666.  
  5667. Function: CUserCmd::SetMouseX
  5668. Signature: void CUserCmd::SetMouseX(int)
  5669. Description: Sets mouse accum in x from create move.
  5670.  
  5671. Function: CUserCmd::SetMouseY
  5672. Signature: void CUserCmd::SetMouseY(int)
  5673. Description: Sets mouse accum in y from create move.
  5674.  
  5675. Function: CUserCmd::SetSideMove
  5676. Signature: void CUserCmd::SetSideMove(float)
  5677.  
  5678. Function: CUserCmd::SetUpMove
  5679. Signature: void CUserCmd::SetUpMove(float)
  5680.  
  5681. Function: CUserCmd::SetViewAngles
  5682. Signature: void CUserCmd::SetViewAngles(Vector)
  5683. Description: Sets player instantaneous view angles.
  5684.  
  5685. Function: CUserCmd::SetWeaponSelect
  5686. Signature: void CUserCmd::SetWeaponSelect(int)
  5687. Description: Sets current weapon id.
  5688.  
  5689. Function: CUserCmd::SetWeaponSubtype
  5690. Signature: void CUserCmd::SetWeaponSubtype(int)
  5691. Description: Sets current weapon subtype id.
  5692.  
  5693. Function: CVersion::GetBuildDate
  5694. Signature: string CVersion::GetBuildDate()
  5695. Description: Returns build date.
  5696.  
  5697. Function: CVersion::GetBuildNumber
  5698. Signature: int CVersion::GetBuildNumber()
  5699. Description: Returns build number.
  5700.  
  5701. Function: CVersion::GetGameTitle
  5702. Signature: string CVersion::GetGameTitle()
  5703. Description: Returns game title.
  5704.  
  5705. Function: CVersion::GetVersionLabel
  5706. Signature: string CVersion::GetVersionLabel()
  5707. Description: Returns version label.
  5708.  
  5709. Function: CalcClosestPointOnAABB
  5710. Signature: Vector CalcClosestPointOnAABB(Vector, Vector, Vector)
  5711. Description: Returns the closest point on a bounding box.
  5712.  
  5713. Function: CalcClosestPointOnLine
  5714. Signature: Vector CalcClosestPointOnLine(Vector, Vector, Vector)
  5715. Description: Returns the closest point on a line.
  5716.  
  5717. Function: CalcClosestPointOnLineSegment
  5718. Signature: Vector CalcClosestPointOnLineSegment(Vector, Vector, Vector)
  5719. Description: Returns the closest point on a line segment.
  5720.  
  5721. Function: CalcDistanceToLine
  5722. Signature: float CalcDistanceToLine(Vector, Vector, Vector)
  5723. Description: Returns the distance to a line.
  5724.  
  5725. Function: CalcDistanceToLineSegment
  5726. Signature: float CalcDistanceToLineSegment(Vector, Vector, Vector)
  5727. Description: Returns the distance to a line segment.
  5728.  
  5729. Function: CalcSqrDistanceToAABB
  5730. Signature: float CalcSqrDistanceToAABB(Vector, Vector, Vector)
  5731. Description: Returns the squared distance to a bounding box.
  5732.  
  5733. Function: CalculateBulletDamageForce
  5734. Signature: void CalculateBulletDamageForce(handle, int, Vector, Vector, float)
  5735. Description: Fill out a damage info handle with a damage force for a bullet impact.
  5736.  
  5737. Function: CalculateExplosiveDamageForce
  5738. Signature: void CalculateExplosiveDamageForce(handle, Vector, Vector, float)
  5739. Description: Fill out a damage info handle with a damage force for an explosive.
  5740.  
  5741. Function: CalculateMeleeDamageForce
  5742. Signature: void CalculateMeleeDamageForce(handle, Vector, Vector, float)
  5743. Description: Fill out a damage info handle with a damage force for a melee impact.
  5744.  
  5745. Function: Color::GetRawColor
  5746. Signature: int Color::GetRawColor()
  5747. Description: Gets the raw color integer.
  5748.  
  5749. Function: Color::SetColor
  5750. Signature: void Color::SetColor(int, int, int, int)
  5751. Description: Sets the color.
  5752.  
  5753. Function: Color::SetRawColor
  5754. Signature: void Color::SetRawColor(int)
  5755. Description: Sets the raw color integer.
  5756.  
  5757. Function: ConcatTransforms
  5758. Signature: void ConcatTransforms(handle, handle, handle)
  5759. Description: Concatenates two transformation matrices into another matrix.
  5760.  
  5761. Function: CreateDamageInfo
  5762. Signature: handle CreateDamageInfo(handle, handle, Vector, Vector, float, int)
  5763.  
  5764. Function: CreateFireBulletsInfo
  5765. Signature: handle CreateFireBulletsInfo(int, Vector, Vector, Vector, float, handle)
  5766.  
  5767. Function: CreateProp
  5768. Signature: handle CreateProp(string, Vector, string, int)
  5769. Description: Create a physics prop
  5770.  
  5771. Function: CreateRope
  5772. Signature: handle CreateRope(handle, handle, int, int, float, string, int, int)
  5773. Description: Creates a single rope between two entities. Can optionally follow specific attachments.
  5774.  
  5775. Function: DebugDrawBox
  5776. Signature: void DebugDrawBox(Vector, Vector, Vector, int, int, int, int, float)
  5777. Description: Draw a debug overlay box
  5778.  
  5779. Function: DebugDrawLine
  5780. Signature: void DebugDrawLine(Vector, Vector, int, int, int, bool, float)
  5781. Description: Draw a debug overlay box
  5782.  
  5783. Function: DecalTrace
  5784. Signature: void DecalTrace(handle, string)
  5785. 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.
  5786.  
  5787. Function: DestroyDamageInfo
  5788. Signature: void DestroyDamageInfo(handle)
  5789.  
  5790. Function: DestroyFireBulletsInfo
  5791. Signature: void DestroyFireBulletsInfo(handle)
  5792.  
  5793. Function: DispatchParticleEffect
  5794. Signature: function DispatchParticleEffect(particleName, origin, angles, entity)
  5795. Description: Dispatches a one-off particle system
  5796.  
  5797. Function: DispatchSpawn
  5798. Signature: void DispatchSpawn(handle)
  5799. Description: Spawns an unspawned entity.
  5800.  
  5801. Function: DoIncludeScript
  5802. Signature: bool DoIncludeScript(string, handle)
  5803. Description: Execute a script (internal)
  5804.  
  5805. Function: EmitSoundOn
  5806. Signature: void EmitSoundOn(string, handle)
  5807. Description: Play named sound on an entity.
  5808.  
  5809. Function: EmitSoundOnClient
  5810. Signature: void EmitSoundOnClient(string, handle, handle)
  5811. Description: Play named sound only on the client for the specified player.
  5812.  
  5813. Function: EmitSoundParamsOn
  5814. Signature: void EmitSoundParamsOn(handle, handle)
  5815. Description: Play EmitSound_t params on an entity.
  5816.  
  5817. Function: EmitSound_t::ClearOrigin
  5818. Signature: void EmitSound_t::ClearOrigin()
  5819. Description: Clears the sound's origin override if it has one.
  5820.  
  5821. Function: EmitSound_t::GetChannel
  5822. Signature: int EmitSound_t::GetChannel()
  5823.  
  5824. Function: EmitSound_t::GetEmitCloseCaption
  5825. Signature: float EmitSound_t::GetEmitCloseCaption()
  5826. Description: Gets whether or not the sound will emit closed captioning/subtitles.
  5827.  
  5828. Function: EmitSound_t::GetFlags
  5829. Signature: int EmitSound_t::GetFlags()
  5830. Description: Gets the sound's flags. See the 'SND_' set of constants.
  5831.  
  5832. Function: EmitSound_t::GetOrigin
  5833. Signature: Vector EmitSound_t::GetOrigin()
  5834. Description: Gets the sound's origin override.
  5835.  
  5836. Function: EmitSound_t::GetSoundLevel
  5837. Signature: int EmitSound_t::GetSoundLevel()
  5838. Description: Gets the sound's level in decibels. (Note that this may not apply to soundscripts)
  5839.  
  5840. Function: EmitSound_t::GetSoundName
  5841. Signature: string EmitSound_t::GetSoundName()
  5842. Description: Gets the sound's file path or soundscript name.
  5843.  
  5844. Function: EmitSound_t::GetSoundScriptHandle
  5845. Signature: int EmitSound_t::GetSoundScriptHandle()
  5846.  
  5847. Function: EmitSound_t::GetSoundTime
  5848. Signature: float EmitSound_t::GetSoundTime()
  5849. Description: Gets the time the sound will begin, relative to Time().
  5850.  
  5851. Function: EmitSound_t::GetSpeakerEntity
  5852. Signature: int EmitSound_t::GetSpeakerEntity()
  5853. Description: Gets the sound's original source if it is being transmitted by a microphone.
  5854.  
  5855. Function: EmitSound_t::GetSpecialDSP
  5856. Signature: int EmitSound_t::GetSpecialDSP()
  5857.  
  5858. Function: EmitSound_t::GetVolume
  5859. Signature: float EmitSound_t::GetVolume()
  5860. Description: (Note that this may not apply to soundscripts)
  5861.  
  5862. Function: EmitSound_t::GetWarnOnDirectWaveReference
  5863. Signature: float EmitSound_t::GetWarnOnDirectWaveReference()
  5864. 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.
  5865.  
  5866. Function: EmitSound_t::GetWarnOnMissingCloseCaption
  5867. Signature: float EmitSound_t::GetWarnOnMissingCloseCaption()
  5868. Description: Gets whether or not the sound will send a message to the console if there is no corresponding closed captioning token.
  5869.  
  5870. Function: EmitSound_t::HasOrigin
  5871. Signature: bool EmitSound_t::HasOrigin()
  5872. Description: Returns true if the sound has an origin override.
  5873.  
  5874. Function: EmitSound_t::SetChannel
  5875. Signature: void EmitSound_t::SetChannel(int)
  5876.  
  5877. Function: EmitSound_t::SetEmitCloseCaption
  5878. Signature: void EmitSound_t::SetEmitCloseCaption(bool)
  5879. Description: Sets whether or not the sound will emit closed captioning/subtitles.
  5880.  
  5881. Function: EmitSound_t::SetFlags
  5882. Signature: void EmitSound_t::SetFlags(int)
  5883. Description: Sets the sound's flags. See the 'SND_' set of constants.
  5884.  
  5885. Function: EmitSound_t::SetOrigin
  5886. Signature: void EmitSound_t::SetOrigin(Vector)
  5887. Description: Sets the sound's origin override.
  5888.  
  5889. Function: EmitSound_t::SetSoundLevel
  5890. Signature: void EmitSound_t::SetSoundLevel(int)
  5891. Description: Sets the sound's level in decibels. (Note that this may not apply to soundscripts)
  5892.  
  5893. Function: EmitSound_t::SetSoundName
  5894. Signature: void EmitSound_t::SetSoundName(string)
  5895. Description: Sets the sound's file path or soundscript name.
  5896.  
  5897. Function: EmitSound_t::SetSoundScriptHandle
  5898. Signature: void EmitSound_t::SetSoundScriptHandle(int)
  5899.  
  5900. Function: EmitSound_t::SetSoundTime
  5901. Signature: void EmitSound_t::SetSoundTime(float)
  5902. Description: Sets the time the sound will begin, relative to Time().
  5903.  
  5904. Function: EmitSound_t::SetSpeakerEntity
  5905. Signature: void EmitSound_t::SetSpeakerEntity(int)
  5906. Description: Sets the sound's original source if it is being transmitted by a microphone.
  5907.  
  5908. Function: EmitSound_t::SetSpecialDSP
  5909. Signature: void EmitSound_t::SetSpecialDSP(int)
  5910.  
  5911. Function: EmitSound_t::SetVolume
  5912. Signature: void EmitSound_t::SetVolume(float)
  5913. Description: (Note that this may not apply to soundscripts)
  5914.  
  5915. Function: EmitSound_t::SetWarnOnDirectWaveReference
  5916. Signature: void EmitSound_t::SetWarnOnDirectWaveReference(bool)
  5917. 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.
  5918.  
  5919. Function: EmitSound_t::SetWarnOnMissingCloseCaption
  5920. Signature: void EmitSound_t::SetWarnOnMissingCloseCaption(bool)
  5921. Description: Sets whether or not the sound will send a message to the console if there is no corresponding closed captioning token.
  5922.  
  5923. Function: EntFire
  5924. Signature: function EntFire(target, action, value, delay, activator, caller)
  5925. Description: Generate an entity i/o event
  5926.  
  5927. Function: EntFireByHandle
  5928. Signature: function EntFireByHandle(target, action, value, delay, activator, caller)
  5929. Description: Generate an entity i/o event. First parameter is an entity instance.
  5930.  
  5931. Function: EntIndexToHScript
  5932. Signature: handle EntIndexToHScript(int)
  5933. Description: Returns the script handle for the given entity index.
  5934.  
  5935. Function: EntitiesAtPoint
  5936. Signature: void EntitiesAtPoint(handle, int, Vector, int)
  5937. Description: Gets all entities which are intersecting a point in space. This function copies them to an array with a maximum number of elements.
  5938.  
  5939. Function: EntitiesInBox
  5940. Signature: void EntitiesInBox(handle, int, Vector, Vector, int)
  5941. Description: Gets all entities which are within a worldspace box. This function copies them to an array with a maximum number of elements.
  5942.  
  5943. Function: EntitiesInSphere
  5944. Signature: void EntitiesInSphere(handle, int, Vector, float, int)
  5945. Description: Gets all entities which are within a sphere. This function copies them to an array with a maximum number of elements.
  5946.  
  5947. Function: ExponentialDecay
  5948. Signature: float ExponentialDecay(float, float, float)
  5949. Description: decayTo is factor the value should decay to in decayTime
  5950.  
  5951. Function: FLerp
  5952. Signature: float FLerp(float, float, float, float, float)
  5953.  
  5954. Function: FileToKeyValues
  5955. Signature: handle FileToKeyValues(string)
  5956. Description: Returns the CScriptKeyValues from the file, null if no file or file is too big.
  5957.  
  5958. Function: FireBulletsInfo_t::GetAdditionalIgnoreEnt
  5959. Signature: handle FireBulletsInfo_t::GetAdditionalIgnoreEnt()
  5960.  
  5961. Function: FireBulletsInfo_t::GetAmmoType
  5962. Signature: int FireBulletsInfo_t::GetAmmoType()
  5963.  
  5964. Function: FireBulletsInfo_t::GetAttacker
  5965. Signature: handle FireBulletsInfo_t::GetAttacker()
  5966.  
  5967. Function: FireBulletsInfo_t::GetDamage
  5968. Signature: float FireBulletsInfo_t::GetDamage()
  5969. Description: Gets the damage the bullets should deal. 0 = use ammo type
  5970.  
  5971. Function: FireBulletsInfo_t::GetDamageForceScale
  5972. Signature: float FireBulletsInfo_t::GetDamageForceScale()
  5973.  
  5974. Function: FireBulletsInfo_t::GetDirShooting
  5975. Signature: Vector FireBulletsInfo_t::GetDirShooting()
  5976.  
  5977. Function: FireBulletsInfo_t::GetDistance
  5978. Signature: float FireBulletsInfo_t::GetDistance()
  5979. Description: Gets the distance the bullets should travel.
  5980.  
  5981. Function: FireBulletsInfo_t::GetFlags
  5982. Signature: int FireBulletsInfo_t::GetFlags()
  5983. Description: Gets the flags the bullets should use.
  5984.  
  5985. Function: FireBulletsInfo_t::GetPlayerDamage
  5986. Signature: int FireBulletsInfo_t::GetPlayerDamage()
  5987. Description: Gets the damage the bullets should deal when hitting the player. 0 = use regular damage
  5988.  
  5989. Function: FireBulletsInfo_t::GetPrimaryAttack
  5990. Signature: bool FireBulletsInfo_t::GetPrimaryAttack()
  5991. Description: Gets whether the bullets came from a primary attack.
  5992.  
  5993. Function: FireBulletsInfo_t::GetShots
  5994. Signature: int FireBulletsInfo_t::GetShots()
  5995. Description: Gets the number of shots which should be fired.
  5996.  
  5997. Function: FireBulletsInfo_t::GetSource
  5998. Signature: Vector FireBulletsInfo_t::GetSource()
  5999.  
  6000. Function: FireBulletsInfo_t::GetSpread
  6001. Signature: Vector FireBulletsInfo_t::GetSpread()
  6002.  
  6003. Function: FireBulletsInfo_t::GetTracerFreq
  6004. Signature: int FireBulletsInfo_t::GetTracerFreq()
  6005.  
  6006. Function: FireBulletsInfo_t::SetAdditionalIgnoreEnt
  6007. Signature: void FireBulletsInfo_t::SetAdditionalIgnoreEnt(handle)
  6008.  
  6009. Function: FireBulletsInfo_t::SetAmmoType
  6010. Signature: void FireBulletsInfo_t::SetAmmoType(int)
  6011.  
  6012. Function: FireBulletsInfo_t::SetAttacker
  6013. Signature: void FireBulletsInfo_t::SetAttacker(handle)
  6014.  
  6015. Function: FireBulletsInfo_t::SetDamage
  6016. Signature: void FireBulletsInfo_t::SetDamage(float)
  6017. Description: Sets the damage the bullets should deal. 0 = use ammo type
  6018.  
  6019. Function: FireBulletsInfo_t::SetDamageForceScale
  6020. Signature: void FireBulletsInfo_t::SetDamageForceScale(float)
  6021.  
  6022. Function: FireBulletsInfo_t::SetDirShooting
  6023. Signature: void FireBulletsInfo_t::SetDirShooting(Vector)
  6024.  
  6025. Function: FireBulletsInfo_t::SetDistance
  6026. Signature: void FireBulletsInfo_t::SetDistance(float)
  6027. Description: Sets the distance the bullets should travel.
  6028.  
  6029. Function: FireBulletsInfo_t::SetFlags
  6030. Signature: void FireBulletsInfo_t::SetFlags(float)
  6031. Description: Sets the flags the bullets should use.
  6032.  
  6033. Function: FireBulletsInfo_t::SetPlayerDamage
  6034. Signature: void FireBulletsInfo_t::SetPlayerDamage(float)
  6035. Description: Sets the damage the bullets should deal when hitting the player. 0 = use regular damage
  6036.  
  6037. Function: FireBulletsInfo_t::SetPrimaryAttack
  6038. Signature: void FireBulletsInfo_t::SetPrimaryAttack(bool)
  6039. Description: Sets whether the bullets came from a primary attack.
  6040.  
  6041. Function: FireBulletsInfo_t::SetShots
  6042. Signature: void FireBulletsInfo_t::SetShots(int)
  6043. Description: Sets the number of shots which should be fired.
  6044.  
  6045. Function: FireBulletsInfo_t::SetSource
  6046. Signature: void FireBulletsInfo_t::SetSource(Vector)
  6047.  
  6048. Function: FireBulletsInfo_t::SetSpread
  6049. Signature: void FireBulletsInfo_t::SetSpread(Vector)
  6050.  
  6051. Function: FireBulletsInfo_t::SetTracerFreq
  6052. Signature: void FireBulletsInfo_t::SetTracerFreq(int)
  6053.  
  6054. Function: FireGameEvent
  6055. Signature: void FireGameEvent(string, handle)
  6056. Description: Fire a game event.
  6057.  
  6058. Function: FireGameEventLocal
  6059. Signature: void FireGameEventLocal(string, handle)
  6060. Description: Fire a game event without broadcasting to the client.
  6061.  
  6062. Function: FrameTime
  6063. Signature: float FrameTime()
  6064. Description: Get the time spent on the server in the last frame
  6065.  
  6066. Function: FreeMatrixInstance
  6067. Signature: void FreeMatrixInstance(handle)
  6068. Description: Frees an allocated matrix instance.
  6069.  
  6070. Function: FreeQuaternionInstance
  6071. Signature: void FreeQuaternionInstance(handle)
  6072. Description: Frees an allocated quaternion instance.
  6073.  
  6074. Function: Gain
  6075. Signature: float Gain(float, float)
  6076. Description: Gain is similar to Bias, but biasAmt biases towards or away from 0.5.
  6077.  
  6078. Function: GetActivityName
  6079. Signature: string GetActivityName(int)
  6080. Description: Gets the name of the specified activity index.
  6081.  
  6082. Function: GetCPUUsage
  6083. Signature: float GetCPUUsage()
  6084. Description: Get CPU usage percentage.
  6085.  
  6086. Function: GetFrameCount
  6087. Signature: int GetFrameCount()
  6088. Description: Absolute frame counter
  6089.  
  6090. Function: GetLoadType
  6091. Signature: int GetLoadType()
  6092. Description: Get the way the current game was loaded (corresponds to the MapLoad enum)
  6093.  
  6094. Function: GetMapName
  6095. Signature: string GetMapName()
  6096. Description: Get the name of the map.
  6097.  
  6098. Function: GetPhysAngVelocity
  6099. Signature: Vector GetPhysAngVelocity(handle)
  6100. Description: Gets physics angular velocity for the given VPhysics object
  6101.  
  6102. Function: GetPhysVelocity
  6103. Signature: Vector GetPhysVelocity(handle)
  6104. Description: Gets physics velocity for the given VPhysics object
  6105.  
  6106. Function: GetPlayerByIndex
  6107. Signature: handle GetPlayerByIndex(int)
  6108. Description: Returns a handle to a player by index. Only returns if the player is spawned and connected, otherwise returns null.
  6109.  
  6110. Function: GetPlayerByName
  6111. Signature: handle GetPlayerByName(string)
  6112. Description: Returns a handle to a player by name.
  6113.  
  6114. Function: GetPlayerByUserId
  6115. Signature: handle GetPlayerByUserId(int)
  6116. Description: Returns a handle to a player by user id.
  6117.  
  6118. Function: GuessDamageForce
  6119. Signature: void GuessDamageForce(handle, Vector, Vector, float)
  6120. Description: Try and guess the physics force to use.
  6121.  
  6122. Function: IPhysicsObject::ApplyForceCenter
  6123. Signature: void IPhysicsObject::ApplyForceCenter(Vector)
  6124.  
  6125. Function: IPhysicsObject::ApplyForceOffset
  6126. Signature: void IPhysicsObject::ApplyForceOffset(Vector, Vector)
  6127.  
  6128. Function: IPhysicsObject::ApplyTorqueCenter
  6129. Signature: void IPhysicsObject::ApplyTorqueCenter(Vector)
  6130.  
  6131. Function: IPhysicsObject::EnableCollisions
  6132. Signature: void IPhysicsObject::EnableCollisions(bool)
  6133.  
  6134. Function: IPhysicsObject::EnableDrag
  6135. Signature: void IPhysicsObject::EnableDrag(bool)
  6136.  
  6137. Function: IPhysicsObject::EnableGravity
  6138. Signature: void IPhysicsObject::EnableGravity(bool)
  6139.  
  6140. Function: IPhysicsObject::EnableMotion
  6141. Signature: void IPhysicsObject::EnableMotion(bool)
  6142.  
  6143. Function: IPhysicsObject::GetInertia
  6144. Signature: Vector IPhysicsObject::GetInertia()
  6145.  
  6146. Function: IPhysicsObject::GetInvInertia
  6147. Signature: Vector IPhysicsObject::GetInvInertia()
  6148.  
  6149. Function: IPhysicsObject::GetInvMass
  6150. Signature: float IPhysicsObject::GetInvMass()
  6151.  
  6152. Function: IPhysicsObject::GetMass
  6153. Signature: float IPhysicsObject::GetMass()
  6154.  
  6155. Function: IPhysicsObject::GetName
  6156. Signature: string IPhysicsObject::GetName()
  6157.  
  6158. Function: IPhysicsObject::IsAsleep
  6159. Signature: bool IPhysicsObject::IsAsleep()
  6160.  
  6161. Function: IPhysicsObject::IsAttachedToConstraint
  6162. Signature: bool IPhysicsObject::IsAttachedToConstraint(bool)
  6163.  
  6164. Function: IPhysicsObject::IsCollisionEnabled
  6165. Signature: bool IPhysicsObject::IsCollisionEnabled()
  6166.  
  6167. Function: IPhysicsObject::IsDragEnabled
  6168. Signature: bool IPhysicsObject::IsDragEnabled()
  6169.  
  6170. Function: IPhysicsObject::IsFluid
  6171. Signature: bool IPhysicsObject::IsFluid()
  6172.  
  6173. Function: IPhysicsObject::IsGravityEnabled
  6174. Signature: bool IPhysicsObject::IsGravityEnabled()
  6175.  
  6176. Function: IPhysicsObject::IsHinged
  6177. Signature: bool IPhysicsObject::IsHinged()
  6178.  
  6179. Function: IPhysicsObject::IsMotionEnabled
  6180. Signature: bool IPhysicsObject::IsMotionEnabled()
  6181.  
  6182. Function: IPhysicsObject::IsMoveable
  6183. Signature: bool IPhysicsObject::IsMoveable()
  6184.  
  6185. Function: IPhysicsObject::IsStatic
  6186. Signature: bool IPhysicsObject::IsStatic()
  6187.  
  6188. Function: IPhysicsObject::IsTrigger
  6189. Signature: bool IPhysicsObject::IsTrigger()
  6190.  
  6191. Function: IPhysicsObject::SetInertia
  6192. Signature: void IPhysicsObject::SetInertia(Vector)
  6193.  
  6194. Function: IPhysicsObject::SetMass
  6195. Signature: void IPhysicsObject::SetMass(float)
  6196.  
  6197. Function: IPhysicsObject::Sleep
  6198. Signature: void IPhysicsObject::Sleep()
  6199.  
  6200. Function: IPhysicsObject::Wake
  6201. Signature: void IPhysicsObject::Wake()
  6202.  
  6203. Function: InsertAISound
  6204. Signature: void InsertAISound(int, Vector, int, float, handle, int, handle)
  6205. Description: Inserts an AI sound.
  6206.  
  6207. Function: IntervalPerTick
  6208. Signature: float IntervalPerTick()
  6209. Description: Simulation tick interval
  6210.  
  6211. Function: IsClient
  6212. Signature: bool IsClient()
  6213. Description: Returns true if the script is being run on the client.
  6214.  
  6215. Function: IsDedicatedServer
  6216. Signature: bool IsDedicatedServer()
  6217. Description: Is this a dedicated server?
  6218.  
  6219. Function: IsServer
  6220. Signature: bool IsServer()
  6221. Description: Returns true if the script is being run on the server.
  6222.  
  6223. Function: Lerp
  6224. Signature: float Lerp(float, float, float)
  6225.  
  6226. Function: ListenToGameEvent
  6227. Signature: int ListenToGameEvent(string, handle, string)
  6228. Description: Register as a listener for a game event from script.
  6229.  
  6230. Function: MatricesAreEqual
  6231. Signature: void MatricesAreEqual(handle, handle)
  6232. Description: Checks if two matrices are equal.
  6233.  
  6234. Function: MatrixAngles
  6235. Signature: void MatrixAngles(handle, Vector, Vector)
  6236. Description: Gets the angles and position of a matrix.
  6237.  
  6238. Function: MatrixCopy
  6239. Signature: void MatrixCopy(handle, handle)
  6240. Description: Copies a matrix to another matrix.
  6241.  
  6242. Function: MatrixGetColumn
  6243. Signature: Vector MatrixGetColumn(handle, int)
  6244. Description: Gets the column of a matrix.
  6245.  
  6246. Function: MatrixGetTranslation
  6247. Signature: Vector MatrixGetTranslation(handle)
  6248. Description: Gets a matrix's translation.
  6249.  
  6250. Function: MatrixInvert
  6251. Signature: void MatrixInvert(handle, handle)
  6252. Description: Inverts a matrix and copies the result to another matrix.
  6253.  
  6254. Function: MatrixQuaternion
  6255. Signature: void MatrixQuaternion(handle, handle)
  6256. Description: Converts a matrix to a quaternion.
  6257.  
  6258. Function: MatrixScaleBy
  6259. Signature: void MatrixScaleBy(float, handle)
  6260. Description: Scales a matrix.
  6261.  
  6262. Function: MatrixScaleByZero
  6263. Signature: void MatrixScaleByZero(handle)
  6264. Description: Scales a matrix by zero.
  6265.  
  6266. Function: MatrixSetColumn
  6267. Signature: void MatrixSetColumn(Vector, int, handle)
  6268. Description: Sets the column of a matrix.
  6269.  
  6270. Function: MatrixSetTranslation
  6271. Signature: void MatrixSetTranslation(Vector, handle)
  6272. Description: Sets a matrix's translation.
  6273.  
  6274. Function: MaxPlayers
  6275. Signature: int MaxPlayers()
  6276. Description: Get the maximum number of players allowed on this server
  6277.  
  6278. Function: Msg
  6279. Signature: void Msg(string)
  6280.  
  6281. Function: NPrint
  6282. Signature: void NPrint(int, string)
  6283. Description: Notification print
  6284.  
  6285. Function: NXPrint
  6286. Signature: void NXPrint(int, int, int, int, bool, float, string)
  6287. Description: Notification print, customised
  6288.  
  6289. Function: PrecacheEntityFromTable
  6290. Signature: void PrecacheEntityFromTable(string, handle)
  6291. Description: Precache an entity from KeyValues in a table.
  6292.  
  6293. Function: PrecacheMaterial
  6294. Signature: void PrecacheMaterial(string)
  6295. Description: Precaches a material for later usage.
  6296.  
  6297. Function: PrecacheModel
  6298. Signature: int PrecacheModel(string, bool)
  6299. Description: Precaches a model for later usage.
  6300.  
  6301. Function: PrecacheOther
  6302. Signature: void PrecacheOther(string, string)
  6303. Description: Precaches an entity class for later usage.
  6304.  
  6305. Function: PrecacheParticleSystem
  6306. Signature: void PrecacheParticleSystem(string)
  6307. Description: Precaches a particle system for later usage.
  6308.  
  6309. Function: PredictedPosition
  6310. Signature: Vector PredictedPosition(handle, float)
  6311. Description: Predicts what an entity's position will be in a given amount of time.
  6312.  
  6313. Function: Quaternion::Init
  6314. Signature: void Quaternion::Init(float, float, float, float)
  6315. Description: Creates a quaternion with the given values.
  6316.  
  6317. Function: QuaternionAdd
  6318. Signature: void QuaternionAdd(handle, handle, handle)
  6319. Description: Adds two quaternions together into another quaternion.
  6320.  
  6321. Function: QuaternionAngles
  6322. Signature: Vector QuaternionAngles(handle)
  6323. Description: Converts a quaternion to angles.
  6324.  
  6325. Function: QuaternionMatrix
  6326. Signature: void QuaternionMatrix(handle, handle)
  6327. Description: Converts a quaternion to a matrix.
  6328.  
  6329. Function: RandomFloat
  6330. Signature: float RandomFloat(float, float)
  6331. Description: Generate a random floating point number within a range, inclusive.
  6332.  
  6333. Function: RandomInt
  6334. Signature: int RandomInt(int, int)
  6335. Description: Generate a random integer within a range, inclusive.
  6336.  
  6337. Function: ReadMapKeyValues
  6338. Signature: handle ReadMapKeyValues()
  6339. Description: Read the KeyValues from <mapname>_kv.txt file.
  6340.  
  6341. Function: RegisterActivityConstants
  6342. Signature: void RegisterActivityConstants()
  6343. Description: Registers all activity IDs as usable constants.
  6344.  
  6345. Function: RemapVal
  6346. Signature: float RemapVal(float, float, float, float, float)
  6347.  
  6348. Function: RemapValClamped
  6349. Signature: float RemapValClamped(float, float, float, float, float)
  6350.  
  6351. Function: SaveEntityKVToTable
  6352. Signature: void SaveEntityKVToTable(handle, handle)
  6353. Description: Saves an entity's keyvalues to a table.
  6354.  
  6355. Function: SetIdentityMatrix
  6356. Signature: void SetIdentityMatrix(handle)
  6357. Description: Turns a matrix into an identity matrix.
  6358.  
  6359. Function: SetPhysVelocity
  6360. Signature: void SetPhysVelocity(handle, Vector, Vector)
  6361. Description: Sets physics velocity for the given VPhysics object
  6362.  
  6363. Function: SetScaleMatrix
  6364. Signature: void SetScaleMatrix(float, float, float, handle)
  6365. Description: Builds a scale matrix.
  6366.  
  6367. Function: ShowMessage
  6368. Signature: void ShowMessage(string)
  6369. Description: Print a hud message on all clients
  6370.  
  6371. Function: SimpleSpline
  6372. Signature: float SimpleSpline(float)
  6373.  
  6374. Function: SimpleSplineRemapVal
  6375. Signature: float SimpleSplineRemapVal(float, float, float, float, float)
  6376. Description: remaps a value in [startInterval, startInterval+rangeInterval] from linear to spline using SimpleSpline
  6377.  
  6378. Function: SimpleSplineRemapValClamped
  6379. Signature: float SimpleSplineRemapValClamped(float, float, float, float, float)
  6380. Description: remaps a value in [startInterval, startInterval+rangeInterval] from linear to spline using SimpleSpline
  6381.  
  6382. Function: SmoothCurve
  6383. Signature: float SmoothCurve(float)
  6384. Description: SmoothCurve maps a 0-1 value into another 0-1 value based on a cosine wave
  6385.  
  6386. Function: SmoothCurve_Tweak
  6387. Signature: float SmoothCurve_Tweak(float, float, float)
  6388. Description: SmoothCurve peaks at flPeakPos, flPeakSharpness controls the sharpness of the peak
  6389.  
  6390. Function: SpawnEntityFromKeyValues
  6391. Signature: handle SpawnEntityFromKeyValues(string, handle)
  6392. Description: Spawns an entity with the keyvalues in a CScriptKeyValues handle.
  6393.  
  6394. Function: SpawnEntityFromTable
  6395. Signature: handle SpawnEntityFromTable(string, handle)
  6396. Description: Native function for entity spawning.
  6397.  
  6398. Function: StopListeningToAllGameEvents
  6399. Signature: void StopListeningToAllGameEvents(string)
  6400. Description: Stop listening to all game events within a specific context.
  6401.  
  6402. Function: StopListeningToGameEvent
  6403. Signature: bool StopListeningToGameEvent(int)
  6404. Description: Stop the specified event listener.
  6405.  
  6406. Function: Time
  6407. Signature: float Time()
  6408. Description: Get the current server time
  6409.  
  6410. Function: TraceHullComplex
  6411. Signature: handle TraceHullComplex(Vector, Vector, Vector, Vector, handle, int, int)
  6412. 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.
  6413.  
  6414. Function: TraceLine
  6415. Signature: float TraceLine(Vector, Vector, handle)
  6416. Description: given 2 points & ent to ignore, return fraction along line that hits world or models
  6417.  
  6418. Function: TraceLineComplex
  6419. Signature: handle TraceLineComplex(Vector, Vector, handle, int, int)
  6420. 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.
  6421.  
  6422. Function: UniqueString
  6423. Signature: function UniqueString(string)
  6424. 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.
  6425.  
  6426. Function: Vector::Cross
  6427. Signature: float Vector::Cross(vector)
  6428. Description: Return the vector product of two vectors.
  6429.  
  6430. Function: Vector::Dot
  6431. Signature: float Vector::Dot(vector)
  6432. Description: Return the dot/scalar product of two vectors.
  6433.  
  6434. Function: Vector::Length
  6435. Signature: float Vector::Length()
  6436. Description: Return the vector's length.
  6437.  
  6438. Function: Vector::Length2D
  6439. Signature: float Vector::Length2D()
  6440. Description: Return the vector's 2D length.
  6441.  
  6442. Function: Vector::Length2DSqr
  6443. Signature: float Vector::Length2DSqr()
  6444. Description: Return the vector's squared 2D length.
  6445.  
  6446. Function: Vector::LengthSqr
  6447. Signature: float Vector::LengthSqr()
  6448. Description: Return the vector's squared length.
  6449.  
  6450. Function: Vector::Norm
  6451. Signature: void Vector::Norm()
  6452. Description: Normalize the vector in place.
  6453.  
  6454. Function: Vector::Normalized
  6455. Signature: float Vector::Normalized()
  6456. Description: Return a normalized version of the vector.
  6457.  
  6458. Function: Vector::Scale
  6459. Signature: vector Vector::Scale(float)
  6460. Description: Scale the vector's magnitude and return the result.
  6461.  
  6462. Function: Vector::ToKVString
  6463. Signature: string Vector::ToKVString()
  6464. Description: Return a vector as a string in KeyValue form, without separation commas.
  6465.  
  6466. Function: VectorAngles
  6467. Signature: Vector VectorAngles(Vector)
  6468. Description: Turns a direction vector into an angle.
  6469.  
  6470. Function: VectorIRotate
  6471. Signature: Vector VectorIRotate(Vector, handle)
  6472. Description: Rotates a vector with the inverse of a matrix.
  6473.  
  6474. Function: VectorITransform
  6475. Signature: Vector VectorITransform(Vector, handle)
  6476. Description: Transforms a vector with the inverse of a matrix.
  6477.  
  6478. Function: VectorRotate
  6479. Signature: Vector VectorRotate(Vector, handle)
  6480. Description: Rotates a vector with a matrix.
  6481.  
  6482. Function: VectorTransform
  6483. Signature: Vector VectorTransform(Vector, handle)
  6484. Description: Transforms a vector with a matrix.
  6485.  
  6486. Function: WriteMapKeyValues
  6487. Signature: bool WriteMapKeyValues(handle)
  6488. Description: Stores the CScriptKeyValues into <mapname>_kv.txt file.
  6489.  
  6490. Function: clamp
  6491. Signature: float clamp(float, float, float)
  6492.  
  6493. Function: csurface_t::Name
  6494. Signature: string csurface_t::Name()
  6495.  
  6496. Function: csurface_t::SurfaceProps
  6497. Signature: handle csurface_t::SurfaceProps()
  6498. Description: The surface's properties.
  6499.  
  6500. Function: matrix3x4_t::Init
  6501. Signature: void matrix3x4_t::Init(Vector, Vector, Vector, Vector)
  6502. Description: Creates a matrix where the X axis = forward, the Y axis = left, and the Z axis = up.
  6503.  
  6504. Function: max
  6505. Signature: float max(float, float)
  6506.  
  6507. Function: min
  6508. Signature: float min(float, float)
  6509.  
  6510. Function: printc
  6511. Signature: void printc(int, int, int, string)
  6512. Description: Version of print() which takes a color before the message.
  6513.  
  6514. Function: printcl
  6515. Signature: void printcl(int, int, int, string)
  6516. Description: Version of printl() which takes a color before the message.
  6517.  
  6518. Function: scriptanimevent_t::GetCycle
  6519. Signature: float scriptanimevent_t::GetCycle()
  6520.  
  6521. Function: scriptanimevent_t::GetEvent
  6522. Signature: int scriptanimevent_t::GetEvent()
  6523.  
  6524. Function: scriptanimevent_t::GetEventTime
  6525. Signature: float scriptanimevent_t::GetEventTime()
  6526.  
  6527. Function: scriptanimevent_t::GetOptions
  6528. Signature: string scriptanimevent_t::GetOptions()
  6529.  
  6530. Function: scriptanimevent_t::GetSource
  6531. Signature: handle scriptanimevent_t::GetSource()
  6532. Description: Gets the event's source entity.
  6533.  
  6534. Function: scriptanimevent_t::GetType
  6535. Signature: int scriptanimevent_t::GetType()
  6536. Description: Gets the event's type flags. See the 'AE_TYPE_' set of constants for valid flags.
  6537.  
  6538. Function: scriptanimevent_t::SetCycle
  6539. Signature: void scriptanimevent_t::SetCycle(float)
  6540.  
  6541. Function: scriptanimevent_t::SetEvent
  6542. Signature: void scriptanimevent_t::SetEvent(int)
  6543.  
  6544. Function: scriptanimevent_t::SetEventTime
  6545. Signature: void scriptanimevent_t::SetEventTime(float)
  6546.  
  6547. Function: scriptanimevent_t::SetOptions
  6548. Signature: void scriptanimevent_t::SetOptions(string)
  6549.  
  6550. Function: scriptanimevent_t::SetSource
  6551. Signature: void scriptanimevent_t::SetSource(handle)
  6552. Description: Sets the event's source entity.
  6553.  
  6554. Function: scriptanimevent_t::SetType
  6555. Signature: void scriptanimevent_t::SetType(int)
  6556. Description: Sets the event's type flags. See the 'AE_TYPE_' set of constants for valid flags.
  6557.  
  6558. Function: surfacedata_t::GetFriction
  6559. Signature: float surfacedata_t::GetFriction()
  6560.  
  6561. Function: surfacedata_t::GetJumpFactor
  6562. Signature: float surfacedata_t::GetJumpFactor()
  6563.  
  6564. Function: surfacedata_t::GetMaterialChar
  6565. Signature: char surfacedata_t::GetMaterialChar()
  6566.  
  6567. Function: surfacedata_t::GetSoundBreak
  6568. Signature: string surfacedata_t::GetSoundBreak()
  6569.  
  6570. Function: surfacedata_t::GetSoundBulletImpact
  6571. Signature: string surfacedata_t::GetSoundBulletImpact()
  6572.  
  6573. Function: surfacedata_t::GetSoundImpactHard
  6574. Signature: string surfacedata_t::GetSoundImpactHard()
  6575.  
  6576. Function: surfacedata_t::GetSoundImpactSoft
  6577. Signature: string surfacedata_t::GetSoundImpactSoft()
  6578.  
  6579. Function: surfacedata_t::GetSoundRolling
  6580. Signature: string surfacedata_t::GetSoundRolling()
  6581.  
  6582. Function: surfacedata_t::GetSoundScrapeRough
  6583. Signature: string surfacedata_t::GetSoundScrapeRough()
  6584.  
  6585. Function: surfacedata_t::GetSoundScrapeSmooth
  6586. Signature: string surfacedata_t::GetSoundScrapeSmooth()
  6587.  
  6588. Function: surfacedata_t::GetSoundStepLeft
  6589. Signature: string surfacedata_t::GetSoundStepLeft()
  6590.  
  6591. Function: surfacedata_t::GetSoundStepRight
  6592. Signature: string surfacedata_t::GetSoundStepRight()
  6593.  
  6594. Function: surfacedata_t::GetSoundStrain
  6595. Signature: string surfacedata_t::GetSoundStrain()
  6596.  
  6597. Function: surfacedata_t::GetThickness
  6598. Signature: float surfacedata_t::GetThickness()
  6599.  
  6600. Member: Color.a
  6601. Signature: char Color.a
  6602. Description: Member variable for alpha. (transparency)
  6603.  
  6604. Member: Color.b
  6605. Signature: char Color.b
  6606. Description: Member variable for blue.
  6607.  
  6608. Member: Color.g
  6609. Signature: char Color.g
  6610. Description: Member variable for green.
  6611.  
  6612. Member: Color.r
  6613. Signature: char Color.r
  6614. Description: Member variable for red.
  6615.  
  6616. Member: Quaternion.w
  6617. Signature: float Quaternion.w
  6618. Description: The quaternion's scalar component.
  6619.  
  6620. Member: Quaternion.x
  6621. Signature: float Quaternion.x
  6622. Description: The quaternion's i axis component.
  6623.  
  6624. Member: Quaternion.y
  6625. Signature: float Quaternion.y
  6626. Description: The quaternion's j axis component.
  6627.  
  6628. Member: Quaternion.z
  6629. Signature: float Quaternion.z
  6630. Description: The quaternion's k axis component.
  6631.  
  6632. Member: Vector.x
  6633. Signature: float Vector.x
  6634. Description: The vector's X coordinate on the cartesian X axis.
  6635.  
  6636. Member: Vector.y
  6637. Signature: float Vector.y
  6638. Description: The vector's Y coordinate on the cartesian Y axis.
  6639.  
  6640. Member: Vector.z
  6641. Signature: float Vector.z
  6642. Description: The vector's Z coordinate on the cartesian Z axis.
  6643.  
  6644. Hook: CAI_BaseNPC -> GetActualShootPosition
  6645. Signature: void CAI_BaseNPC -> GetActualShootPosition(Vector [shootOrigin], handle [target])
  6646. 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!)
  6647.  
  6648. Hook: CAI_BaseNPC -> NPC_TranslateActivity
  6649. Signature: variant CAI_BaseNPC -> NPC_TranslateActivity(string [activity], int [activity_id])
  6650. 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.
  6651.  
  6652. Hook: CAI_BaseNPC -> NPC_TranslateSchedule
  6653. Signature: variant CAI_BaseNPC -> NPC_TranslateSchedule(string [schedule], int [schedule_id])
  6654. 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.
  6655.  
  6656. Hook: CAI_BaseNPC -> QueryHearSound
  6657. Signature: bool CAI_BaseNPC -> QueryHearSound(handle [sound])
  6658. Description: Called when the NPC is deciding whether to hear a CSound or not.
  6659.  
  6660. Hook: CAI_BaseNPC -> QuerySeeEntity
  6661. Signature: bool CAI_BaseNPC -> QuerySeeEntity(handle [entity])
  6662. Description: Called when the NPC is deciding whether to see an entity or not.
  6663.  
  6664. Hook: CBaseAnimating -> HandleAnimEvent
  6665. Signature: bool CBaseAnimating -> HandleAnimEvent(handle [event])
  6666. Description: Called when handling animation events. Return false to cancel base handling.
  6667.  
  6668. Hook: CBaseAnimating -> OnServerRagdoll
  6669. Signature: void CBaseAnimating -> OnServerRagdoll(handle [ragdoll], bool [submodel])
  6670. Description: Called when this entity creates/turns into a server-side ragdoll.
  6671.  
  6672. Hook: CBaseCombatCharacter -> RelationshipPriority
  6673. Signature: int CBaseCombatCharacter -> RelationshipPriority(handle [entity], int [def])
  6674. 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)
  6675.  
  6676. Hook: CBaseCombatCharacter -> RelationshipType
  6677. Signature: int CBaseCombatCharacter -> RelationshipType(handle [entity], int [def])
  6678. 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)
  6679.  
  6680. Hook: CBaseEntity -> FireBullets
  6681. Signature: void CBaseEntity -> FireBullets(handle [entity], float [speed], Vector [point], Vector [normal])
  6682. Description: Called for every single VPhysics-related collision experienced by this entity.
  6683.  
  6684. Hook: CBaseEntity -> HandleInteraction
  6685. Signature: bool CBaseEntity -> HandleInteraction(int [interaction], handle [sourceEnt])
  6686. 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.
  6687.  
  6688. Hook: CBaseEntity -> ModifyEmitSoundParams
  6689. Signature: void CBaseEntity -> ModifyEmitSoundParams(handle [params])
  6690. Description: Called every time a sound is emitted on this entity, allowing for its parameters to be modified.
  6691.  
  6692. Hook: CBaseEntity -> ModifySentenceParams
  6693. Signature: void CBaseEntity -> ModifySentenceParams(handle [params])
  6694. Description: Called every time a sentence is emitted on this entity, allowing for its parameters to be modified.
  6695.  
  6696. Hook: CBaseEntity -> OnDeath
  6697. Signature: bool CBaseEntity -> OnDeath(handle [info])
  6698. 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.
  6699.  
  6700. Hook: CBaseEntity -> OnEntText
  6701. Signature: string CBaseEntity -> OnEntText()
  6702. Description: Called every frame when ent_text is enabled on the entity. Return a string to be added to the ent_text printout.
  6703.  
  6704. Hook: CBaseEntity -> OnKilledOther
  6705. Signature: void CBaseEntity -> OnKilledOther(handle [victim], handle [info])
  6706. Description: Called when the entity kills another entity.
  6707.  
  6708. Hook: CBaseEntity -> UpdateOnRemove
  6709. Signature: void CBaseEntity -> UpdateOnRemove()
  6710. Description: Called when the entity is being removed.
  6711.  
  6712. Hook: CBaseEntity -> VPhysicsCollision
  6713. Signature: void CBaseEntity -> VPhysicsCollision(handle [entity], float [speed], Vector [point], Vector [normal])
  6714. Description: Called for every single VPhysics-related collision experienced by this entity.
  6715.  
  6716. Hook: CBasePlayer -> PlayerRunCommand
  6717. Signature: void CBasePlayer -> PlayerRunCommand(handle [command])
  6718. Description: Called when running a player command on the server.
  6719.  
  6720. Hook: CEntities -> OnEntityCreated
  6721. Signature: void CEntities -> OnEntityCreated(handle [entity])
  6722. Description: Called when an entity is created. Requires EnableEntityListening() to be fired beforehand.
  6723.  
  6724. Hook: CEntities -> OnEntityDeleted
  6725. Signature: void CEntities -> OnEntityDeleted(handle [entity])
  6726. Description: Called when an entity is deleted. Requires EnableEntityListening() to be fired beforehand.
  6727.  
  6728. Hook: CEntities -> OnEntitySpawned
  6729. Signature: void CEntities -> OnEntitySpawned(handle [entity])
  6730. Description: Called when an entity spawns. Requires EnableEntityListening() to be fired beforehand.
  6731.  
  6732. Hook: CFilterScript -> BloodAllowed
  6733. Signature: bool CFilterScript -> BloodAllowed(handle [caller], handle [info])
  6734. Description: A completely optional hook used by filter_script to determine if a caller is allowed to emit blood after taking damage. Return true if blood should be allowed or false if it should not. If this hook is not defined, it will always return true.
  6735.  
  6736. Hook: CFilterScript -> DamageMod
  6737. Signature: bool CFilterScript -> DamageMod(handle [caller], handle [info])
  6738. Description: A completely optional hook used by filter_script to modify damage being taken by an entity. You are free to use CTakeDamageInfo functions on the damage info handle and it will change how the caller is damaged. Returning true or false currently has no effect on vanilla code, but you should generally return true if the damage info has been modified by your code and false if it was not. If this hook is not defined, it will always return false.
  6739.  
  6740. Hook: CFilterScript -> PassesDamageFilter
  6741. Signature: bool CFilterScript -> PassesDamageFilter(handle [caller], handle [info])
  6742. 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.
  6743.  
  6744. Hook: CFilterScript -> PassesFilter
  6745. Signature: bool CFilterScript -> PassesFilter(handle [caller], handle [activator])
  6746. 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.
  6747.  
  6748. Hook: CFilterScript -> PassesFinalDamageFilter
  6749. Signature: bool CFilterScript -> PassesFinalDamageFilter(handle [caller], handle [info])
  6750. Description: A completely optional hook used by filter_script which only runs when the entity will take damage. This is different from PassesDamageFilter, which is sometimes used in cases where damage is not actually about to be taken. This also runs after a regular PassesDamageFilter check. Return true if the info should pass or false if it should not. If this hook is not defined, it will always return true.
  6751.  
Add Comment
Please, Sign In to add comment