Garry's Mod Wiki

Task:Run_FName

  Task:Run_FName( NPC target )

Description

This is used internally - although you're able to use it you probably shouldn't.

Runs the AI task as an NPC method. This requires the task to be of type TYPE_FNAME.

Arguments

1 NPC target
The NPC to run the task on.