mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-23 20:27:57 +03:00
Updated VScript in Mapbase (markdown)
parent
35dad9ffb0
commit
25efcee9e1
@ -113,15 +113,23 @@ The base class shared all NPCs derive from.
|
||||
| *handle* FindEnemyMemory()| Get information about the NPC's current enemy. |
|
||||
| *string* GetHintGroup()| Get the name of the NPC's hint group. |
|
||||
| *int* GetNPCState()| Get the NPC's current state. |
|
||||
| *string* GetHintGroup()| Get the name of the NPC's hint group. |
|
||||
| *handle* GetHintNode()| Get the NPC's current AI hint. |
|
||||
| *int* CapabilitiesGet()| Get the capabilities the NPC currently possesses. |
|
||||
| *void* CapabilitiesAdd(int *capabilities*)| Add capabilities to the NPC. |
|
||||
| *void* CapabilitiesRemove(int *capabilities*)| Remove capabilities from the NPC. |
|
||||
| *void* CapabilitiesClear()| Clear capabilities for the NPC. |
|
||||
| *void* GetActivity()| Get the NPC's current activity. |
|
||||
| *void* GetActivityID()| Get the NPC's current activity ID. |
|
||||
| *void* SetActivity()| Set the NPC's current activity. |
|
||||
| *void* SetActivityID()| Set the NPC's current activity ID. |
|
||||
| *void* ResetActivity()| Reset the NPC's current activity. |
|
||||
| *string* GetSchedule()| Get the NPC's current schedule. |
|
||||
| *int* GetScheduleID()| Get the NPC's current schedule ID. |
|
||||
| *void* SetSchedule(string *schedule*)| Set the NPC's current schedule. |
|
||||
| *void* SetScheduleID(int *sched*)| Set the NPC's current schedule ID. |
|
||||
| *string* GetTask()| Get the NPC's current task. |
|
||||
| *int* GetTaskID()| Get the NPC's current task ID. |
|
||||
| *void* ClearSchedule(string *reason*)| Clear the NPC's current schedule for the specified reason. |
|
||||
| *bool* HasCondition(int *condition*)| Get whether the NPC has a condition. |
|
||||
| *bool* HasConditionID(int *condition*)| Get whether the NPC has a condition ID. |
|
||||
|
Loading…
x
Reference in New Issue
Block a user