-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtf2-snippets.sublime-completions
14698 lines (14698 loc) · 476 KB
/
tf2-snippets.sublime-completions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"scope": "source.nut",
"completions": [
{
"trigger": "AGGRESSIVE",
"annotation": "AGGRESSIVE",
"contents": "AGGRESSIVE$0",
"kind": "keyword",
"details": "2"
},
{
"trigger": "AIR_CHARGE_ONLY",
"annotation": "AIR_CHARGE_ONLY",
"contents": "AIR_CHARGE_ONLY$0",
"kind": "keyword",
"details": "524288"
},
{
"trigger": "ALL_VISIBLE_CONTENTS",
"annotation": "ALL_VISIBLE_CONTENTS",
"contents": "ALL_VISIBLE_CONTENTS$0",
"kind": "keyword",
"details": "255"
},
{
"trigger": "ALWAYS_CRIT",
"annotation": "ALWAYS_CRIT",
"contents": "ALWAYS_CRIT$0",
"kind": "keyword",
"details": "512"
},
{
"trigger": "ALWAYS_FIRE_WEAPON",
"annotation": "ALWAYS_FIRE_WEAPON",
"contents": "ALWAYS_FIRE_WEAPON$0",
"kind": "keyword",
"details": "8192"
},
{
"trigger": "AUTO_JUMP",
"annotation": "AUTO_JUMP",
"contents": "AUTO_JUMP$0",
"kind": "keyword",
"details": "262144"
},
{
"trigger": "AcceptInput",
"annotation": "bool AcceptInput(string input, string param, handle activator, handle caller)",
"contents": "AcceptInput(${1:string input}, ${2:string param}, ${3:handle activator}, ${4:handle caller})$0",
"kind": "keyword",
"details": "caller) \tGenerate a synchronous I/O event. Unlike EntFireByHandle, this is processed immediately. Returns false if input is a null/empty string, or if the input wasn't handled."
},
{
"trigger": "AddAttribute",
"annotation": "void AddAttribute(string name, float value, float duration)",
"contents": "AddAttribute(${1:string name}, ${2:float value}, ${3:float duration})$0",
"kind": "keyword",
"details": "Add an attribute to the entity. Set duration to -1 for the attribute to be applied forever."
},
{
"trigger": "AddBotAttribute",
"annotation": "void AddBotAttribute(int attribute)",
"contents": "AddBotAttribute(${1:int attribute})$0",
"kind": "keyword",
"details": "Sets attribute flags on this TFBot"
},
{
"trigger": "AddBotTag",
"annotation": "void AddBotTag(string tag)",
"contents": "AddBotTag(${1:string tag})$0",
"kind": "keyword",
"details": "Adds a bot tag"
},
{
"trigger": "AddBroadcastTeamTarget",
"annotation": "void AddBroadcastTeamTarget(int index)",
"contents": "AddBroadcastTeamTarget(${1:int index})$0",
"kind": "keyword",
"details": "Adds a team (by index) to the broadcast list"
},
{
"trigger": "AddCond",
"annotation": "void AddCond(ETFCond cond)",
"contents": "AddCond(${1:ETFCond cond})$0",
"kind": "keyword",
"details": ""
},
{
"trigger": "AddCondEx",
"annotation": "void AddCondEx(ETFCond cond, float duration, handle provider)",
"contents": "AddCondEx(${1:ETFCond cond}, ${2:float duration}, ${3:handle provider})$0",
"kind": "keyword",
"details": ""
},
{
"trigger": "AddCurrency",
"annotation": "void AddCurrency(int amount)",
"contents": "AddCurrency(${1:int amount})$0",
"kind": "keyword",
"details": "Kaching! Give the player some cash for game modes with upgrades, ie. MvM. The new value is bounded between 0-30000."
},
{
"trigger": "AddCustomAttribute",
"annotation": "void AddCustomAttribute(string name, float value, float duration)",
"contents": "AddCustomAttribute(${1:string name}, ${2:float value}, ${3:float duration})$0",
"kind": "keyword",
"details": "Add a custom attribute to the player. Set duration to -1 for the attribute to be applied forever."
},
{
"trigger": "AddEFlags",
"annotation": "void AddEFlags(int flags)",
"contents": "AddEFlags(${1:int flags})$0",
"kind": "keyword",
"details": "Adds the supplied flags to the Entity Flags in the entity. (m_iEFlags datamap). See Constants.FEntityEFlags."
},
{
"trigger": "AddFlag",
"annotation": "void AddFlag(int flags)",
"contents": "AddFlag(${1:int flags})$0",
"kind": "keyword",
"details": "Adds the supplied flags to another separate player-related entity flags system in the entity. (m_fFlags datamap). See Constants.FPlayer."
},
{
"trigger": "AddHudHideFlags",
"annotation": "void AddHudHideFlags(int flags)",
"contents": "AddHudHideFlags(${1:int flags})$0",
"kind": "keyword",
"details": "Hides a hud element based on Constants.FHideHUD"
},
{
"trigger": "AddIncomingConnection",
"annotation": "void AddIncomingConnection(handle area, ENavDirType dir)",
"contents": "AddIncomingConnection(${1:handle area}, ${2:ENavDirType dir})$0",
"kind": "keyword",
"details": "Add areas that connect TO this area by a ONE-WAY link"
},
{
"trigger": "AddOutput",
"annotation": "void AddOutput(handle entity, string outputName, string targetName, string inputName, string parameter, float delay, int timesToFire)",
"contents": "AddOutput(${1:handle entity}, ${2:string outputName}, ${3:string targetName}, ${4:string inputName}, ${5:string parameter}, ${6:float delay}, ${7:int timesToFire})$0",
"kind": "keyword",
"details": "Adds a new output to the entity."
},
{
"trigger": "AddSolidFlags",
"annotation": "void AddSolidFlags(int flags)",
"contents": "AddSolidFlags(${1:int flags})$0",
"kind": "keyword",
"details": "Adds the supplied flags to the Solid Flags in the entity. (m_Collision.m_usSolidFlags datamap). See Constants.FSolid."
},
{
"trigger": "AddTemplate",
"annotation": "void AddTemplate(string classname, table keyvalues)",
"contents": "AddTemplate(${1:string classname}, ${2:table keyvalues})$0",
"kind": "keyword",
"details": "Add an entity with the given keyvalues to the template spawner, similar to SpawnEntityFromTable. The number of templates allowed is unlimited."
},
{
"trigger": "AddThinkToEnt",
"annotation": "void AddThinkToEnt(handle entity, string FuncName)",
"contents": "AddThinkToEnt(${1:handle entity}, ${2:string FuncName})$0",
"kind": "keyword",
"details": "Sets a function in the entity's script to rerun by itself constantly. Pass null as the function name to remove a think function. The default think interval is 0.1s, unless overridden by returning a different time interval in seconds in the think function. TF2 runs at 66 ticks per second, so the lowest possible interval is 0.015 seconds. Set to -1 to think every tick."
},
{
"trigger": "AddToScriptHelp",
"annotation": "AddToScriptHelp()",
"contents": "AddToScriptHelp()$0",
"kind": "keyword",
"details": ""
},
{
"trigger": "AddWeaponRestriction",
"annotation": "void AddWeaponRestriction(int flags)",
"contents": "AddWeaponRestriction(${1:int flags})$0",
"kind": "keyword",
"details": "Adds weapon restriction flags"
},
{
"trigger": "AllowThirdPersonCamera",
"annotation": "bool AllowThirdPersonCamera()",
"contents": "AllowThirdPersonCamera()$0",
"kind": "keyword",
"details": ""
},
{
"trigger": "ApplyAbsVelocityImpulse",
"annotation": "void ApplyAbsVelocityImpulse(Vector impulse)",
"contents": "ApplyAbsVelocityImpulse(${1:Vector impulse})$0",
"kind": "keyword",
"details": "Apply a Velocity Impulse as a world space impulse vector. Works for most physics-based objects including dropped weapons and even dropped Sandviches."
},
{
"trigger": "ApplyLocalAngularVelocityImpulse",
"annotation": "void ApplyLocalAngularVelocityImpulse(Vector impulse)",
"contents": "ApplyLocalAngularVelocityImpulse(${1:Vector impulse})$0",
"kind": "keyword",
"details": "Apply an Angular Velocity Impulse in entity local space. The direction of the input vector is the rotation axis, and the length is the magnitude of the impulse."
},
{
"trigger": "ApplyPunchImpulseX",
"annotation": "bool ApplyPunchImpulseX(float impulse)",
"contents": "ApplyPunchImpulseX(${1:float impulse})$0",
"kind": "keyword",
"details": "Apply a view punch along the pitch angle. Used to flinch players when hit. If the player is a fully charged scoped-in sniper and the weapon has the aiming_no_flinch attribute, the punch will not apply. Returns true if the punch was applied."
},
{
"trigger": "Approach",
"annotation": "void Approach(Vector goal, float goalWeight)",
"contents": "Approach(${1:Vector goal}, ${2:float goalWeight})$0",
"kind": "keyword",
"details": "The primary locomotive method. Goal determines the destination position to move towards. goalWeight determines the priority of this path, you can set this to 1.0 generally speaking."
},
{
"trigger": "ArePlayersInHell",
"annotation": "bool ArePlayersInHell()",
"contents": "ArePlayersInHell()$0",
"kind": "keyword",
"details": ""
},
{
"trigger": "Assert",
"annotation": "void Assert(bool value, string optional_message)",
"contents": "Assert(${1:bool value}, ${2:string optional_message})$0",
"kind": "keyword",
"details": "Test value and if not true, throws exception, optionally with message."
},
{
"trigger": "BACKWARD",
"annotation": "BACKWARD",
"contents": "BACKWARD$0",
"kind": "keyword",
"details": "2"
},
{
"trigger": "BECOME_SPECTATOR_ON_DEATH",
"annotation": "BECOME_SPECTATOR_ON_DEATH",
"contents": "BECOME_SPECTATOR_ON_DEATH$0",
"kind": "keyword",
"details": "32"
},
{
"trigger": "BLAST_IMMUNE",
"annotation": "BLAST_IMMUNE",
"contents": "BLAST_IMMUNE$0",
"kind": "keyword",
"details": "16777216"
},
{
"trigger": "BULLET_IMMUNE",
"annotation": "BULLET_IMMUNE",
"contents": "BULLET_IMMUNE$0",
"kind": "keyword",
"details": "8388608"
},
{
"trigger": "BecomeRagdollOnClient",
"annotation": "bool BecomeRagdollOnClient(Vector impulse)",
"contents": "BecomeRagdollOnClient(${1:Vector impulse})$0",
"kind": "keyword",
"details": "Acts like the BecomeRagdoll input, with the required impulse value applied as a force on the ragdoll. Does NOT spawn a prop_ragdoll or any other entity."
},
{
"trigger": "Begin",
"annotation": "Begin()",
"contents": "Begin()$0",
"kind": "keyword",
"details": ""
},
{
"trigger": "BeginScriptDebug",
"annotation": "void BeginScriptDebug()",
"contents": "BeginScriptDebug()$0",
"kind": "keyword",
"details": ""
},
{
"trigger": "BleedPlayer",
"annotation": "void BleedPlayer(float duration)",
"contents": "BleedPlayer(${1:float duration})$0",
"kind": "keyword",
"details": "Make a player bleed for a set duration of time."
},
{
"trigger": "BleedPlayerEx",
"annotation": "void BleedPlayerEx(float duration, int damage, bool endless, int nCustomDamageType)",
"contents": "BleedPlayerEx(${1:float duration}, ${2:int damage}, ${3:bool endless}, ${4:int nCustomDamageType})$0",
"kind": "keyword",
"details": "Make a player bleed for a set duration of time, or forever, with specific damage per tick and damage_custom index."
},
{
"trigger": "CCallChainer",
"annotation": "CCallChainer(string functionPrefix, table scope = null)",
"contents": "CCallChainer(${1:string functionPrefix}, ${2:table scope = null})$0",
"kind": "keyword",
"details": "Creates a CCallChainer object that'll collect functions that have a matching prefix in the given scope."
},
{
"trigger": "COLLISION_GROUP_BREAKABLE_GLASS",
"annotation": "COLLISION_GROUP_BREAKABLE_GLASS",
"contents": "COLLISION_GROUP_BREAKABLE_GLASS$0",
"kind": "keyword",
"details": "6"
},
{
"trigger": "COLLISION_GROUP_DEBRIS",
"annotation": "COLLISION_GROUP_DEBRIS",
"contents": "COLLISION_GROUP_DEBRIS$0",
"kind": "keyword",
"details": "1"
},
{
"trigger": "COLLISION_GROUP_DEBRIS_TRIGGER",
"annotation": "COLLISION_GROUP_DEBRIS_TRIGGER",
"contents": "COLLISION_GROUP_DEBRIS_TRIGGER$0",
"kind": "keyword",
"details": "2"
},
{
"trigger": "COLLISION_GROUP_DISSOLVING",
"annotation": "COLLISION_GROUP_DISSOLVING",
"contents": "COLLISION_GROUP_DISSOLVING$0",
"kind": "keyword",
"details": "16"
},
{
"trigger": "COLLISION_GROUP_DOOR_BLOCKER",
"annotation": "COLLISION_GROUP_DOOR_BLOCKER",
"contents": "COLLISION_GROUP_DOOR_BLOCKER$0",
"kind": "keyword",
"details": "14"
},
{
"trigger": "COLLISION_GROUP_INTERACTIVE",
"annotation": "COLLISION_GROUP_INTERACTIVE",
"contents": "COLLISION_GROUP_INTERACTIVE$0",
"kind": "keyword",
"details": "4"
},
{
"trigger": "COLLISION_GROUP_INTERACTIVE_DEBRIS",
"annotation": "COLLISION_GROUP_INTERACTIVE_DEBRIS",
"contents": "COLLISION_GROUP_INTERACTIVE_DEBRIS$0",
"kind": "keyword",
"details": "3"
},
{
"trigger": "COLLISION_GROUP_IN_VEHICLE",
"annotation": "COLLISION_GROUP_IN_VEHICLE",
"contents": "COLLISION_GROUP_IN_VEHICLE$0",
"kind": "keyword",
"details": "10"
},
{
"trigger": "COLLISION_GROUP_NONE",
"annotation": "COLLISION_GROUP_NONE",
"contents": "COLLISION_GROUP_NONE$0",
"kind": "keyword",
"details": "0"
},
{
"trigger": "COLLISION_GROUP_NPC",
"annotation": "COLLISION_GROUP_NPC",
"contents": "COLLISION_GROUP_NPC$0",
"kind": "keyword",
"details": "9"
},
{
"trigger": "COLLISION_GROUP_NPC_ACTOR",
"annotation": "COLLISION_GROUP_NPC_ACTOR",
"contents": "COLLISION_GROUP_NPC_ACTOR$0",
"kind": "keyword",
"details": "18"
},
{
"trigger": "COLLISION_GROUP_NPC_SCRIPTED",
"annotation": "COLLISION_GROUP_NPC_SCRIPTED",
"contents": "COLLISION_GROUP_NPC_SCRIPTED$0",
"kind": "keyword",
"details": "19"
},
{
"trigger": "COLLISION_GROUP_PASSABLE_DOOR",
"annotation": "COLLISION_GROUP_PASSABLE_DOOR",
"contents": "COLLISION_GROUP_PASSABLE_DOOR$0",
"kind": "keyword",
"details": "15"
},
{
"trigger": "COLLISION_GROUP_PLAYER",
"annotation": "COLLISION_GROUP_PLAYER",
"contents": "COLLISION_GROUP_PLAYER$0",
"kind": "keyword",
"details": "5"
},
{
"trigger": "COLLISION_GROUP_PLAYER_MOVEMENT",
"annotation": "COLLISION_GROUP_PLAYER_MOVEMENT",
"contents": "COLLISION_GROUP_PLAYER_MOVEMENT$0",
"kind": "keyword",
"details": "8"
},
{
"trigger": "COLLISION_GROUP_PROJECTILE",
"annotation": "COLLISION_GROUP_PROJECTILE",
"contents": "COLLISION_GROUP_PROJECTILE$0",
"kind": "keyword",
"details": "13"
},
{
"trigger": "COLLISION_GROUP_PUSHAWAY",
"annotation": "COLLISION_GROUP_PUSHAWAY",
"contents": "COLLISION_GROUP_PUSHAWAY$0",
"kind": "keyword",
"details": "17"
},
{
"trigger": "COLLISION_GROUP_VEHICLE",
"annotation": "COLLISION_GROUP_VEHICLE",
"contents": "COLLISION_GROUP_VEHICLE$0",
"kind": "keyword",
"details": "7"
},
{
"trigger": "COLLISION_GROUP_VEHICLE_CLIP",
"annotation": "COLLISION_GROUP_VEHICLE_CLIP",
"contents": "COLLISION_GROUP_VEHICLE_CLIP$0",
"kind": "keyword",
"details": "12"
},
{
"trigger": "COLLISION_GROUP_WEAPON",
"annotation": "COLLISION_GROUP_WEAPON",
"contents": "COLLISION_GROUP_WEAPON$0",
"kind": "keyword",
"details": "11"
},
{
"trigger": "CONTENTS_AREAPORTAL",
"annotation": "CONTENTS_AREAPORTAL",
"contents": "CONTENTS_AREAPORTAL$0",
"kind": "keyword",
"details": "32768"
},
{
"trigger": "CONTENTS_AUX",
"annotation": "CONTENTS_AUX",
"contents": "CONTENTS_AUX$0",
"kind": "keyword",
"details": "4"
},
{
"trigger": "CONTENTS_BLOCKLOS",
"annotation": "CONTENTS_BLOCKLOS",
"contents": "CONTENTS_BLOCKLOS$0",
"kind": "keyword",
"details": "64"
},
{
"trigger": "CONTENTS_CURRENT_0",
"annotation": "CONTENTS_CURRENT_0",
"contents": "CONTENTS_CURRENT_0$0",
"kind": "keyword",
"details": "262144"
},
{
"trigger": "CONTENTS_CURRENT_180",
"annotation": "CONTENTS_CURRENT_180",
"contents": "CONTENTS_CURRENT_180$0",
"kind": "keyword",
"details": "1048576"
},
{
"trigger": "CONTENTS_CURRENT_270",
"annotation": "CONTENTS_CURRENT_270",
"contents": "CONTENTS_CURRENT_270$0",
"kind": "keyword",
"details": "2097152"
},
{
"trigger": "CONTENTS_CURRENT_90",
"annotation": "CONTENTS_CURRENT_90",
"contents": "CONTENTS_CURRENT_90$0",
"kind": "keyword",
"details": "524288"
},
{
"trigger": "CONTENTS_CURRENT_DOWN",
"annotation": "CONTENTS_CURRENT_DOWN",
"contents": "CONTENTS_CURRENT_DOWN$0",
"kind": "keyword",
"details": "8388608"
},
{
"trigger": "CONTENTS_CURRENT_UP",
"annotation": "CONTENTS_CURRENT_UP",
"contents": "CONTENTS_CURRENT_UP$0",
"kind": "keyword",
"details": "4194304"
},
{
"trigger": "CONTENTS_DEBRIS",
"annotation": "CONTENTS_DEBRIS",
"contents": "CONTENTS_DEBRIS$0",
"kind": "keyword",
"details": "67108864"
},
{
"trigger": "CONTENTS_DETAIL",
"annotation": "CONTENTS_DETAIL",
"contents": "CONTENTS_DETAIL$0",
"kind": "keyword",
"details": "134217728"
},
{
"trigger": "CONTENTS_EMPTY",
"annotation": "CONTENTS_EMPTY",
"contents": "CONTENTS_EMPTY$0",
"kind": "keyword",
"details": "0"
},
{
"trigger": "CONTENTS_GRATE",
"annotation": "CONTENTS_GRATE",
"contents": "CONTENTS_GRATE$0",
"kind": "keyword",
"details": "8"
},
{
"trigger": "CONTENTS_HITBOX",
"annotation": "CONTENTS_HITBOX",
"contents": "CONTENTS_HITBOX$0",
"kind": "keyword",
"details": "1073741824"
},
{
"trigger": "CONTENTS_IGNORE_NODRAW_OPAQUE",
"annotation": "CONTENTS_IGNORE_NODRAW_OPAQUE",
"contents": "CONTENTS_IGNORE_NODRAW_OPAQUE$0",
"kind": "keyword",
"details": "8192"
},
{
"trigger": "CONTENTS_LADDER",
"annotation": "CONTENTS_LADDER",
"contents": "CONTENTS_LADDER$0",
"kind": "keyword",
"details": "536870912"
},
{
"trigger": "CONTENTS_MONSTER",
"annotation": "CONTENTS_MONSTER",
"contents": "CONTENTS_MONSTER$0",
"kind": "keyword",
"details": "33554432"
},
{
"trigger": "CONTENTS_MONSTERCLIP",
"annotation": "CONTENTS_MONSTERCLIP",
"contents": "CONTENTS_MONSTERCLIP$0",
"kind": "keyword",
"details": "131072"
},
{
"trigger": "CONTENTS_MOVEABLE",
"annotation": "CONTENTS_MOVEABLE",
"contents": "CONTENTS_MOVEABLE$0",
"kind": "keyword",
"details": "16384"
},
{
"trigger": "CONTENTS_OPAQUE",
"annotation": "CONTENTS_OPAQUE",
"contents": "CONTENTS_OPAQUE$0",
"kind": "keyword",
"details": "128"
},
{
"trigger": "CONTENTS_ORIGIN",
"annotation": "CONTENTS_ORIGIN",
"contents": "CONTENTS_ORIGIN$0",
"kind": "keyword",
"details": "16777216"
},
{
"trigger": "CONTENTS_PLAYERCLIP",
"annotation": "CONTENTS_PLAYERCLIP",
"contents": "CONTENTS_PLAYERCLIP$0",
"kind": "keyword",
"details": "65536"
},
{
"trigger": "CONTENTS_SLIME",
"annotation": "CONTENTS_SLIME",
"contents": "CONTENTS_SLIME$0",
"kind": "keyword",
"details": "16"
},
{
"trigger": "CONTENTS_SOLID",
"annotation": "CONTENTS_SOLID",
"contents": "CONTENTS_SOLID$0",
"kind": "keyword",
"details": "1"
},
{
"trigger": "CONTENTS_TEAM1",
"annotation": "CONTENTS_TEAM1",
"contents": "CONTENTS_TEAM1$0",
"kind": "keyword",
"details": "2048"
},
{
"trigger": "CONTENTS_TEAM2",
"annotation": "CONTENTS_TEAM2",
"contents": "CONTENTS_TEAM2$0",
"kind": "keyword",
"details": "4096"
},
{
"trigger": "CONTENTS_TESTFOGVOLUME",
"annotation": "CONTENTS_TESTFOGVOLUME",
"contents": "CONTENTS_TESTFOGVOLUME$0",
"kind": "keyword",
"details": "256"
},
{
"trigger": "CONTENTS_TRANSLUCENT",
"annotation": "CONTENTS_TRANSLUCENT",
"contents": "CONTENTS_TRANSLUCENT$0",
"kind": "keyword",
"details": "268435456"
},
{
"trigger": "CONTENTS_UNUSED",
"annotation": "CONTENTS_UNUSED",
"contents": "CONTENTS_UNUSED$0",
"kind": "keyword",
"details": "512"
},
{
"trigger": "CONTENTS_UNUSED6",
"annotation": "CONTENTS_UNUSED6",
"contents": "CONTENTS_UNUSED6$0",
"kind": "keyword",
"details": "1024"
},
{
"trigger": "CONTENTS_WATER",
"annotation": "CONTENTS_WATER",
"contents": "CONTENTS_WATER$0",
"kind": "keyword",
"details": "32"
},
{
"trigger": "CONTENTS_WINDOW",
"annotation": "CONTENTS_WINDOW",
"contents": "CONTENTS_WINDOW$0",
"kind": "keyword",
"details": "2"
},
{
"trigger": "CRIT_FULL",
"annotation": "CRIT_FULL",
"contents": "CRIT_FULL$0",
"kind": "keyword",
"details": "2"
},
{
"trigger": "CRIT_MINI",
"annotation": "CRIT_MINI",
"contents": "CRIT_MINI$0",
"kind": "keyword",
"details": "1"
},
{
"trigger": "CRIT_NONE",
"annotation": "CRIT_NONE",
"contents": "CRIT_NONE$0",
"kind": "keyword",
"details": "0"
},
{
"trigger": "CSimpleCallChainer",
"annotation": "CSimpleCallChainer(string functionPrefix, table scope = null, exactMatch = false)",
"contents": "CSimpleCallChainer(${1:string functionPrefix}, ${2:table scope = null}, ${3:exactMatch = false})$0",
"kind": "keyword",
"details": "Creates a CSimpleCallChainer object that'll collect functions that have a matching prefix in the given scope, unless it seek for an exact name match."
},
{
"trigger": "Call",
"annotation": "bool Call(any ...)",
"contents": "Call(${1:any ...})$0",
"kind": "keyword",
"details": "Call all functions inside the chain array with the given arguments."
},
{
"trigger": "CanAirDash",
"annotation": "bool CanAirDash()",
"contents": "CanAirDash()$0",
"kind": "keyword",
"details": "Can the player air dash/double jump?"
},
{
"trigger": "CanBeDebuffed",
"annotation": "bool CanBeDebuffed()",
"contents": "CanBeDebuffed()$0",
"kind": "keyword",
"details": ""
},
{
"trigger": "CanBeSelected",
"annotation": "bool CanBeSelected()",
"contents": "CanBeSelected()$0",
"kind": "keyword",
"details": "Can this weapon be selected"
},
{
"trigger": "CanBreatheUnderwater",
"annotation": "bool CanBreatheUnderwater()",
"contents": "CanBreatheUnderwater()$0",
"kind": "keyword",
"details": ""
},
{
"trigger": "CanDuck",
"annotation": "bool CanDuck()",
"contents": "CanDuck()$0",
"kind": "keyword",
"details": "Can the player duck?"
},
{
"trigger": "CanGetWet",
"annotation": "bool CanGetWet()",
"contents": "CanGetWet()$0",
"kind": "keyword",
"details": "Can the player get wet by jarate/milk?"
},
{
"trigger": "CanJump",
"annotation": "bool CanJump()",
"contents": "CanJump()$0",
"kind": "keyword",
"details": "Can the player jump?"
},
{
"trigger": "CanPlayerMove",
"annotation": "bool CanPlayerMove()",
"contents": "CanPlayerMove()$0",
"kind": "keyword",
"details": "Can the player move?"
},
{
"trigger": "CancelTaunt",
"annotation": "void CancelTaunt()",
"contents": "CancelTaunt()$0",
"kind": "keyword",
"details": "Cancels any taunt in progress"
},
{
"trigger": "ClearAllBotAttributes",
"annotation": "void ClearAllBotAttributes()",
"contents": "ClearAllBotAttributes()$0",
"kind": "keyword",
"details": "Clears all attribute flags on this TFBot"
},
{
"trigger": "ClearAllBotTags",
"annotation": "void ClearAllBotTags()",
"contents": "ClearAllBotTags()$0",
"kind": "keyword",
"details": "Clears bot tags"
},
{
"trigger": "ClearAllWeaponRestrictions",
"annotation": "void ClearAllWeaponRestrictions()",
"contents": "ClearAllWeaponRestrictions()$0",
"kind": "keyword",
"details": "Removes all weapon restriction flags"
},
{
"trigger": "ClearAttentionFocus",
"annotation": "void ClearAttentionFocus()",
"contents": "ClearAttentionFocus()$0",
"kind": "keyword",
"details": "Clear current focus"
},
{
"trigger": "ClearAttributeTF",
"annotation": "void ClearAttributeTF(int bits)",
"contents": "ClearAttributeTF(${1:int bits})$0",
"kind": "keyword",
"details": "Clear TF-specific area attribute bits."
},
{
"trigger": "ClearBehaviorFlag",
"annotation": "void ClearBehaviorFlag(int flags)",
"contents": "ClearBehaviorFlag(${1:int flags})$0",
"kind": "keyword",
"details": "clear the given behavior flag(s) for this bot. Does not work."
},
{
"trigger": "ClearCustomModelRotation",
"annotation": "void ClearCustomModelRotation()",
"contents": "ClearCustomModelRotation()$0",
"kind": "keyword",
"details": ""
},
{
"trigger": "ClearFlags",
"annotation": "void ClearFlags()",
"contents": "ClearFlags()$0",
"kind": "keyword",
"details": "Sets the player-related entity flags to 0 on an entity, clearing them."
},
{
"trigger": "ClearGameEventCallbacks",
"annotation": "void ClearGameEventCallbacks()",
"contents": "ClearGameEventCallbacks()$0",
"kind": "keyword",
"details": "Empties the tables of game event callback functions."
},
{
"trigger": "ClearImmobileStatus",
"annotation": "void ClearImmobileStatus()",
"contents": "ClearImmobileStatus()$0",
"kind": "keyword",
"details": "Clear immobile status"
},
{
"trigger": "ClearSolidFlags",
"annotation": "void ClearSolidFlags()",
"contents": "ClearSolidFlags()$0",
"kind": "keyword",
"details": "Sets Solid Flags to 0 on an entity, clearing them."
},
{
"trigger": "ClearSpells",
"annotation": "void ClearSpells()",
"contents": "ClearSpells()$0",
"kind": "keyword",
"details": ""
},
{
"trigger": "ClearStuckStatus",
"annotation": "void ClearStuckStatus(string reason)",
"contents": "ClearStuckStatus(${1:string reason})$0",
"kind": "keyword",
"details": "Reset stuck status to un-stuck. Reason message is shown when debugging nextbots."
},
{
"trigger": "ClearTauntAttack",
"annotation": "void ClearTauntAttack()",
"contents": "ClearTauntAttack()$0",
"kind": "keyword",
"details": "Stops active taunt from damaging or cancels Rock-Paper-Scissors result"
},
{
"trigger": "ClientPrint",
"annotation": "void ClientPrint(CBasePlayer player, EHudNotify destination, string message)",
"contents": "ClientPrint(${1:CBasePlayer player}, ${2:EHudNotify destination}, ${3:string message})$0",
"kind": "keyword",
"details": "Print a client message. If you pass null instead of a valid player, the message will be sent to all clients. When printing to chat (HUD_PRINTTALK), the color of the text can be changed by inserting this sequence: \\\\x07RRGGBB where RR GG BB is the hexadecimal format of the color. Transparency can be specified by a different sequence: \\\\x08RRGGBBAA, where RR GG BB AA is the hexadecimal format of the color + alpha. All text following this sequence will be colored. Multiple sequences can be used in combination. If using color sequences, there MUST be a color sequence at the beginning of the string, or color codes won't work!."
},
{
"trigger": "ClimbUpToLedge",
"annotation": "bool ClimbUpToLedge(Vector goalPos, vector goalForward, handle obstacle)",
"contents": "ClimbUpToLedge(${1:Vector goalPos}, ${2:vector goalForward}, ${3:handle obstacle})$0",
"kind": "keyword",
"details": "Initiate a jump to an adjacent high ledge, return false if climb can't start"
},
{
"trigger": "Clip1",
"annotation": "int Clip1()",
"contents": "Clip1()$0",
"kind": "keyword",
"details": "Current ammo in clip1"
},
{
"trigger": "Clip2",
"annotation": "int Clip2()",
"contents": "Clip2()$0",
"kind": "keyword",
"details": "Current ammo in clip2"
},
{
"trigger": "ComputeClosestPointInPortal",
"annotation": "Vector ComputeClosestPointInPortal(handle to, ENavDirType dir, Vector closePos)",
"contents": "ComputeClosestPointInPortal(${1:handle to}, ${2:ENavDirType dir}, ${3:Vector closePos})$0",
"kind": "keyword",
"details": "Compute closest point within the portal between to adjacent areas."
},
{
"trigger": "ComputeDirection",
"annotation": "int ComputeDirection(Vector point)",
"contents": "ComputeDirection(${1:Vector point})$0",
"kind": "keyword",
"details": "Return direction from this area to the given point."
},
{
"trigger": "ComputeUpdateInterval",
"annotation": "bool ComputeUpdateInterval()",
"contents": "ComputeUpdateInterval()$0",
"kind": "keyword",
"details": "Recomputes the component update interval"
},
{
"trigger": "ConnectOutput",
"annotation": "void ConnectOutput(string output, string function)",
"contents": "ConnectOutput(${1:string output}, ${2:string function})$0",
"kind": "keyword",
"details": "Adds an I/O connection that will call the named function when the specified output fires."
},
{
"trigger": "ConnectOutputs",
"annotation": "void ConnectOutputs(handle scope)",
"contents": "ConnectOutputs(${1:handle scope})$0",
"kind": "keyword",
"details": "Global function called after an entity with an script assigned spawns (i.e. vscripts keyvalue is not blank). Unlike OnPostSpawn, this is called immediately and therefore on map respawn, some entities may not exist during this point."
},
{
"trigger": "ConnectTo",
"annotation": "void ConnectTo(handle area, ENavDirType dir)",
"contents": "ConnectTo(${1:handle area}, ${2:ENavDirType dir})$0",
"kind": "keyword",
"details": "Connect this area to given area in given direction."
},
{
"trigger": "ConstantNamingConvention",
"annotation": "ConstantNamingConvention",
"contents": "ConstantNamingConvention$0",
"kind": "keyword",
"details": "Constants are named as follows: F -> flags, E -> enums, (nothing) -> random values/constants"
},
{
"trigger": "Constants",
"annotation": "Constants",
"contents": "Constants$0",
"kind": "keyword",
"details": "Enumerations for various function arguments or netprops."
},
{
"trigger": "Contains",
"annotation": "bool Contains(handle area)",
"contents": "Contains(${1:handle area})$0",
"kind": "keyword",
"details": "Return true if other area is on or above this area, but no others."
},
{
"trigger": "ContainsOrigin",
"annotation": "bool ContainsOrigin(Vector point)",
"contents": "ContainsOrigin(${1:Vector point})$0",
"kind": "keyword",
"details": "Return true if given point is on or above this area, but no others."
},
{
"trigger": "CreateByClassname",
"annotation": "handle CreateByClassname(string classname)",
"contents": "CreateByClassname(${1:string classname})$0",
"kind": "keyword",
"details": "Creates an entity by classname"
},
{
"trigger": "CreateProp",
"annotation": "handle CreateProp(string classname, Vector origin, string model_name, int activity)",
"contents": "CreateProp(${1:string classname}, ${2:Vector origin}, ${3:string model_name}, ${4:int activity})$0",
"kind": "keyword",
"details": "Create a prop"
},
{
"trigger": "CreateSceneEntity",
"annotation": "handle CreateSceneEntity(string scene)",
"contents": "CreateSceneEntity(${1:string scene})$0",
"kind": "keyword",
"details": "Create a scene entity to play the specified scene."
},
{
"trigger": "Cross",
"annotation": "float Cross(Vector factor)",
"contents": "Cross(${1:Vector factor})$0",
"kind": "keyword",
"details": "The vector product of two vectors. Returns a vector orthogonal to the input vectors."
},
{
"trigger": "DISABLE_DODGE",
"annotation": "DISABLE_DODGE",
"contents": "DISABLE_DODGE$0",
"kind": "keyword",
"details": "16"
},
{
"trigger": "DIST_EPSILON",
"annotation": "DIST_EPSILON",
"contents": "DIST_EPSILON$0",
"kind": "keyword",
"details": "0.03125"
},
{
"trigger": "DMG_ACID",
"annotation": "DMG_ACID",