Added NPC speed modifiers and look distance inputs

This commit is contained in:
Blixibon 2020-04-29 13:11:34 -05:00
parent e96316e041
commit b9585711d0

View File

@ -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."
] ]