mirror of
https://github.com/mapbase-source/source-fgds.git
synced 2024-12-29 09:05:29 +03:00
Added NPC speed modifiers and look distance inputs
This commit is contained in:
parent
e96316e041
commit
b9585711d0
7
base.fgd
7
base.fgd
@ -652,6 +652,8 @@
|
|||||||
1 : "Yes"
|
1 : "Yes"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
BaseSpeedModifier(float) : "Speed Modifier" : "1.0" : "Multiplies how far a NPC travels while moving. Does not affect the animation itself."
|
||||||
|
|
||||||
// Outputs
|
// Outputs
|
||||||
output OnDamaged(void) : "Fired when this NPC takes damage."
|
output OnDamaged(void) : "Fired when this NPC takes damage."
|
||||||
output OnDeath(void) : "Fired when this NPC is killed."
|
output OnDeath(void) : "Fired when this NPC is killed."
|
||||||
@ -720,6 +722,11 @@
|
|||||||
|
|
||||||
input SetThinkNPC(float) : "Sets this entity's general think function to CallNPCThink. This is only necessary if it was disabled by SetThinkNull before."
|
input SetThinkNPC(float) : "Sets this entity's general think function to CallNPCThink. This is only necessary if it was disabled by SetThinkNull before."
|
||||||
|
|
||||||
|
input SetDistLook(float) : "Manually sets this NPC's sight distance. Pass '0' to reset."
|
||||||
|
input SetDistTooFar(float) : "Manually sets the distance in which NPCs will consider a target too far to attack. Pass '0' to reset."
|
||||||
|
|
||||||
|
input SetSpeedModifier(float) : "Set a float value to multiply movement animation speed."
|
||||||
|
|
||||||
input SetHintGroup(string) : "Sets this NPC's hint group."
|
input SetHintGroup(string) : "Sets this NPC's hint group."
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user