@tlua/gmod 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/achievementicon.d.tlua +0 -1
- package/types/achievements.d.tlua +15 -16
- package/types/ai.d.tlua +5 -6
- package/types/ai_schedule.d.tlua +0 -1
- package/types/ai_task.d.tlua +0 -1
- package/types/angle.d.tlua +18 -19
- package/types/avatarimage.d.tlua +0 -1
- package/types/awesomium.d.tlua +0 -1
- package/types/baseclass.d.tlua +1 -3
- package/types/bf_read.d.tlua +10 -12
- package/types/bit.d.tlua +11 -12
- package/types/button.d.tlua +0 -1
- package/types/cam.d.tlua +16 -17
- package/types/ceffectdata.d.tlua +31 -33
- package/types/chat.d.tlua +5 -6
- package/types/checkbutton.d.tlua +0 -1
- package/types/cleanup.d.tlua +7 -8
- package/types/cluaemitter.d.tlua +11 -13
- package/types/clualocomotion.d.tlua +39 -41
- package/types/cluaparticle.d.tlua +43 -45
- package/types/cmovedata.d.tlua +46 -48
- package/types/cnavarea.d.tlua +76 -78
- package/types/cnavladder.d.tlua +21 -23
- package/types/cnewparticleeffect.d.tlua +25 -27
- package/types/color.d.tlua +28 -29
- package/types/concommand.d.tlua +4 -5
- package/types/constraint.d.tlua +28 -29
- package/types/construct.d.tlua +1 -2
- package/types/contentheader.d.tlua +1 -3
- package/types/contenticon.d.tlua +7 -9
- package/types/contentsidebar.d.tlua +2 -4
- package/types/contentsidebartoolbox.d.tlua +0 -1
- package/types/contextbase.d.tlua +2 -4
- package/types/controlpanel.d.tlua +11 -14
- package/types/controlpresets.d.tlua +11 -13
- package/types/convar.d.tlua +15 -17
- package/types/cookie.d.tlua +3 -4
- package/types/coroutine.d.tlua +7 -8
- package/types/crecipientfilter.d.tlua +15 -17
- package/types/csent.d.tlua +0 -1
- package/types/csoundpatch.d.tlua +13 -15
- package/types/ctakedamageinfo.d.tlua +32 -34
- package/types/ctrllistbox.d.tlua +0 -1
- package/types/ctrlnumpad.d.tlua +5 -7
- package/types/cusercmd.d.tlua +26 -28
- package/types/custom_entity_fields.d.tlua +0 -1
- package/types/cvars.d.tlua +6 -7
- package/types/dadjustablemodelpanel.d.tlua +5 -7
- package/types/dalphabar.d.tlua +1 -3
- package/types/dbinder.d.tlua +2 -4
- package/types/dbubblecontainer.d.tlua +0 -2
- package/types/dbutton.d.tlua +6 -8
- package/types/dcategoryheader.d.tlua +0 -1
- package/types/dcategorylist.d.tlua +0 -1
- package/types/dcheckbox.d.tlua +3 -5
- package/types/dcheckboxlabel.d.tlua +9 -10
- package/types/dcollapsiblecategory.d.tlua +21 -23
- package/types/dcolorbutton.d.tlua +5 -7
- package/types/dcolorcombo.d.tlua +3 -5
- package/types/dcolorcube.d.tlua +11 -13
- package/types/dcolormixer.d.tlua +25 -27
- package/types/dcolorpalette.d.tlua +21 -23
- package/types/dcolumnsheet.d.tlua +3 -5
- package/types/dcombobox.d.tlua +15 -17
- package/types/ddragbase.d.tlua +11 -13
- package/types/ddrawer.d.tlua +6 -8
- package/types/debug.d.tlua +16 -19
- package/types/debugoverlay.d.tlua +11 -12
- package/types/dentityproperties.d.tlua +3 -5
- package/types/derma.d.tlua +10 -11
- package/types/dexpandbutton.d.tlua +1 -3
- package/types/dfilebrowser.d.tlua +20 -21
- package/types/dform.d.tlua +16 -18
- package/types/dframe.d.tlua +24 -25
- package/types/dgrid.d.tlua +9 -11
- package/types/dhorizontaldivider.d.tlua +18 -20
- package/types/dhorizontalscroller.d.tlua +9 -11
- package/types/dhscrollbar.d.tlua +9 -11
- package/types/dhtml.d.tlua +6 -8
- package/types/dhtmlcontrols.d.tlua +5 -6
- package/types/diconbrowser.d.tlua +9 -11
- package/types/diconlayout.d.tlua +16 -18
- package/types/dimage.d.tlua +17 -20
- package/types/dimagebutton.d.tlua +9 -10
- package/types/dkillicon.d.tlua +0 -1
- package/types/dlabel.d.tlua +31 -33
- package/types/dlabeleditable.d.tlua +3 -5
- package/types/dlabelurl.d.tlua +8 -10
- package/types/dlistbox.d.tlua +6 -8
- package/types/dlistboxitem.d.tlua +2 -4
- package/types/dlistlayout.d.tlua +0 -1
- package/types/dlistview.d.tlua +32 -34
- package/types/dlistview_column.d.tlua +12 -14
- package/types/dlistview_columnplain.d.tlua +0 -1
- package/types/dlistview_draggerbar.d.tlua +0 -1
- package/types/dlistview_line.d.tlua +11 -13
- package/types/dlistviewheaderlabel.d.tlua +0 -1
- package/types/dlistviewlabel.d.tlua +0 -1
- package/types/dlistviewline.d.tlua +0 -1
- package/types/dmenu.d.tlua +23 -28
- package/types/dmenubar.d.tlua +2 -7
- package/types/dmenuoption.d.tlua +11 -13
- package/types/dmenuoptioncvar.d.tlua +4 -6
- package/types/dmodelpanel.d.tlua +20 -22
- package/types/dmodelselect.d.tlua +0 -2
- package/types/dmodelselectmulti.d.tlua +0 -2
- package/types/dnotify.d.tlua +8 -10
- package/types/dnumberscratch.d.tlua +24 -26
- package/types/dnumberwang.d.tlua +14 -16
- package/types/dnumpad.d.tlua +0 -1
- package/types/dnumslider.d.tlua +17 -18
- package/types/dpanel.d.tlua +12 -14
- package/types/dpanellist.d.tlua +11 -12
- package/types/dpaneloverlay.d.tlua +5 -7
- package/types/dpanelselect.d.tlua +0 -1
- package/types/dpanpanel.d.tlua +4 -6
- package/types/dprogress.d.tlua +1 -3
- package/types/dproperties.d.tlua +2 -4
- package/types/dproperty_boolean.d.tlua +0 -1
- package/types/dproperty_combo.d.tlua +1 -3
- package/types/dproperty_entity.d.tlua +0 -1
- package/types/dproperty_float.d.tlua +0 -1
- package/types/dproperty_generic.d.tlua +3 -5
- package/types/dproperty_int.d.tlua +0 -1
- package/types/dproperty_vectorcolor.d.tlua +0 -1
- package/types/dpropertysheet.d.tlua +15 -17
- package/types/dragndrop.d.tlua +10 -11
- package/types/draw.d.tlua +10 -12
- package/types/drgbpicker.d.tlua +2 -4
- package/types/drive.d.tlua +11 -13
- package/types/dscrollbargrip.d.tlua +0 -1
- package/types/dscrollpanel.d.tlua +10 -11
- package/types/dshape.d.tlua +5 -7
- package/types/dsizetocontents.d.tlua +3 -5
- package/types/dslider.d.tlua +26 -28
- package/types/dsprite.d.tlua +7 -9
- package/types/dtab.d.tlua +6 -8
- package/types/dtextentry.d.tlua +41 -43
- package/types/dtilelayout.d.tlua +19 -21
- package/types/dtooltip.d.tlua +4 -6
- package/types/dtree.d.tlua +14 -16
- package/types/dtree_node.d.tlua +66 -68
- package/types/dtree_node_button.d.tlua +0 -1
- package/types/duplicator.d.tlua +29 -31
- package/types/dverticaldivider.d.tlua +21 -23
- package/types/dvscrollbar.d.tlua +9 -11
- package/types/editablepanel.d.tlua +0 -1
- package/types/effect.d.tlua +2 -4
- package/types/effects.d.tlua +6 -7
- package/types/engine.d.tlua +21 -22
- package/types/entity.d.tlua +643 -674
- package/types/ents.d.tlua +19 -25
- package/types/enums.d.tlua +0 -1
- package/types/file.d.tlua +39 -40
- package/types/file_class.d.tlua +0 -1
- package/types/fingerposer.d.tlua +0 -1
- package/types/fingervar.d.tlua +0 -1
- package/types/frame.d.tlua +0 -1
- package/types/frame_blend.d.tlua +7 -8
- package/types/game.d.tlua +39 -40
- package/types/gameevent.d.tlua +0 -1
- package/types/gamemode.d.tlua +2 -4
- package/types/global.d.tlua +0 -18
- package/types/gm.d.tlua +266 -268
- package/types/gmod.d.tlua +0 -1
- package/types/gmsave.d.tlua +4 -5
- package/types/gui.d.tlua +21 -22
- package/types/gwen.d.tlua +3 -4
- package/types/halo.d.tlua +2 -3
- package/types/hammer.d.tlua +0 -1
- package/types/hook.d.tlua +4 -5
- package/types/html.d.tlua +0 -1
- package/types/http.d.tlua +1 -2
- package/types/iconeditor.d.tlua +9 -11
- package/types/igmodaudiochannel.d.tlua +40 -42
- package/types/imagecheckbox.d.tlua +2 -4
- package/types/imaterial.d.tlua +25 -27
- package/types/imesh.d.tlua +4 -6
- package/types/input.d.tlua +22 -25
- package/types/invalidateinternalentitycache.d.tlua +0 -1
- package/types/irestore.d.tlua +8 -10
- package/types/isave.d.tlua +8 -10
- package/types/itexture.d.tlua +9 -11
- package/types/ivideowriter.d.tlua +4 -6
- package/types/jit.d.tlua +16 -17
- package/types/killicon.d.tlua +7 -8
- package/types/label.d.tlua +0 -1
- package/types/language.d.tlua +1 -2
- package/types/list.d.tlua +8 -9
- package/types/makeballoon.d.tlua +0 -1
- package/types/markup.d.tlua +2 -3
- package/types/markupobject.d.tlua +4 -6
- package/types/material.d.tlua +0 -1
- package/types/math.d.tlua +83 -84
- package/types/matproxy.d.tlua +3 -4
- package/types/matselect.d.tlua +9 -11
- package/types/menu.d.tlua +0 -1
- package/types/menubar.d.tlua +2 -3
- package/types/mesh.d.tlua +19 -20
- package/types/modelimage.d.tlua +0 -1
- package/types/motionsensor.d.tlua +10 -11
- package/types/navmesh.d.tlua +26 -27
- package/types/net.d.tlua +51 -53
- package/types/nextbot.d.tlua +34 -37
- package/types/notification.d.tlua +2 -3
- package/types/npc.d.tlua +180 -182
- package/types/numpad.d.tlua +7 -8
- package/types/os.d.tlua +3 -5
- package/types/package.d.tlua +0 -1
- package/types/panel.d.tlua +329 -331
- package/types/panellist.d.tlua +0 -1
- package/types/pathfollower.d.tlua +30 -32
- package/types/permissions.d.tlua +6 -7
- package/types/physcollide.d.tlua +2 -4
- package/types/physenv.d.tlua +11 -12
- package/types/physobj.d.tlua +77 -79
- package/types/pixelvis_handle_t.d.tlua +0 -1
- package/types/player.d.tlua +288 -293
- package/types/player_manager.d.tlua +13 -14
- package/types/preseteditor.d.tlua +0 -1
- package/types/presets.d.tlua +6 -7
- package/types/projectedtexture.d.tlua +47 -49
- package/types/properties.d.tlua +5 -6
- package/types/propselect.d.tlua +3 -5
- package/types/radiobutton.d.tlua +0 -1
- package/types/render.d.tlua +142 -143
- package/types/resource.d.tlua +2 -3
- package/types/richtext.d.tlua +0 -1
- package/types/sandbox.d.tlua +52 -54
- package/types/saverestore.d.tlua +12 -13
- package/types/schedule.d.tlua +5 -7
- package/types/scripted_ents.d.tlua +9 -12
- package/types/search.d.tlua +1 -2
- package/types/serverlist.d.tlua +7 -8
- package/types/slidebar.d.tlua +0 -1
- package/types/slider.d.tlua +0 -1
- package/types/sound.d.tlua +10 -11
- package/types/spawnicon.d.tlua +6 -8
- package/types/spawnmenu.d.tlua +23 -25
- package/types/spawnmenucontentpanel.d.tlua +3 -5
- package/types/sql.d.tlua +9 -10
- package/types/stack.d.tlua +4 -6
- package/types/steamworks.d.tlua +18 -19
- package/types/string.d.tlua +46 -50
- package/types/structures.d.tlua +0 -7
- package/types/surface.d.tlua +34 -35
- package/types/surfaceinfo.d.tlua +4 -6
- package/types/system.d.tlua +10 -11
- package/types/table.d.tlua +45 -48
- package/types/task.d.tlua +8 -10
- package/types/team.d.tlua +19 -20
- package/types/textentry.d.tlua +0 -1
- package/types/tgaimage.d.tlua +0 -1
- package/types/timer.d.tlua +14 -15
- package/types/tool.d.tlua +42 -46
- package/types/ugcpublishwindow.d.tlua +7 -9
- package/types/umsg.d.tlua +12 -13
- package/types/undo.d.tlua +10 -11
- package/types/urllabel.d.tlua +0 -1
- package/types/usermessage.d.tlua +2 -3
- package/types/utf8.d.tlua +7 -8
- package/types/util.d.tlua +90 -95
- package/types/vector.d.tlua +36 -37
- package/types/vehicle.d.tlua +48 -51
- package/types/vgui.d.tlua +14 -19
- package/types/video.d.tlua +0 -1
- package/types/vmatrix.d.tlua +35 -36
- package/types/weapon.d.tlua +81 -84
- package/types/weapons.d.tlua +5 -7
- package/types/widgets.d.tlua +1 -2
- package/types/workshopfilebase.d.tlua +4 -6
package/types/npc.d.tlua
CHANGED
|
@@ -15,6 +15,7 @@ interface NPC extends Entity {
|
|
|
15
15
|
* @source https://wiki.facepunch.com/gmod/NPC:AddEntityRelationship
|
|
16
16
|
*/
|
|
17
17
|
AddEntityRelationship(self: NPC, target: Entity, disposition: number, priority?: number): void;
|
|
18
|
+
|
|
18
19
|
/**
|
|
19
20
|
* Changes how an NPC feels towards another NPC. If you want to setup relationship towards a certain `entity`, use [NPC:AddEntityRelationship](https://wiki.facepunch.com/gmod/NPC:AddEntityRelationship).
|
|
20
21
|
*
|
|
@@ -25,6 +26,7 @@ interface NPC extends Entity {
|
|
|
25
26
|
* @source https://wiki.facepunch.com/gmod/NPC:AddRelationship
|
|
26
27
|
*/
|
|
27
28
|
AddRelationship(self: NPC, relationstring: string): void;
|
|
29
|
+
|
|
28
30
|
/**
|
|
29
31
|
* Advances the NPC on its path to the next waypoint.
|
|
30
32
|
* **WARNING**: Calling this on an NPC without any route will result in an instant crash.
|
|
@@ -34,54 +36,63 @@ interface NPC extends Entity {
|
|
|
34
36
|
* @source https://wiki.facepunch.com/gmod/NPC:AdvancePath
|
|
35
37
|
*/
|
|
36
38
|
AdvancePath(self: NPC): void;
|
|
39
|
+
|
|
37
40
|
/**
|
|
38
41
|
* Force an NPC to play their Alert sound.
|
|
39
42
|
* @realm server
|
|
40
43
|
* @source https://wiki.facepunch.com/gmod/NPC:AlertSound
|
|
41
44
|
*/
|
|
42
45
|
AlertSound(self: NPC): void;
|
|
46
|
+
|
|
43
47
|
/**
|
|
44
48
|
* Executes any movement the current sequence may have.
|
|
45
49
|
* @realm server
|
|
46
50
|
* @source https://wiki.facepunch.com/gmod/NPC:AutoMovement
|
|
47
51
|
*/
|
|
48
52
|
AutoMovement(self: NPC, interval: number, target?: Entity): boolean;
|
|
53
|
+
|
|
49
54
|
/**
|
|
50
55
|
* Become a ragdoll and remove the entity. Internally handles serverside/clientside ragdoll creation, momentum calculation, triggering ragdoll creation hooks / events and cloning entity's bone transforms to the created ragdoll.
|
|
51
56
|
* @realm server
|
|
52
57
|
* @source https://wiki.facepunch.com/gmod/NPC:BecomeRagdoll
|
|
53
58
|
*/
|
|
54
59
|
BecomeRagdoll(self: NPC, info: CTakeDamageInfo): Entity;
|
|
60
|
+
|
|
55
61
|
/**
|
|
56
62
|
* Adds a capability to the NPC.
|
|
57
63
|
* @realm server
|
|
58
64
|
* @source https://wiki.facepunch.com/gmod/NPC:CapabilitiesAdd
|
|
59
65
|
*/
|
|
60
66
|
CapabilitiesAdd(self: NPC, capabilities: CAP): void;
|
|
67
|
+
|
|
61
68
|
/**
|
|
62
69
|
* Removes all of Capabilities the NPC has.
|
|
63
70
|
* @realm server
|
|
64
71
|
* @source https://wiki.facepunch.com/gmod/NPC:CapabilitiesClear
|
|
65
72
|
*/
|
|
66
73
|
CapabilitiesClear(self: NPC): void;
|
|
74
|
+
|
|
67
75
|
/**
|
|
68
76
|
* Returns the NPC's capabilities along the ones defined on its weapon.
|
|
69
77
|
* @realm server
|
|
70
78
|
* @source https://wiki.facepunch.com/gmod/NPC:CapabilitiesGet
|
|
71
79
|
*/
|
|
72
80
|
CapabilitiesGet(self: NPC): CAP;
|
|
81
|
+
|
|
73
82
|
/**
|
|
74
83
|
* Checks whether the NPC has the specified capabilities.
|
|
75
84
|
* @realm server
|
|
76
85
|
* @source https://wiki.facepunch.com/gmod/NPC:CapabilitiesHas
|
|
77
86
|
*/
|
|
78
87
|
CapabilitiesHas(self: NPC, capabilities: CAP): void;
|
|
88
|
+
|
|
79
89
|
/**
|
|
80
90
|
* Remove a certain capability.
|
|
81
91
|
* @realm server
|
|
82
92
|
* @source https://wiki.facepunch.com/gmod/NPC:CapabilitiesRemove
|
|
83
93
|
*/
|
|
84
94
|
CapabilitiesRemove(self: NPC, capabilities: number): void;
|
|
95
|
+
|
|
85
96
|
/**
|
|
86
97
|
* Returns the NPC relationship class. This is mostly used to tell NPCs who should be attacking who.
|
|
87
98
|
*
|
|
@@ -90,42 +101,49 @@ interface NPC extends Entity {
|
|
|
90
101
|
* @source https://wiki.facepunch.com/gmod/NPC:Classify
|
|
91
102
|
*/
|
|
92
103
|
Classify(self: NPC): CLASS;
|
|
104
|
+
|
|
93
105
|
/**
|
|
94
106
|
* Resets the [NPC:GetBlockingEntity](https://wiki.facepunch.com/gmod/NPC:GetBlockingEntity).
|
|
95
107
|
* @realm server
|
|
96
108
|
* @source https://wiki.facepunch.com/gmod/NPC:ClearBlockingEntity
|
|
97
109
|
*/
|
|
98
110
|
ClearBlockingEntity(self: NPC): void;
|
|
111
|
+
|
|
99
112
|
/**
|
|
100
113
|
* Clears out the specified [Enums/COND](https://wiki.facepunch.com/gmod/Enums/COND) on this NPC.
|
|
101
114
|
* @realm server
|
|
102
115
|
* @source https://wiki.facepunch.com/gmod/NPC:ClearCondition
|
|
103
116
|
*/
|
|
104
117
|
ClearCondition(self: NPC, condition: number): void;
|
|
118
|
+
|
|
105
119
|
/**
|
|
106
120
|
* Clears the Enemy from the NPC's memory, effectively forgetting it until met again with either the NPC vision or with [NPC:UpdateEnemyMemory](https://wiki.facepunch.com/gmod/NPC:UpdateEnemyMemory).
|
|
107
121
|
* @realm server
|
|
108
122
|
* @source https://wiki.facepunch.com/gmod/NPC:ClearEnemyMemory
|
|
109
123
|
*/
|
|
110
124
|
ClearEnemyMemory(self: NPC, enemy?: Entity): void;
|
|
125
|
+
|
|
111
126
|
/**
|
|
112
127
|
* Clears the NPC's current expression which can be set with [NPC:SetExpression](https://wiki.facepunch.com/gmod/NPC:SetExpression).
|
|
113
128
|
* @realm server
|
|
114
129
|
* @source https://wiki.facepunch.com/gmod/NPC:ClearExpression
|
|
115
130
|
*/
|
|
116
131
|
ClearExpression(self: NPC): void;
|
|
132
|
+
|
|
117
133
|
/**
|
|
118
134
|
* Clears the current NPC goal or target.
|
|
119
135
|
* @realm server
|
|
120
136
|
* @source https://wiki.facepunch.com/gmod/NPC:ClearGoal
|
|
121
137
|
*/
|
|
122
138
|
ClearGoal(self: NPC): void;
|
|
139
|
+
|
|
123
140
|
/**
|
|
124
141
|
* Stops the current schedule that the NPC is doing.
|
|
125
142
|
* @realm server
|
|
126
143
|
* @source https://wiki.facepunch.com/gmod/NPC:ClearSchedule
|
|
127
144
|
*/
|
|
128
145
|
ClearSchedule(self: NPC): void;
|
|
146
|
+
|
|
129
147
|
/**
|
|
130
148
|
* Returns the ID of a given condition by name. Opposite of [NPC:ConditionName](https://wiki.facepunch.com/gmod/NPC:ConditionName).
|
|
131
149
|
*
|
|
@@ -135,12 +153,14 @@ interface NPC extends Entity {
|
|
|
135
153
|
* @source https://wiki.facepunch.com/gmod/NPC:ConditionID
|
|
136
154
|
*/
|
|
137
155
|
ConditionID(self: NPC, conditionName: string): number;
|
|
156
|
+
|
|
138
157
|
/**
|
|
139
158
|
* Translates condition ID to a string. For the opposite process, see [NPC:ConditionID](https://wiki.facepunch.com/gmod/NPC:ConditionID).
|
|
140
159
|
* @realm server
|
|
141
160
|
* @source https://wiki.facepunch.com/gmod/NPC:ConditionName
|
|
142
161
|
*/
|
|
143
162
|
ConditionName(self: NPC, cond: number): string;
|
|
163
|
+
|
|
144
164
|
/**
|
|
145
165
|
* Returns the way the NPC "feels" about a given entity. See [NPC:AddEntityRelationship](https://wiki.facepunch.com/gmod/NPC:AddEntityRelationship).
|
|
146
166
|
*
|
|
@@ -152,42 +172,49 @@ interface NPC extends Entity {
|
|
|
152
172
|
* @source https://wiki.facepunch.com/gmod/NPC:Disposition
|
|
153
173
|
*/
|
|
154
174
|
Disposition(self: NPC, ent: Entity): (D, number);
|
|
175
|
+
|
|
155
176
|
/**
|
|
156
177
|
* Forces the NPC to drop the specified weapon.
|
|
157
178
|
* @realm server
|
|
158
179
|
* @source https://wiki.facepunch.com/gmod/NPC:DropWeapon
|
|
159
180
|
*/
|
|
160
181
|
DropWeapon(self: NPC, weapon?: Weapon, target?: Vector, velocity?: Vector): void;
|
|
182
|
+
|
|
161
183
|
/**
|
|
162
184
|
* Makes an NPC exit a scripted sequence, if one is playing.
|
|
163
185
|
* @realm server
|
|
164
186
|
* @source https://wiki.facepunch.com/gmod/NPC:ExitScriptedSequence
|
|
165
187
|
*/
|
|
166
188
|
ExitScriptedSequence(self: NPC): void;
|
|
189
|
+
|
|
167
190
|
/**
|
|
168
191
|
* Force an NPC to play its Fear sound.
|
|
169
192
|
* @realm server
|
|
170
193
|
* @source https://wiki.facepunch.com/gmod/NPC:FearSound
|
|
171
194
|
*/
|
|
172
195
|
FearSound(self: NPC): void;
|
|
196
|
+
|
|
173
197
|
/**
|
|
174
198
|
* Force an NPC to play its FoundEnemy sound.
|
|
175
199
|
* @realm server
|
|
176
200
|
* @source https://wiki.facepunch.com/gmod/NPC:FoundEnemySound
|
|
177
201
|
*/
|
|
178
202
|
FoundEnemySound(self: NPC): void;
|
|
203
|
+
|
|
179
204
|
/**
|
|
180
205
|
* Returns the weapon the NPC is currently carrying, or [NULL](https://wiki.facepunch.com/gmod/Global_Variables).
|
|
181
206
|
* @realm shared
|
|
182
207
|
* @source https://wiki.facepunch.com/gmod/NPC:GetActiveWeapon
|
|
183
208
|
*/
|
|
184
209
|
GetActiveWeapon(self: NPC): Entity;
|
|
210
|
+
|
|
185
211
|
/**
|
|
186
212
|
* Returns the NPC's current activity.
|
|
187
213
|
* @realm server
|
|
188
214
|
* @source https://wiki.facepunch.com/gmod/NPC:GetActivity
|
|
189
215
|
*/
|
|
190
216
|
GetActivity(self: NPC): number;
|
|
217
|
+
|
|
191
218
|
/**
|
|
192
219
|
* Returns the aim vector of the NPC. NPC alternative of [Player:GetAimVector](https://wiki.facepunch.com/gmod/Player:GetAimVector).
|
|
193
220
|
*
|
|
@@ -198,18 +225,21 @@ interface NPC extends Entity {
|
|
|
198
225
|
* @source https://wiki.facepunch.com/gmod/NPC:GetAimVector
|
|
199
226
|
*/
|
|
200
227
|
GetAimVector(self: NPC): Vector;
|
|
228
|
+
|
|
201
229
|
/**
|
|
202
230
|
* Returns the activity to be played when the NPC arrives at its goal
|
|
203
231
|
* @realm server
|
|
204
232
|
* @source https://wiki.facepunch.com/gmod/NPC:GetArrivalActivity
|
|
205
233
|
*/
|
|
206
234
|
GetArrivalActivity(self: NPC): number;
|
|
235
|
+
|
|
207
236
|
/**
|
|
208
237
|
* Returns the direction from the NPC origin to its current navigational destination.
|
|
209
238
|
* @realm server
|
|
210
239
|
* @source https://wiki.facepunch.com/gmod/NPC:GetArrivalDirection
|
|
211
240
|
*/
|
|
212
241
|
GetArrivalDirection(self: NPC): Vector;
|
|
242
|
+
|
|
213
243
|
/**
|
|
214
244
|
* Returns NPC arrival distance, set by [NPC:SetArrivalDistance](https://wiki.facepunch.com/gmod/NPC:SetArrivalDistance).
|
|
215
245
|
*
|
|
@@ -217,12 +247,14 @@ interface NPC extends Entity {
|
|
|
217
247
|
* @source https://wiki.facepunch.com/gmod/NPC:GetArrivalDistance
|
|
218
248
|
*/
|
|
219
249
|
GetArrivalDistance(self: NPC): number;
|
|
250
|
+
|
|
220
251
|
/**
|
|
221
252
|
* Returns the sequence to be played when the NPC arrives at its goal.
|
|
222
253
|
* @realm server
|
|
223
254
|
* @source https://wiki.facepunch.com/gmod/NPC:GetArrivalSequence
|
|
224
255
|
*/
|
|
225
256
|
GetArrivalSequence(self: NPC): number;
|
|
257
|
+
|
|
226
258
|
/**
|
|
227
259
|
* Returns NPC arrival speed, set by [NPC:SetArrivalSpeed](https://wiki.facepunch.com/gmod/NPC:SetArrivalSpeed).
|
|
228
260
|
*
|
|
@@ -230,42 +262,49 @@ interface NPC extends Entity {
|
|
|
230
262
|
* @source https://wiki.facepunch.com/gmod/NPC:GetArrivalSpeed
|
|
231
263
|
*/
|
|
232
264
|
GetArrivalSpeed(self: NPC): number;
|
|
265
|
+
|
|
233
266
|
/**
|
|
234
267
|
* Returns the most dangerous/closest sound hint based on the NPCs location and the types of sounds it can sense.
|
|
235
268
|
* @realm server
|
|
236
269
|
* @source https://wiki.facepunch.com/gmod/NPC:GetBestSoundHint
|
|
237
270
|
*/
|
|
238
271
|
GetBestSoundHint(self: NPC, types: number): table;
|
|
272
|
+
|
|
239
273
|
/**
|
|
240
274
|
* Returns the entity blocking the NPC along its path.
|
|
241
275
|
* @realm server
|
|
242
276
|
* @source https://wiki.facepunch.com/gmod/NPC:GetBlockingEntity
|
|
243
277
|
*/
|
|
244
278
|
GetBlockingEntity(self: NPC): Entity;
|
|
279
|
+
|
|
245
280
|
/**
|
|
246
281
|
* Returns the goal type for current navigation path.
|
|
247
282
|
* @realm server
|
|
248
283
|
* @source https://wiki.facepunch.com/gmod/NPC:GetCurGoalType
|
|
249
284
|
*/
|
|
250
285
|
GetCurGoalType(self: NPC): number;
|
|
286
|
+
|
|
251
287
|
/**
|
|
252
288
|
* Gets the NPC's current waypoint position (where NPC is currently moving towards), if any is available.
|
|
253
289
|
* @realm server
|
|
254
290
|
* @source https://wiki.facepunch.com/gmod/NPC:GetCurWaypointPos
|
|
255
291
|
*/
|
|
256
292
|
GetCurWaypointPos(self: NPC): Vector;
|
|
293
|
+
|
|
257
294
|
/**
|
|
258
295
|
* Returns the NPC's current schedule.
|
|
259
296
|
* @realm server
|
|
260
297
|
* @source https://wiki.facepunch.com/gmod/NPC:GetCurrentSchedule
|
|
261
298
|
*/
|
|
262
299
|
GetCurrentSchedule(self: NPC): number;
|
|
300
|
+
|
|
263
301
|
/**
|
|
264
302
|
* Returns how proficient (skilled) an NPC is with its current weapon.
|
|
265
303
|
* @realm server
|
|
266
304
|
* @source https://wiki.facepunch.com/gmod/NPC:GetCurrentWeaponProficiency
|
|
267
305
|
*/
|
|
268
306
|
GetCurrentWeaponProficiency(self: NPC): number;
|
|
307
|
+
|
|
269
308
|
/**
|
|
270
309
|
* Returns the entity that this NPC is trying to fight.
|
|
271
310
|
*
|
|
@@ -275,12 +314,14 @@ interface NPC extends Entity {
|
|
|
275
314
|
* @source https://wiki.facepunch.com/gmod/NPC:GetEnemy
|
|
276
315
|
*/
|
|
277
316
|
GetEnemy(self: NPC): NPC;
|
|
317
|
+
|
|
278
318
|
/**
|
|
279
319
|
* Returns the first time an NPC's enemy was seen by the NPC.
|
|
280
320
|
* @realm server
|
|
281
321
|
* @source https://wiki.facepunch.com/gmod/NPC:GetEnemyFirstTimeSeen
|
|
282
322
|
*/
|
|
283
323
|
GetEnemyFirstTimeSeen(self: NPC, enemy?: Entity): number;
|
|
324
|
+
|
|
284
325
|
/**
|
|
285
326
|
* Returns the last known position of an NPC's enemy.
|
|
286
327
|
*
|
|
@@ -289,6 +330,7 @@ interface NPC extends Entity {
|
|
|
289
330
|
* @source https://wiki.facepunch.com/gmod/NPC:GetEnemyLastKnownPos
|
|
290
331
|
*/
|
|
291
332
|
GetEnemyLastKnownPos(self: NPC, enemy?: Entity): Vector;
|
|
333
|
+
|
|
292
334
|
/**
|
|
293
335
|
* Returns the last seen position of an NPC's enemy.
|
|
294
336
|
*
|
|
@@ -297,54 +339,63 @@ interface NPC extends Entity {
|
|
|
297
339
|
* @source https://wiki.facepunch.com/gmod/NPC:GetEnemyLastSeenPos
|
|
298
340
|
*/
|
|
299
341
|
GetEnemyLastSeenPos(self: NPC, enemy?: Entity): Vector;
|
|
342
|
+
|
|
300
343
|
/**
|
|
301
344
|
* Returns the last time an NPC's enemy was seen by the NPC.
|
|
302
345
|
* @realm server
|
|
303
346
|
* @source https://wiki.facepunch.com/gmod/NPC:GetEnemyLastTimeSeen
|
|
304
347
|
*/
|
|
305
348
|
GetEnemyLastTimeSeen(self: NPC, enemy?: Entity): number;
|
|
349
|
+
|
|
306
350
|
/**
|
|
307
351
|
* Returns the expression file the NPC is currently playing.
|
|
308
352
|
* @realm server
|
|
309
353
|
* @source https://wiki.facepunch.com/gmod/NPC:GetExpression
|
|
310
354
|
*/
|
|
311
355
|
GetExpression(self: NPC): string;
|
|
356
|
+
|
|
312
357
|
/**
|
|
313
358
|
* Returns the eye direction of the NPC.
|
|
314
359
|
* @realm server
|
|
315
360
|
* @source https://wiki.facepunch.com/gmod/NPC:GetEyeDirection
|
|
316
361
|
*/
|
|
317
362
|
GetEyeDirection(self: NPC): Vector;
|
|
363
|
+
|
|
318
364
|
/**
|
|
319
365
|
* Returns the Field Of View of the NPC. See [NPC:SetFOV](https://wiki.facepunch.com/gmod/NPC:SetFOV).
|
|
320
366
|
* @realm server
|
|
321
367
|
* @source https://wiki.facepunch.com/gmod/NPC:GetFOV
|
|
322
368
|
*/
|
|
323
369
|
GetFOV(self: NPC): number;
|
|
370
|
+
|
|
324
371
|
/**
|
|
325
372
|
* Returns the position we are trying to reach, if any.
|
|
326
373
|
* @realm server
|
|
327
374
|
* @source https://wiki.facepunch.com/gmod/NPC:GetGoalPos
|
|
328
375
|
*/
|
|
329
376
|
GetGoalPos(self: NPC): Vector;
|
|
377
|
+
|
|
330
378
|
/**
|
|
331
379
|
* Returns the entity we are trying to reach, if any.
|
|
332
380
|
* @realm server
|
|
333
381
|
* @source https://wiki.facepunch.com/gmod/NPC:GetGoalTarget
|
|
334
382
|
*/
|
|
335
383
|
GetGoalTarget(self: NPC): Entity;
|
|
384
|
+
|
|
336
385
|
/**
|
|
337
386
|
* Returns the 2D head direction of the NPC.
|
|
338
387
|
* @realm server
|
|
339
388
|
* @source https://wiki.facepunch.com/gmod/NPC:GetHeadDirection
|
|
340
389
|
*/
|
|
341
390
|
GetHeadDirection(self: NPC): Vector;
|
|
391
|
+
|
|
342
392
|
/**
|
|
343
393
|
* Returns NPCs hull type set by [NPC:SetHullType](https://wiki.facepunch.com/gmod/NPC:SetHullType).
|
|
344
394
|
* @realm server
|
|
345
395
|
* @source https://wiki.facepunch.com/gmod/NPC:GetHullType
|
|
346
396
|
*/
|
|
347
397
|
GetHullType(self: NPC): number;
|
|
398
|
+
|
|
348
399
|
/**
|
|
349
400
|
* Returns the ideal activity the NPC currently wants to achieve.
|
|
350
401
|
* **NOTE**: By default, base NPCs will automatically attempt to play a sequence bound to the ideal activity. To prevent ideal activity from overriding NPC's active sequence, set this to `ACT_DO_NOT_DISTURB`.
|
|
@@ -354,30 +405,35 @@ interface NPC extends Entity {
|
|
|
354
405
|
* @source https://wiki.facepunch.com/gmod/NPC:GetIdealActivity
|
|
355
406
|
*/
|
|
356
407
|
GetIdealActivity(self: NPC): number;
|
|
408
|
+
|
|
357
409
|
/**
|
|
358
410
|
* Returns the ideal move acceleration of the NPC.
|
|
359
411
|
* @realm server
|
|
360
412
|
* @source https://wiki.facepunch.com/gmod/NPC:GetIdealMoveAcceleration
|
|
361
413
|
*/
|
|
362
414
|
GetIdealMoveAcceleration(self: NPC): number;
|
|
415
|
+
|
|
363
416
|
/**
|
|
364
417
|
* Returns the ideal move speed of the NPC.
|
|
365
418
|
* @realm server
|
|
366
419
|
* @source https://wiki.facepunch.com/gmod/NPC:GetIdealMoveSpeed
|
|
367
420
|
*/
|
|
368
421
|
GetIdealMoveSpeed(self: NPC): number;
|
|
422
|
+
|
|
369
423
|
/**
|
|
370
424
|
* Returns the ideal sequence the NPC currently wants to achieve.
|
|
371
425
|
* @realm server
|
|
372
426
|
* @source https://wiki.facepunch.com/gmod/NPC:GetIdealSequence
|
|
373
427
|
*/
|
|
374
428
|
GetIdealSequence(self: NPC): number;
|
|
429
|
+
|
|
375
430
|
/**
|
|
376
431
|
* Returns the ideal yaw (left right rotation) for this NPC at this moment.
|
|
377
432
|
* @realm server
|
|
378
433
|
* @source https://wiki.facepunch.com/gmod/NPC:GetIdealYaw
|
|
379
434
|
*/
|
|
380
435
|
GetIdealYaw(self: NPC): number;
|
|
436
|
+
|
|
381
437
|
/**
|
|
382
438
|
* Returns all known enemies this NPC has. The enemy table is updated with [NPC:UpdateEnemyMemory](https://wiki.facepunch.com/gmod/NPC:UpdateEnemyMemory) and [NPC:ClearEnemyMemory](https://wiki.facepunch.com/gmod/NPC:ClearEnemyMemory), meaning other entities may be in enemies list even though your NPC doesn't hate it.
|
|
383
439
|
*
|
|
@@ -387,6 +443,7 @@ interface NPC extends Entity {
|
|
|
387
443
|
* @source https://wiki.facepunch.com/gmod/NPC:GetKnownEnemies
|
|
388
444
|
*/
|
|
389
445
|
GetKnownEnemies(self: NPC): table;
|
|
446
|
+
|
|
390
447
|
/**
|
|
391
448
|
* Returns known enemy count of this NPC.
|
|
392
449
|
*
|
|
@@ -396,6 +453,7 @@ interface NPC extends Entity {
|
|
|
396
453
|
* @source https://wiki.facepunch.com/gmod/NPC:GetKnownEnemyCount
|
|
397
454
|
*/
|
|
398
455
|
GetKnownEnemyCount(self: NPC): number;
|
|
456
|
+
|
|
399
457
|
/**
|
|
400
458
|
* Returns the last registered or memorized position of the NPC. When using scheduling, the NPC will focus on navigating to the last position via nodes.
|
|
401
459
|
*
|
|
@@ -405,6 +463,7 @@ interface NPC extends Entity {
|
|
|
405
463
|
* @source https://wiki.facepunch.com/gmod/NPC:GetLastPosition
|
|
406
464
|
*/
|
|
407
465
|
GetLastPosition(self: NPC): Vector;
|
|
466
|
+
|
|
408
467
|
/**
|
|
409
468
|
* Returns [Global.CurTime](https://wiki.facepunch.com/gmod/Global.CurTime) based time since this NPC last received damage from given enemy. The last damage time is set when [NPC:MarkTookDamageFromEnemy](https://wiki.facepunch.com/gmod/NPC:MarkTookDamageFromEnemy) is called.
|
|
410
469
|
*
|
|
@@ -412,24 +471,28 @@ interface NPC extends Entity {
|
|
|
412
471
|
* @source https://wiki.facepunch.com/gmod/NPC:GetLastTimeTookDamageFromEnemy
|
|
413
472
|
*/
|
|
414
473
|
GetLastTimeTookDamageFromEnemy(self: NPC, enemy?: Entity): number;
|
|
474
|
+
|
|
415
475
|
/**
|
|
416
476
|
* Returns NPCs max view distance. An NPC will not be able to see enemies outside of this distance.
|
|
417
477
|
* @realm server
|
|
418
478
|
* @source https://wiki.facepunch.com/gmod/NPC:GetMaxLookDistance
|
|
419
479
|
*/
|
|
420
480
|
GetMaxLookDistance(self: NPC): number;
|
|
481
|
+
|
|
421
482
|
/**
|
|
422
483
|
* Returns how far should the NPC look ahead in its route.
|
|
423
484
|
* @realm server
|
|
424
485
|
* @source https://wiki.facepunch.com/gmod/NPC:GetMinMoveCheckDist
|
|
425
486
|
*/
|
|
426
487
|
GetMinMoveCheckDist(self: NPC): number;
|
|
488
|
+
|
|
427
489
|
/**
|
|
428
490
|
* Returns how far before the NPC can come to a complete stop.
|
|
429
491
|
* @realm server
|
|
430
492
|
* @source https://wiki.facepunch.com/gmod/NPC:GetMinMoveStopDist
|
|
431
493
|
*/
|
|
432
494
|
GetMinMoveStopDist(self: NPC, minResult?: number): number;
|
|
495
|
+
|
|
433
496
|
/**
|
|
434
497
|
* Returns the movement delay for given NPC.
|
|
435
498
|
*
|
|
@@ -439,66 +502,77 @@ interface NPC extends Entity {
|
|
|
439
502
|
* @source https://wiki.facepunch.com/gmod/NPC:GetMoveDelay
|
|
440
503
|
*/
|
|
441
504
|
GetMoveDelay(self: NPC): number;
|
|
505
|
+
|
|
442
506
|
/**
|
|
443
507
|
* Returns the current timestep the internal NPC motor is working on.
|
|
444
508
|
* @realm server
|
|
445
509
|
* @source https://wiki.facepunch.com/gmod/NPC:GetMoveInterval
|
|
446
510
|
*/
|
|
447
511
|
GetMoveInterval(self: NPC): number;
|
|
512
|
+
|
|
448
513
|
/**
|
|
449
514
|
* Returns the current move velocity of the NPC.
|
|
450
515
|
* @realm server
|
|
451
516
|
* @source https://wiki.facepunch.com/gmod/NPC:GetMoveVelocity
|
|
452
517
|
*/
|
|
453
518
|
GetMoveVelocity(self: NPC): Vector;
|
|
519
|
+
|
|
454
520
|
/**
|
|
455
521
|
* Returns the NPC's current movement activity.
|
|
456
522
|
* @realm server
|
|
457
523
|
* @source https://wiki.facepunch.com/gmod/NPC:GetMovementActivity
|
|
458
524
|
*/
|
|
459
525
|
GetMovementActivity(self: NPC): number;
|
|
526
|
+
|
|
460
527
|
/**
|
|
461
528
|
* Returns the index of the sequence the NPC uses to move.
|
|
462
529
|
* @realm server
|
|
463
530
|
* @source https://wiki.facepunch.com/gmod/NPC:GetMovementSequence
|
|
464
531
|
*/
|
|
465
532
|
GetMovementSequence(self: NPC): number;
|
|
533
|
+
|
|
466
534
|
/**
|
|
467
535
|
* Returns the NPC's state.
|
|
468
536
|
* @realm server
|
|
469
537
|
* @source https://wiki.facepunch.com/gmod/NPC:GetNPCState
|
|
470
538
|
*/
|
|
471
539
|
GetNPCState(self: NPC): number;
|
|
540
|
+
|
|
472
541
|
/**
|
|
473
542
|
* Returns the NPC's navigation type.
|
|
474
543
|
* @realm server
|
|
475
544
|
* @source https://wiki.facepunch.com/gmod/NPC:GetNavType
|
|
476
545
|
*/
|
|
477
546
|
GetNavType(self: NPC): number;
|
|
547
|
+
|
|
478
548
|
/**
|
|
479
549
|
* Returns the nearest member of the squad the NPC is in.
|
|
480
550
|
* @realm server
|
|
481
551
|
* @source https://wiki.facepunch.com/gmod/NPC:GetNearestSquadMember
|
|
482
552
|
*/
|
|
483
553
|
GetNearestSquadMember(self: NPC): NPC;
|
|
554
|
+
|
|
484
555
|
/**
|
|
485
556
|
* Gets the NPC's next waypoint position, where NPC will be moving after reaching current waypoint, if any is available.
|
|
486
557
|
* @realm server
|
|
487
558
|
* @source https://wiki.facepunch.com/gmod/NPC:GetNextWaypointPos
|
|
488
559
|
*/
|
|
489
560
|
GetNextWaypointPos(self: NPC): Vector;
|
|
561
|
+
|
|
490
562
|
/**
|
|
491
563
|
* Returns the distance the NPC is from Target Goal.
|
|
492
564
|
* @realm server
|
|
493
565
|
* @source https://wiki.facepunch.com/gmod/NPC:GetPathDistanceToGoal
|
|
494
566
|
*/
|
|
495
567
|
GetPathDistanceToGoal(self: NPC): number;
|
|
568
|
+
|
|
496
569
|
/**
|
|
497
570
|
* Returns the amount of time it will take for the NPC to get to its Target Goal.
|
|
498
571
|
* @realm server
|
|
499
572
|
* @source https://wiki.facepunch.com/gmod/NPC:GetPathTimeToGoal
|
|
500
573
|
*/
|
|
501
574
|
GetPathTimeToGoal(self: NPC): number;
|
|
575
|
+
|
|
502
576
|
/**
|
|
503
577
|
* Returns the shooting position of the NPC, i.e. where their bullets would come from, etc.
|
|
504
578
|
*
|
|
@@ -508,12 +582,14 @@ interface NPC extends Entity {
|
|
|
508
582
|
* @source https://wiki.facepunch.com/gmod/NPC:GetShootPos
|
|
509
583
|
*/
|
|
510
584
|
GetShootPos(self: NPC): Vector;
|
|
585
|
+
|
|
511
586
|
/**
|
|
512
587
|
* Returns the current squad name of the NPC, as set via [NPC:SetSquad](https://wiki.facepunch.com/gmod/NPC:SetSquad).
|
|
513
588
|
* @realm server
|
|
514
589
|
* @source https://wiki.facepunch.com/gmod/NPC:GetSquad
|
|
515
590
|
*/
|
|
516
591
|
GetSquad(self: NPC): string;
|
|
592
|
+
|
|
517
593
|
/**
|
|
518
594
|
* Returns NPC step height.
|
|
519
595
|
*
|
|
@@ -521,6 +597,7 @@ interface NPC extends Entity {
|
|
|
521
597
|
* @source https://wiki.facepunch.com/gmod/NPC:GetStepHeight
|
|
522
598
|
*/
|
|
523
599
|
GetStepHeight(self: NPC): number;
|
|
600
|
+
|
|
524
601
|
/**
|
|
525
602
|
* Returns the NPC's current target set by [NPC:SetTarget](https://wiki.facepunch.com/gmod/NPC:SetTarget).
|
|
526
603
|
*
|
|
@@ -530,12 +607,14 @@ interface NPC extends Entity {
|
|
|
530
607
|
* @source https://wiki.facepunch.com/gmod/NPC:GetTarget
|
|
531
608
|
*/
|
|
532
609
|
GetTarget(self: NPC): Entity;
|
|
610
|
+
|
|
533
611
|
/**
|
|
534
612
|
* Returns the status of the current task.
|
|
535
613
|
* @realm server
|
|
536
614
|
* @source https://wiki.facepunch.com/gmod/NPC:GetTaskStatus
|
|
537
615
|
*/
|
|
538
616
|
GetTaskStatus(self: NPC): number;
|
|
617
|
+
|
|
539
618
|
/**
|
|
540
619
|
* Returns [Global.CurTime](https://wiki.facepunch.com/gmod/Global.CurTime) based time since the enemy was reacquired, meaning it is currently in Line of Sight of the NPC.
|
|
541
620
|
*
|
|
@@ -543,133 +622,156 @@ interface NPC extends Entity {
|
|
|
543
622
|
* @source https://wiki.facepunch.com/gmod/NPC:GetTimeEnemyLastReacquired
|
|
544
623
|
*/
|
|
545
624
|
GetTimeEnemyLastReacquired(self: NPC, enemy?: Entity): number;
|
|
625
|
+
|
|
546
626
|
/**
|
|
547
627
|
* Returns the view offset of the NPC. Set by [NPC:SetViewOffset](https://wiki.facepunch.com/gmod/NPC:SetViewOffset).
|
|
548
628
|
* @realm server
|
|
549
629
|
* @source https://wiki.facepunch.com/gmod/NPC:GetViewOffset
|
|
550
630
|
*/
|
|
551
631
|
GetViewOffset(self: NPC): Vector;
|
|
632
|
+
|
|
552
633
|
/**
|
|
553
634
|
* Returns a specific weapon the NPC owns.
|
|
554
635
|
* @realm server
|
|
555
636
|
* @source https://wiki.facepunch.com/gmod/NPC:GetWeapon
|
|
556
637
|
*/
|
|
557
638
|
GetWeapon(self: NPC, _class: string): Weapon;
|
|
639
|
+
|
|
558
640
|
/**
|
|
559
641
|
* Returns a table of the NPC's weapons.
|
|
560
642
|
* @realm server
|
|
561
643
|
* @source https://wiki.facepunch.com/gmod/NPC:GetWeapons
|
|
562
644
|
*/
|
|
563
645
|
GetWeapons(self: NPC): Weapon[];
|
|
646
|
+
|
|
564
647
|
/**
|
|
565
648
|
* Used to give a weapon to an already spawned NPC.
|
|
566
649
|
* @realm server
|
|
567
650
|
* @source https://wiki.facepunch.com/gmod/NPC:Give
|
|
568
651
|
*/
|
|
569
652
|
Give(self: NPC, weapon: string): Weapon;
|
|
653
|
+
|
|
570
654
|
/**
|
|
571
655
|
* Returns whether or not the NPC has the given condition.
|
|
572
656
|
* @realm server
|
|
573
657
|
* @source https://wiki.facepunch.com/gmod/NPC:HasCondition
|
|
574
658
|
*/
|
|
575
659
|
HasCondition(self: NPC, condition: number): boolean;
|
|
660
|
+
|
|
576
661
|
/**
|
|
577
662
|
* Polls the enemy memory to check if the given entity has eluded us or not.
|
|
578
663
|
* @realm server
|
|
579
664
|
* @source https://wiki.facepunch.com/gmod/NPC:HasEnemyEluded
|
|
580
665
|
*/
|
|
581
666
|
HasEnemyEluded(self: NPC, enemy?: Entity): boolean;
|
|
667
|
+
|
|
582
668
|
/**
|
|
583
669
|
* Polls the enemy memory to check if the NPC has any memory of given enemy.
|
|
584
670
|
* @realm server
|
|
585
671
|
* @source https://wiki.facepunch.com/gmod/NPC:HasEnemyMemory
|
|
586
672
|
*/
|
|
587
673
|
HasEnemyMemory(self: NPC, enemy?: Entity): boolean;
|
|
674
|
+
|
|
588
675
|
/**
|
|
589
676
|
* Returns true if the current navigation has an obstacle, this is different from [NPC:GetBlockingEntity](https://wiki.facepunch.com/gmod/NPC:GetBlockingEntity), this is for virtual navigation obstacles put by AI's local navigation system to prevent movement to the marked area, forcing NPC to steer around, [for example](https://github.com/ValveSoftware/source-sdk-2013/blob/master/src/game/server/hl2/npc_playercompanion.cpp#L2897).
|
|
590
677
|
* @realm server
|
|
591
678
|
* @source https://wiki.facepunch.com/gmod/NPC:HasObstacles
|
|
592
679
|
*/
|
|
593
680
|
HasObstacles(self: NPC): boolean;
|
|
681
|
+
|
|
594
682
|
/**
|
|
595
683
|
* Force an NPC to play their Idle sound.
|
|
596
684
|
* @realm server
|
|
597
685
|
* @source https://wiki.facepunch.com/gmod/NPC:IdleSound
|
|
598
686
|
*/
|
|
599
687
|
IdleSound(self: NPC): void;
|
|
688
|
+
|
|
600
689
|
/**
|
|
601
690
|
* Makes the NPC ignore given entity/enemy until given time.
|
|
602
691
|
* @realm server
|
|
603
692
|
* @source https://wiki.facepunch.com/gmod/NPC:IgnoreEnemyUntil
|
|
604
693
|
*/
|
|
605
694
|
IgnoreEnemyUntil(self: NPC, enemy: Entity, _until: number): void;
|
|
695
|
+
|
|
606
696
|
/**
|
|
607
697
|
* Returns whether the NPC is currently crouching or not. Citizens and Combine Soldiers are capable of this behavior by default.
|
|
608
698
|
* @realm server
|
|
609
699
|
* @source https://wiki.facepunch.com/gmod/NPC:IsCrouching
|
|
610
700
|
*/
|
|
611
701
|
IsCrouching(self: NPC): boolean;
|
|
702
|
+
|
|
612
703
|
/**
|
|
613
704
|
* Returns whether the current navigational waypoint is the final one.
|
|
614
705
|
* @realm server
|
|
615
706
|
* @source https://wiki.facepunch.com/gmod/NPC:IsCurWaypointGoal
|
|
616
707
|
*/
|
|
617
708
|
IsCurWaypointGoal(self: NPC): boolean;
|
|
709
|
+
|
|
618
710
|
/**
|
|
619
711
|
* Returns whether or not the NPC is performing the given schedule.
|
|
620
712
|
* @realm server
|
|
621
713
|
* @source https://wiki.facepunch.com/gmod/NPC:IsCurrentSchedule
|
|
622
714
|
*/
|
|
623
715
|
IsCurrentSchedule(self: NPC, schedule: number): boolean;
|
|
716
|
+
|
|
624
717
|
/**
|
|
625
718
|
* Returns whether the NPC is facing their ideal yaw. See [NPC:SetIdealYaw](https://wiki.facepunch.com/gmod/NPC:SetIdealYaw), [NPC:GetIdealYaw](https://wiki.facepunch.com/gmod/NPC:GetIdealYaw) and [NPC:SetIdealYawAndUpdate](https://wiki.facepunch.com/gmod/NPC:SetIdealYawAndUpdate).
|
|
626
719
|
* @realm server
|
|
627
720
|
* @source https://wiki.facepunch.com/gmod/NPC:IsFacingIdealYaw
|
|
628
721
|
*/
|
|
629
722
|
IsFacingIdealYaw(self: NPC): boolean;
|
|
723
|
+
|
|
630
724
|
/**
|
|
631
725
|
* Returns whether the NPC has an active goal.
|
|
632
726
|
* @realm server
|
|
633
727
|
* @source https://wiki.facepunch.com/gmod/NPC:IsGoalActive
|
|
634
728
|
*/
|
|
635
729
|
IsGoalActive(self: NPC): boolean;
|
|
730
|
+
|
|
636
731
|
/**
|
|
637
732
|
* Tests whether a position or an NPC is in the view cone of the NPC.
|
|
638
733
|
* @realm server
|
|
639
734
|
* @source https://wiki.facepunch.com/gmod/NPC:IsInViewCone
|
|
640
735
|
*/
|
|
641
736
|
IsInViewCone(self: NPC, position: Vector): boolean;
|
|
737
|
+
|
|
642
738
|
IsInViewCone(self: NPC, ent: Entity): boolean;
|
|
739
|
+
|
|
643
740
|
/**
|
|
644
741
|
* Returns if the current movement is locked on the Yaw axis.
|
|
645
742
|
* @realm server
|
|
646
743
|
* @source https://wiki.facepunch.com/gmod/NPC:IsMoveYawLocked
|
|
647
744
|
*/
|
|
648
745
|
IsMoveYawLocked(self: NPC): boolean;
|
|
746
|
+
|
|
649
747
|
/**
|
|
650
748
|
* Returns whether the NPC is moving or not.
|
|
651
749
|
* @realm server
|
|
652
750
|
* @source https://wiki.facepunch.com/gmod/NPC:IsMoving
|
|
653
751
|
*/
|
|
654
752
|
IsMoving(self: NPC): boolean;
|
|
753
|
+
|
|
655
754
|
/**
|
|
656
755
|
* Checks if the NPC is running an **ai_goal**. ( e.g. An npc_citizen NPC following the Player. )
|
|
657
756
|
* @realm server
|
|
658
757
|
* @source https://wiki.facepunch.com/gmod/NPC:IsRunningBehavior
|
|
659
758
|
*/
|
|
660
759
|
IsRunningBehavior(self: NPC): boolean;
|
|
760
|
+
|
|
661
761
|
/**
|
|
662
762
|
* Returns whether the current NPC is the leader of the squad it is in.
|
|
663
763
|
* @realm server
|
|
664
764
|
* @source https://wiki.facepunch.com/gmod/NPC:IsSquadLeader
|
|
665
765
|
*/
|
|
666
766
|
IsSquadLeader(self: NPC): boolean;
|
|
767
|
+
|
|
667
768
|
/**
|
|
668
769
|
* Returns the "forgettable" status for a given enemy, as set by [NPC:SetUnforgettable](https://wiki.facepunch.com/gmod/NPC:SetUnforgettable), or by internal logic of engine NPCs.
|
|
669
770
|
* @realm server
|
|
670
771
|
* @source https://wiki.facepunch.com/gmod/NPC:IsUnforgettable
|
|
671
772
|
*/
|
|
672
773
|
IsUnforgettable(self: NPC, enemy: Entity): boolean;
|
|
774
|
+
|
|
673
775
|
/**
|
|
674
776
|
* Returns true if the entity was remembered as unreachable. The memory is updated automatically from following engine tasks if they failed:
|
|
675
777
|
* * TASK_GET_CHASE_PATH_TO_ENEMY
|
|
@@ -682,24 +784,28 @@ interface NPC extends Entity {
|
|
|
682
784
|
* @source https://wiki.facepunch.com/gmod/NPC:IsUnreachable
|
|
683
785
|
*/
|
|
684
786
|
IsUnreachable(self: NPC, testEntity: Entity): boolean;
|
|
787
|
+
|
|
685
788
|
/**
|
|
686
789
|
* Force an NPC to play their LostEnemy sound.
|
|
687
790
|
* @realm server
|
|
688
791
|
* @source https://wiki.facepunch.com/gmod/NPC:LostEnemySound
|
|
689
792
|
*/
|
|
690
793
|
LostEnemySound(self: NPC): void;
|
|
794
|
+
|
|
691
795
|
/**
|
|
692
796
|
* Tries to achieve our ideal animation state, playing any transition sequences that we need to play to get there.
|
|
693
797
|
* @realm server
|
|
694
798
|
* @source https://wiki.facepunch.com/gmod/NPC:MaintainActivity
|
|
695
799
|
*/
|
|
696
800
|
MaintainActivity(self: NPC): void;
|
|
801
|
+
|
|
697
802
|
/**
|
|
698
803
|
* Causes the NPC to temporarily forget the current enemy and switch on to a better one.
|
|
699
804
|
* @realm server
|
|
700
805
|
* @source https://wiki.facepunch.com/gmod/NPC:MarkEnemyAsEluded
|
|
701
806
|
*/
|
|
702
807
|
MarkEnemyAsEluded(self: NPC, enemy?: Entity): void;
|
|
808
|
+
|
|
703
809
|
/**
|
|
704
810
|
* Marks the NPC as took damage from given entity.
|
|
705
811
|
*
|
|
@@ -709,6 +815,7 @@ interface NPC extends Entity {
|
|
|
709
815
|
* @source https://wiki.facepunch.com/gmod/NPC:MarkTookDamageFromEnemy
|
|
710
816
|
*/
|
|
711
817
|
MarkTookDamageFromEnemy(self: NPC, enemy?: Entity): void;
|
|
818
|
+
|
|
712
819
|
/**
|
|
713
820
|
* Executes a climb move.
|
|
714
821
|
*
|
|
@@ -717,6 +824,7 @@ interface NPC extends Entity {
|
|
|
717
824
|
* @source https://wiki.facepunch.com/gmod/NPC:MoveClimbExec
|
|
718
825
|
*/
|
|
719
826
|
MoveClimbExec(self: NPC, destination: Vector, dir: Vector, distance: number, yaw: number, left: number): AIMR;
|
|
827
|
+
|
|
720
828
|
/**
|
|
721
829
|
* Starts a climb move.
|
|
722
830
|
*
|
|
@@ -725,6 +833,7 @@ interface NPC extends Entity {
|
|
|
725
833
|
* @source https://wiki.facepunch.com/gmod/NPC:MoveClimbStart
|
|
726
834
|
*/
|
|
727
835
|
MoveClimbStart(self: NPC, destination: Vector, dir: Vector, distance: number, yaw: number): void;
|
|
836
|
+
|
|
728
837
|
/**
|
|
729
838
|
* Stops a climb move.
|
|
730
839
|
*
|
|
@@ -733,6 +842,7 @@ interface NPC extends Entity {
|
|
|
733
842
|
* @source https://wiki.facepunch.com/gmod/NPC:MoveClimbStop
|
|
734
843
|
*/
|
|
735
844
|
MoveClimbStop(self: NPC): void;
|
|
845
|
+
|
|
736
846
|
/**
|
|
737
847
|
* Similar to other `NPC:Move*` functions, invokes internal code to move the NPC to a given location.
|
|
738
848
|
*
|
|
@@ -741,6 +851,7 @@ interface NPC extends Entity {
|
|
|
741
851
|
* @source https://wiki.facepunch.com/gmod/NPC:MoveGroundStep
|
|
742
852
|
*/
|
|
743
853
|
MoveGroundStep(self: NPC, pos: Vector, targetEntity?: Entity, yaw?: number, asFarAsCan?: boolean, testZ?: boolean): number;
|
|
854
|
+
|
|
744
855
|
/**
|
|
745
856
|
* Executes a jump move.
|
|
746
857
|
*
|
|
@@ -749,6 +860,7 @@ interface NPC extends Entity {
|
|
|
749
860
|
* @source https://wiki.facepunch.com/gmod/NPC:MoveJumpExec
|
|
750
861
|
*/
|
|
751
862
|
MoveJumpExec(self: NPC): AIMR;
|
|
863
|
+
|
|
752
864
|
/**
|
|
753
865
|
* Starts a jump move.
|
|
754
866
|
*
|
|
@@ -757,6 +869,7 @@ interface NPC extends Entity {
|
|
|
757
869
|
* @source https://wiki.facepunch.com/gmod/NPC:MoveJumpStart
|
|
758
870
|
*/
|
|
759
871
|
MoveJumpStart(self: NPC, vel: Vector): void;
|
|
872
|
+
|
|
760
873
|
/**
|
|
761
874
|
* Stops a jump move.
|
|
762
875
|
*
|
|
@@ -765,6 +878,7 @@ interface NPC extends Entity {
|
|
|
765
878
|
* @source https://wiki.facepunch.com/gmod/NPC:MoveJumpStop
|
|
766
879
|
*/
|
|
767
880
|
MoveJumpStop(self: NPC): AIMR;
|
|
881
|
+
|
|
768
882
|
/**
|
|
769
883
|
* Makes the NPC walk toward the given position. The NPC will return to the player after amount of time set by **player_squad_autosummon_time** [ConVar](https://wiki.facepunch.com/gmod/ConVar).
|
|
770
884
|
*
|
|
@@ -776,6 +890,7 @@ interface NPC extends Entity {
|
|
|
776
890
|
* @source https://wiki.facepunch.com/gmod/NPC:MoveOrder
|
|
777
891
|
*/
|
|
778
892
|
MoveOrder(self: NPC, position: Vector): void;
|
|
893
|
+
|
|
779
894
|
/**
|
|
780
895
|
* Pauses the NPC movement?
|
|
781
896
|
*
|
|
@@ -784,6 +899,7 @@ interface NPC extends Entity {
|
|
|
784
899
|
* @source https://wiki.facepunch.com/gmod/NPC:MovePause
|
|
785
900
|
*/
|
|
786
901
|
MovePause(self: NPC): void;
|
|
902
|
+
|
|
787
903
|
/**
|
|
788
904
|
* Starts NPC movement?
|
|
789
905
|
*
|
|
@@ -792,6 +908,7 @@ interface NPC extends Entity {
|
|
|
792
908
|
* @source https://wiki.facepunch.com/gmod/NPC:MoveStart
|
|
793
909
|
*/
|
|
794
910
|
MoveStart(self: NPC): void;
|
|
911
|
+
|
|
795
912
|
/**
|
|
796
913
|
* Stops the NPC movement?
|
|
797
914
|
*
|
|
@@ -800,12 +917,14 @@ interface NPC extends Entity {
|
|
|
800
917
|
* @source https://wiki.facepunch.com/gmod/NPC:MoveStop
|
|
801
918
|
*/
|
|
802
919
|
MoveStop(self: NPC): void;
|
|
920
|
+
|
|
803
921
|
/**
|
|
804
922
|
* Picks random node around given vector, around specified length, using dir as search direction start. Works similarly to [NPC:NavSetRandomGoal](https://wiki.facepunch.com/gmod/NPC:NavSetRandomGoal), but you can decide any position you want as a search starting point rather than your NPC.
|
|
805
923
|
* @realm server
|
|
806
924
|
* @source https://wiki.facepunch.com/gmod/NPC:NavSetGoal
|
|
807
925
|
*/
|
|
808
926
|
NavSetGoal(self: NPC, pos: Vector, length: number, dir: Vector): boolean;
|
|
927
|
+
|
|
809
928
|
/**
|
|
810
929
|
* Creates a path to closest node at given position. This won't actually force the NPC to move.
|
|
811
930
|
*
|
|
@@ -817,6 +936,7 @@ interface NPC extends Entity {
|
|
|
817
936
|
* @source https://wiki.facepunch.com/gmod/NPC:NavSetGoalPos
|
|
818
937
|
*/
|
|
819
938
|
NavSetGoalPos(self: NPC, pos: Vector): boolean;
|
|
939
|
+
|
|
820
940
|
/**
|
|
821
941
|
* Set the goal target for an NPC.
|
|
822
942
|
*
|
|
@@ -827,18 +947,21 @@ interface NPC extends Entity {
|
|
|
827
947
|
* @source https://wiki.facepunch.com/gmod/NPC:NavSetGoalTarget
|
|
828
948
|
*/
|
|
829
949
|
NavSetGoalTarget(self: NPC, target: Entity, offset?: Vector): boolean;
|
|
950
|
+
|
|
830
951
|
/**
|
|
831
952
|
* Creates a random path of specified minimum length between a closest start node and random node in the specified direction. This won't actually force the NPC to move.
|
|
832
953
|
* @realm server
|
|
833
954
|
* @source https://wiki.facepunch.com/gmod/NPC:NavSetRandomGoal
|
|
834
955
|
*/
|
|
835
956
|
NavSetRandomGoal(self: NPC, minPathLength: number, dir: Vector): boolean;
|
|
957
|
+
|
|
836
958
|
/**
|
|
837
959
|
* Sets a goal in x, y offsets for the NPC to wander to
|
|
838
960
|
* @realm server
|
|
839
961
|
* @source https://wiki.facepunch.com/gmod/NPC:NavSetWanderGoal
|
|
840
962
|
*/
|
|
841
963
|
NavSetWanderGoal(self: NPC, xOffset: number, yOffset: number): boolean;
|
|
964
|
+
|
|
842
965
|
/**
|
|
843
966
|
* Forces the NPC to pickup an existing weapon entity. The NPC will not pick up the weapon if they already own a weapon of given type, or if the NPC could not normally have this weapon in their inventory.
|
|
844
967
|
*
|
|
@@ -846,30 +969,35 @@ interface NPC extends Entity {
|
|
|
846
969
|
* @source https://wiki.facepunch.com/gmod/NPC:PickupWeapon
|
|
847
970
|
*/
|
|
848
971
|
PickupWeapon(self: NPC, wep: Weapon): boolean;
|
|
972
|
+
|
|
849
973
|
/**
|
|
850
974
|
* Forces the NPC to play a sentence from scripts/sentences.txt
|
|
851
975
|
* @realm server
|
|
852
976
|
* @source https://wiki.facepunch.com/gmod/NPC:PlaySentence
|
|
853
977
|
*/
|
|
854
978
|
PlaySentence(self: NPC, sentence: string, delay: number, volume: number): number;
|
|
979
|
+
|
|
855
980
|
/**
|
|
856
981
|
* Makes the NPC remember an entity or an enemy as unreachable, for a specified amount of time. Use [NPC:IsUnreachable](https://wiki.facepunch.com/gmod/NPC:IsUnreachable) to check if an entity is still unreachable.
|
|
857
982
|
* @realm server
|
|
858
983
|
* @source https://wiki.facepunch.com/gmod/NPC:RememberUnreachable
|
|
859
984
|
*/
|
|
860
985
|
RememberUnreachable(self: NPC, ent: Entity, time?: number): void;
|
|
986
|
+
|
|
861
987
|
/**
|
|
862
988
|
* Removes conditions to ignore for the this NPC.
|
|
863
989
|
* @realm server
|
|
864
990
|
* @source https://wiki.facepunch.com/gmod/NPC:RemoveIgnoreConditions
|
|
865
991
|
*/
|
|
866
992
|
RemoveIgnoreConditions(self: NPC, conditions?: table): void;
|
|
993
|
+
|
|
867
994
|
/**
|
|
868
995
|
* Resets the ideal activity of the NPC. See also [NPC:SetIdealActivity](https://wiki.facepunch.com/gmod/NPC:SetIdealActivity).
|
|
869
996
|
* @realm server
|
|
870
997
|
* @source https://wiki.facepunch.com/gmod/NPC:ResetIdealActivity
|
|
871
998
|
*/
|
|
872
999
|
ResetIdealActivity(self: NPC, act: number): void;
|
|
1000
|
+
|
|
873
1001
|
/**
|
|
874
1002
|
* Resets all the movement calculations.
|
|
875
1003
|
*
|
|
@@ -878,12 +1006,14 @@ interface NPC extends Entity {
|
|
|
878
1006
|
* @source https://wiki.facepunch.com/gmod/NPC:ResetMoveCalc
|
|
879
1007
|
*/
|
|
880
1008
|
ResetMoveCalc(self: NPC): void;
|
|
1009
|
+
|
|
881
1010
|
/**
|
|
882
1011
|
* Forces the NPC to switch to a specific weapon the NPC owns. See [NPC:GetWeapons](https://wiki.facepunch.com/gmod/NPC:GetWeapons).
|
|
883
1012
|
* @realm server
|
|
884
1013
|
* @source https://wiki.facepunch.com/gmod/NPC:SelectWeapon
|
|
885
1014
|
*/
|
|
886
1015
|
SelectWeapon(self: NPC, weapon: string | Weapon): void;
|
|
1016
|
+
|
|
887
1017
|
/**
|
|
888
1018
|
* Stops any sounds (speech) the NPC is currently playing.
|
|
889
1019
|
*
|
|
@@ -893,119 +1023,139 @@ interface NPC extends Entity {
|
|
|
893
1023
|
* @source https://wiki.facepunch.com/gmod/NPC:SentenceStop
|
|
894
1024
|
*/
|
|
895
1025
|
SentenceStop(self: NPC): void;
|
|
1026
|
+
|
|
896
1027
|
/**
|
|
897
1028
|
* Sets the NPC's current activity.
|
|
898
1029
|
* @realm server
|
|
899
1030
|
* @source https://wiki.facepunch.com/gmod/NPC:SetActivity
|
|
900
1031
|
*/
|
|
901
1032
|
SetActivity(self: NPC, act: number): void;
|
|
1033
|
+
|
|
902
1034
|
/**
|
|
903
1035
|
* @realm server
|
|
904
1036
|
* @source https://wiki.facepunch.com/gmod/NPC:SetArrivalActivity
|
|
905
1037
|
*/
|
|
906
1038
|
SetArrivalActivity(self: NPC, act: number): void;
|
|
1039
|
+
|
|
907
1040
|
/**
|
|
908
1041
|
* Sets the direction from the NPC origin to its current navigational destination.
|
|
909
1042
|
* @realm server
|
|
910
1043
|
* @source https://wiki.facepunch.com/gmod/NPC:SetArrivalDirection
|
|
911
1044
|
*/
|
|
912
1045
|
SetArrivalDirection(self: NPC, dir: Vector): void;
|
|
1046
|
+
|
|
913
1047
|
/**
|
|
914
1048
|
* Sets the distance to goal at which the NPC should stop moving and continue to other business such as doing the rest of their tasks in a schedule.
|
|
915
1049
|
* @realm server
|
|
916
1050
|
* @source https://wiki.facepunch.com/gmod/NPC:SetArrivalDistance
|
|
917
1051
|
*/
|
|
918
1052
|
SetArrivalDistance(self: NPC, dist: number): void;
|
|
1053
|
+
|
|
919
1054
|
/**
|
|
920
1055
|
* Sets the sequence to be played when the NPC arrives at its goal.
|
|
921
1056
|
* @realm server
|
|
922
1057
|
* @source https://wiki.facepunch.com/gmod/NPC:SetArrivalSequence
|
|
923
1058
|
*/
|
|
924
1059
|
SetArrivalSequence(self: NPC, seq: number): void;
|
|
1060
|
+
|
|
925
1061
|
/**
|
|
926
1062
|
* Sets the arrival speed? of the NPC
|
|
927
1063
|
* @realm server
|
|
928
1064
|
* @source https://wiki.facepunch.com/gmod/NPC:SetArrivalSpeed
|
|
929
1065
|
*/
|
|
930
1066
|
SetArrivalSpeed(self: NPC, speed: number): void;
|
|
1067
|
+
|
|
931
1068
|
/**
|
|
932
1069
|
* Sets an NPC condition.
|
|
933
1070
|
* @realm server
|
|
934
1071
|
* @source https://wiki.facepunch.com/gmod/NPC:SetCondition
|
|
935
1072
|
*/
|
|
936
1073
|
SetCondition(self: NPC, condition: COND): void;
|
|
1074
|
+
|
|
937
1075
|
/**
|
|
938
1076
|
* Sets the weapon proficiency of an NPC (how skilled an NPC is with its current weapon).
|
|
939
1077
|
* @realm server
|
|
940
1078
|
* @source https://wiki.facepunch.com/gmod/NPC:SetCurrentWeaponProficiency
|
|
941
1079
|
*/
|
|
942
1080
|
SetCurrentWeaponProficiency(self: NPC, proficiency: number): void;
|
|
1081
|
+
|
|
943
1082
|
/**
|
|
944
1083
|
* Sets the target for an NPC.
|
|
945
1084
|
* @realm server
|
|
946
1085
|
* @source https://wiki.facepunch.com/gmod/NPC:SetEnemy
|
|
947
1086
|
*/
|
|
948
1087
|
SetEnemy(self: NPC, enemy: Entity, newenemy?: boolean): void;
|
|
1088
|
+
|
|
949
1089
|
/**
|
|
950
1090
|
* Sets the NPC's .vcd expression. Similar to [Entity:PlayScene](https://wiki.facepunch.com/gmod/Entity:PlayScene) except the scene is looped until it's interrupted by default NPC behavior or [NPC:ClearExpression](https://wiki.facepunch.com/gmod/NPC:ClearExpression).
|
|
951
1091
|
* @realm server
|
|
952
1092
|
* @source https://wiki.facepunch.com/gmod/NPC:SetExpression
|
|
953
1093
|
*/
|
|
954
1094
|
SetExpression(self: NPC, m_iszExpressionScene: string): number;
|
|
1095
|
+
|
|
955
1096
|
/**
|
|
956
1097
|
* Sets the Field Of View of the NPC, for use with such functions as [NPC:IsInViewCone](https://wiki.facepunch.com/gmod/NPC:IsInViewCone). it is also used internally by the NPC for enemy detection, etc.
|
|
957
1098
|
* @realm server
|
|
958
1099
|
* @source https://wiki.facepunch.com/gmod/NPC:SetFOV
|
|
959
1100
|
*/
|
|
960
1101
|
SetFOV(self: NPC, fov: number): void;
|
|
1102
|
+
|
|
961
1103
|
/**
|
|
962
1104
|
* Forces given NPC to crouch, if it is able to do so. Only Citizens and Combine Soldiers can by default.
|
|
963
1105
|
* @realm server
|
|
964
1106
|
* @source https://wiki.facepunch.com/gmod/NPC:SetForceCrouch
|
|
965
1107
|
*/
|
|
966
1108
|
SetForceCrouch(self: NPC, force: boolean): void;
|
|
1109
|
+
|
|
967
1110
|
/**
|
|
968
1111
|
* Updates the NPC's hull and physics hull in order to match its model scale. [Entity:SetModelScale](https://wiki.facepunch.com/gmod/Entity:SetModelScale) seems to take care of this regardless.
|
|
969
1112
|
* @realm server
|
|
970
1113
|
* @source https://wiki.facepunch.com/gmod/NPC:SetHullSizeNormal
|
|
971
1114
|
*/
|
|
972
1115
|
SetHullSizeNormal(self: NPC): void;
|
|
1116
|
+
|
|
973
1117
|
/**
|
|
974
1118
|
* Sets the hull type for the NPC.
|
|
975
1119
|
* @realm server
|
|
976
1120
|
* @source https://wiki.facepunch.com/gmod/NPC:SetHullType
|
|
977
1121
|
*/
|
|
978
1122
|
SetHullType(self: NPC, hullType: number): void;
|
|
1123
|
+
|
|
979
1124
|
/**
|
|
980
1125
|
* Sets the ideal activity the NPC currently wants to achieve. This is most useful for custom SNPCs.
|
|
981
1126
|
* @realm server
|
|
982
1127
|
* @source https://wiki.facepunch.com/gmod/NPC:SetIdealActivity
|
|
983
1128
|
*/
|
|
984
1129
|
SetIdealActivity(self: NPC, arg0: number): void;
|
|
1130
|
+
|
|
985
1131
|
/**
|
|
986
1132
|
* Sets the ideal sequence the NPC currently wants to achieve. This is most useful for custom SNPCs.
|
|
987
1133
|
* @realm server
|
|
988
1134
|
* @source https://wiki.facepunch.com/gmod/NPC:SetIdealSequence
|
|
989
1135
|
*/
|
|
990
1136
|
SetIdealSequence(self: NPC, sequenceId: number): void;
|
|
1137
|
+
|
|
991
1138
|
/**
|
|
992
1139
|
* Sets the ideal yaw angle (left-right rotation) for the NPC. Does not actually force the NPC to start turning in that direction. See [NPC:UpdateYaw](https://wiki.facepunch.com/gmod/NPC:UpdateYaw), [NPC:GetIdealYaw](https://wiki.facepunch.com/gmod/NPC:GetIdealYaw) and [NPC:SetIdealYawAndUpdate](https://wiki.facepunch.com/gmod/NPC:SetIdealYawAndUpdate).
|
|
993
1140
|
* @realm server
|
|
994
1141
|
* @source https://wiki.facepunch.com/gmod/NPC:SetIdealYaw
|
|
995
1142
|
*/
|
|
996
1143
|
SetIdealYaw(self: NPC, angle: number): void;
|
|
1144
|
+
|
|
997
1145
|
/**
|
|
998
1146
|
* Sets the ideal yaw angle (left-right rotation) for the NPC and forces them to turn to that angle.
|
|
999
1147
|
* @realm server
|
|
1000
1148
|
* @source https://wiki.facepunch.com/gmod/NPC:SetIdealYawAndUpdate
|
|
1001
1149
|
*/
|
|
1002
1150
|
SetIdealYawAndUpdate(self: NPC, angle: number, speed?: number): void;
|
|
1151
|
+
|
|
1003
1152
|
/**
|
|
1004
1153
|
* Sets conditions to ignore, which would normally interrupt an Engine-based schedule. Specified conditions will still be set, will call [ENTITY:OnCondition](https://wiki.facepunch.com/gmod/ENTITY:OnCondition) and can be returned by [NPC:HasCondition](https://wiki.facepunch.com/gmod/NPC:HasCondition), but they will no longer interrupt the Engine schedule.
|
|
1005
1154
|
* @realm server
|
|
1006
1155
|
* @source https://wiki.facepunch.com/gmod/NPC:SetIgnoreConditions
|
|
1007
1156
|
*/
|
|
1008
1157
|
SetIgnoreConditions(self: NPC, conditions: table, size: number): void;
|
|
1158
|
+
|
|
1009
1159
|
/**
|
|
1010
1160
|
* Sets the last registered or memorized position for this NPC. When using scheduling, the NPC will focus on navigating to the last position via nodes.
|
|
1011
1161
|
*
|
|
@@ -1016,18 +1166,21 @@ interface NPC extends Entity {
|
|
|
1016
1166
|
* @source https://wiki.facepunch.com/gmod/NPC:SetLastPosition
|
|
1017
1167
|
*/
|
|
1018
1168
|
SetLastPosition(self: NPC, position: Vector): void;
|
|
1169
|
+
|
|
1019
1170
|
/**
|
|
1020
1171
|
* Sets NPC's max view distance. An NPC will not be able to see enemies outside of this distance.
|
|
1021
1172
|
* @realm server
|
|
1022
1173
|
* @source https://wiki.facepunch.com/gmod/NPC:SetMaxLookDistance
|
|
1023
1174
|
*/
|
|
1024
1175
|
SetMaxLookDistance(self: NPC, dist: number): void;
|
|
1176
|
+
|
|
1025
1177
|
/**
|
|
1026
1178
|
* Sets how long to try rebuilding path before failing task.
|
|
1027
1179
|
* @realm server
|
|
1028
1180
|
* @source https://wiki.facepunch.com/gmod/NPC:SetMaxRouteRebuildTime
|
|
1029
1181
|
*/
|
|
1030
1182
|
SetMaxRouteRebuildTime(self: NPC, time: number): void;
|
|
1183
|
+
|
|
1031
1184
|
/**
|
|
1032
1185
|
* Sets the movement delay for given NPC.
|
|
1033
1186
|
*
|
|
@@ -1037,30 +1190,35 @@ interface NPC extends Entity {
|
|
|
1037
1190
|
* @source https://wiki.facepunch.com/gmod/NPC:SetMoveDelay
|
|
1038
1191
|
*/
|
|
1039
1192
|
SetMoveDelay(self: NPC, delay: number): void;
|
|
1193
|
+
|
|
1040
1194
|
/**
|
|
1041
1195
|
* Sets the timestep the internal NPC motor is working on.
|
|
1042
1196
|
* @realm server
|
|
1043
1197
|
* @source https://wiki.facepunch.com/gmod/NPC:SetMoveInterval
|
|
1044
1198
|
*/
|
|
1045
1199
|
SetMoveInterval(self: NPC, time: number): void;
|
|
1200
|
+
|
|
1046
1201
|
/**
|
|
1047
1202
|
* Sets the move velocity of the NPC
|
|
1048
1203
|
* @realm server
|
|
1049
1204
|
* @source https://wiki.facepunch.com/gmod/NPC:SetMoveVelocity
|
|
1050
1205
|
*/
|
|
1051
1206
|
SetMoveVelocity(self: NPC, vel: Vector): void;
|
|
1207
|
+
|
|
1052
1208
|
/**
|
|
1053
1209
|
* Sets whether the current movement should locked on the Yaw axis or not.
|
|
1054
1210
|
* @realm server
|
|
1055
1211
|
* @source https://wiki.facepunch.com/gmod/NPC:SetMoveYawLocked
|
|
1056
1212
|
*/
|
|
1057
1213
|
SetMoveYawLocked(self: NPC, lock: boolean): void;
|
|
1214
|
+
|
|
1058
1215
|
/**
|
|
1059
1216
|
* Sets the activity the NPC uses when it moves.
|
|
1060
1217
|
* @realm server
|
|
1061
1218
|
* @source https://wiki.facepunch.com/gmod/NPC:SetMovementActivity
|
|
1062
1219
|
*/
|
|
1063
1220
|
SetMovementActivity(self: NPC, activity: number): void;
|
|
1221
|
+
|
|
1064
1222
|
/**
|
|
1065
1223
|
* Sets the sequence the NPC navigation path uses for speed calculation. Doesn't seem to have any visible effect on NPC movement or actively playing sequence.
|
|
1066
1224
|
*
|
|
@@ -1070,24 +1228,28 @@ interface NPC extends Entity {
|
|
|
1070
1228
|
* @source https://wiki.facepunch.com/gmod/NPC:SetMovementSequence
|
|
1071
1229
|
*/
|
|
1072
1230
|
SetMovementSequence(self: NPC, sequenceId: number): void;
|
|
1231
|
+
|
|
1073
1232
|
/**
|
|
1074
1233
|
* Sets the state the NPC is in to help it decide on a ideal schedule.
|
|
1075
1234
|
* @realm server
|
|
1076
1235
|
* @source https://wiki.facepunch.com/gmod/NPC:SetNPCState
|
|
1077
1236
|
*/
|
|
1078
1237
|
SetNPCState(self: NPC, state: number): void;
|
|
1238
|
+
|
|
1079
1239
|
/**
|
|
1080
1240
|
* Sets the navigation type of the NPC.
|
|
1081
1241
|
* @realm server
|
|
1082
1242
|
* @source https://wiki.facepunch.com/gmod/NPC:SetNavType
|
|
1083
1243
|
*/
|
|
1084
1244
|
SetNavType(self: NPC, navtype: number): void;
|
|
1245
|
+
|
|
1085
1246
|
/**
|
|
1086
1247
|
* Sets the NPC's current schedule.
|
|
1087
1248
|
* @realm server
|
|
1088
1249
|
* @source https://wiki.facepunch.com/gmod/NPC:SetSchedule
|
|
1089
1250
|
*/
|
|
1090
1251
|
SetSchedule(self: NPC, schedule: number): void;
|
|
1252
|
+
|
|
1091
1253
|
/**
|
|
1092
1254
|
* Assigns the NPC to a new squad. A squad can have up to 16 NPCs. NPCs in a single squad should be friendly to each other.
|
|
1093
1255
|
*
|
|
@@ -1099,6 +1261,7 @@ interface NPC extends Entity {
|
|
|
1099
1261
|
* @source https://wiki.facepunch.com/gmod/NPC:SetSquad
|
|
1100
1262
|
*/
|
|
1101
1263
|
SetSquad(self: NPC, name?: string): void;
|
|
1264
|
+
|
|
1102
1265
|
/**
|
|
1103
1266
|
* Sets the SNPC step height.
|
|
1104
1267
|
*
|
|
@@ -1109,24 +1272,28 @@ interface NPC extends Entity {
|
|
|
1109
1272
|
* @source https://wiki.facepunch.com/gmod/NPC:SetStepHeight
|
|
1110
1273
|
*/
|
|
1111
1274
|
SetStepHeight(self: NPC, height: number): void;
|
|
1275
|
+
|
|
1112
1276
|
/**
|
|
1113
1277
|
* Sets the NPC's target. This is used in some engine schedules.
|
|
1114
1278
|
* @realm server
|
|
1115
1279
|
* @source https://wiki.facepunch.com/gmod/NPC:SetTarget
|
|
1116
1280
|
*/
|
|
1117
1281
|
SetTarget(self: NPC, entity: Entity): void;
|
|
1282
|
+
|
|
1118
1283
|
/**
|
|
1119
1284
|
* Sets the status of the current task.
|
|
1120
1285
|
* @realm server
|
|
1121
1286
|
* @source https://wiki.facepunch.com/gmod/NPC:SetTaskStatus
|
|
1122
1287
|
*/
|
|
1123
1288
|
SetTaskStatus(self: NPC, status: number): void;
|
|
1289
|
+
|
|
1124
1290
|
/**
|
|
1125
1291
|
* Sets given entity as an unforgettable enemy. The state can be retrieved via [NPC:IsUnforgettable](https://wiki.facepunch.com/gmod/NPC:IsUnforgettable).
|
|
1126
1292
|
* @realm server
|
|
1127
1293
|
* @source https://wiki.facepunch.com/gmod/NPC:SetUnforgettable
|
|
1128
1294
|
*/
|
|
1129
1295
|
SetUnforgettable(self: NPC, enemy: Entity, set?: boolean): void;
|
|
1296
|
+
|
|
1130
1297
|
/**
|
|
1131
1298
|
* Sets the view offset of the NPC. Player alternative of [Player:SetViewOffset](https://wiki.facepunch.com/gmod/Player:SetViewOffset).
|
|
1132
1299
|
*
|
|
@@ -1135,12 +1302,14 @@ interface NPC extends Entity {
|
|
|
1135
1302
|
* @source https://wiki.facepunch.com/gmod/NPC:SetViewOffset
|
|
1136
1303
|
*/
|
|
1137
1304
|
SetViewOffset(self: NPC, arg0: Vector): void;
|
|
1305
|
+
|
|
1138
1306
|
/**
|
|
1139
1307
|
* Resets the NPC's movement animation and velocity. Does not actually stop the NPC from moving.
|
|
1140
1308
|
* @realm server
|
|
1141
1309
|
* @source https://wiki.facepunch.com/gmod/NPC:StopMoving
|
|
1142
1310
|
*/
|
|
1143
1311
|
StopMoving(self: NPC, immediate?: boolean): void;
|
|
1312
|
+
|
|
1144
1313
|
/**
|
|
1145
1314
|
* Cancels [NPC:MoveOrder](https://wiki.facepunch.com/gmod/NPC:MoveOrder) basically.
|
|
1146
1315
|
*
|
|
@@ -1152,6 +1321,7 @@ interface NPC extends Entity {
|
|
|
1152
1321
|
* @source https://wiki.facepunch.com/gmod/NPC:TargetOrder
|
|
1153
1322
|
*/
|
|
1154
1323
|
TargetOrder(self: NPC, target: Entity): void;
|
|
1324
|
+
|
|
1155
1325
|
/**
|
|
1156
1326
|
* Marks the current NPC task as completed.
|
|
1157
1327
|
*
|
|
@@ -1161,6 +1331,7 @@ interface NPC extends Entity {
|
|
|
1161
1331
|
* @source https://wiki.facepunch.com/gmod/NPC:TaskComplete
|
|
1162
1332
|
*/
|
|
1163
1333
|
TaskComplete(self: NPC): void;
|
|
1334
|
+
|
|
1164
1335
|
/**
|
|
1165
1336
|
* Marks the current NPC task as failed.
|
|
1166
1337
|
*
|
|
@@ -1170,24 +1341,28 @@ interface NPC extends Entity {
|
|
|
1170
1341
|
* @source https://wiki.facepunch.com/gmod/NPC:TaskFail
|
|
1171
1342
|
*/
|
|
1172
1343
|
TaskFail(self: NPC, failReason: string): void;
|
|
1344
|
+
|
|
1173
1345
|
/**
|
|
1174
1346
|
* Force the NPC to update information on the supplied enemy, as if it had line of sight to it.
|
|
1175
1347
|
* @realm server
|
|
1176
1348
|
* @source https://wiki.facepunch.com/gmod/NPC:UpdateEnemyMemory
|
|
1177
1349
|
*/
|
|
1178
1350
|
UpdateEnemyMemory(self: NPC, enemy: Entity, pos: Vector): void;
|
|
1351
|
+
|
|
1179
1352
|
/**
|
|
1180
1353
|
* Updates the turn activity. Basically applies the turn animations depending on the current turn yaw.
|
|
1181
1354
|
* @realm server
|
|
1182
1355
|
* @source https://wiki.facepunch.com/gmod/NPC:UpdateTurnActivity
|
|
1183
1356
|
*/
|
|
1184
1357
|
UpdateTurnActivity(self: NPC): void;
|
|
1358
|
+
|
|
1185
1359
|
/**
|
|
1186
1360
|
* Forces the NPC to turn to their ideal yaw angle. See [NPC:SetIdealYaw](https://wiki.facepunch.com/gmod/NPC:SetIdealYaw) and [NPC:SetIdealYawAndUpdate](https://wiki.facepunch.com/gmod/NPC:SetIdealYawAndUpdate).
|
|
1187
1361
|
* @realm server
|
|
1188
1362
|
* @source https://wiki.facepunch.com/gmod/NPC:UpdateYaw
|
|
1189
1363
|
*/
|
|
1190
1364
|
UpdateYaw(self: NPC, speed?: number): void;
|
|
1365
|
+
|
|
1191
1366
|
/**
|
|
1192
1367
|
* **NOTE**: This function only works on `ai` type [SENTs](https://wiki.facepunch.com/gmod/Scripted_Entities).
|
|
1193
1368
|
*
|
|
@@ -1196,6 +1371,7 @@ interface NPC extends Entity {
|
|
|
1196
1371
|
* @source https://wiki.facepunch.com/gmod/NPC:UseActBusyBehavior
|
|
1197
1372
|
*/
|
|
1198
1373
|
UseActBusyBehavior(self: NPC): boolean;
|
|
1374
|
+
|
|
1199
1375
|
/**
|
|
1200
1376
|
* Enables the AI's [Assault Behavior](https://developer.valvesoftware.com/wiki/Assault "Assault Behavior") when an `ai_goal_assault` is set for this SENT.
|
|
1201
1377
|
* **NOTE**: This function only works on `ai` type [SENTs](https://wiki.facepunch.com/gmod/Scripted_Entities).
|
|
@@ -1205,6 +1381,7 @@ interface NPC extends Entity {
|
|
|
1205
1381
|
* @source https://wiki.facepunch.com/gmod/NPC:UseAssaultBehavior
|
|
1206
1382
|
*/
|
|
1207
1383
|
UseAssaultBehavior(self: NPC): boolean;
|
|
1384
|
+
|
|
1208
1385
|
/**
|
|
1209
1386
|
* **NOTE**: This function only works on `ai` type [SENTs](https://wiki.facepunch.com/gmod/Scripted_Entities).
|
|
1210
1387
|
*
|
|
@@ -1213,6 +1390,7 @@ interface NPC extends Entity {
|
|
|
1213
1390
|
* @source https://wiki.facepunch.com/gmod/NPC:UseFollowBehavior
|
|
1214
1391
|
*/
|
|
1215
1392
|
UseFollowBehavior(self: NPC): boolean;
|
|
1393
|
+
|
|
1216
1394
|
/**
|
|
1217
1395
|
* Orders the SNPC to control any nearby `func_tank`s looking for an NPC to operate itself, if available.
|
|
1218
1396
|
* **NOTE**: This function only works on `ai` type [SENTs](https://wiki.facepunch.com/gmod/Scripted_Entities).
|
|
@@ -1222,6 +1400,7 @@ interface NPC extends Entity {
|
|
|
1222
1400
|
* @source https://wiki.facepunch.com/gmod/NPC:UseFuncTankBehavior
|
|
1223
1401
|
*/
|
|
1224
1402
|
UseFuncTankBehavior(self: NPC): boolean;
|
|
1403
|
+
|
|
1225
1404
|
/**
|
|
1226
1405
|
* Enables the AI's [Lead Behavior](https://developer.valvesoftware.com/wiki/ai_goal_lead "Lead Behavior") when an `ai_goal_lead` is set for this SENT.
|
|
1227
1406
|
* **NOTE**: This function only works on `ai` type [SENTs](https://wiki.facepunch.com/gmod/Scripted_Entities).
|
|
@@ -1231,6 +1410,7 @@ interface NPC extends Entity {
|
|
|
1231
1410
|
* @source https://wiki.facepunch.com/gmod/NPC:UseLeadBehavior
|
|
1232
1411
|
*/
|
|
1233
1412
|
UseLeadBehavior(self: NPC): boolean;
|
|
1413
|
+
|
|
1234
1414
|
/**
|
|
1235
1415
|
* Undoes the other `Use*Behavior` functions.
|
|
1236
1416
|
*
|
|
@@ -1242,185 +1422,3 @@ interface NPC extends Entity {
|
|
|
1242
1422
|
*/
|
|
1243
1423
|
UseNoBehavior(self: NPC): void;
|
|
1244
1424
|
}
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|