Exports / Events
API for developers
List of Events
Event Name | Type | Description |
---|---|---|
sh-k9:cl:OpenK9 | client | Triggers Main Menu |
List of Exports
Name of export | Parameters | Description |
---|---|---|
K9_MENU | Opens Main Menu | |
ATTACK | entity | Attacks Specific Entity |
TOGGLE_CAMERA | Toggle Camera | |
MOUNT_CAMERA | Mount Camera | |
CLEAR_TASKS | Clears All Current Actions | |
PLAY_ANIM | dict, anim, flags | Play Animation |
PLAY_SOUND | name (bark, GROWL, SNARL, BARK_SEQ) | Play Sound |
SET_MOOD | number (0 or 1) | Set Mood |
IS_TACKLED | Returns true / false | |
SPAWN_K9 | Spawn / Despawn K9 | |
FOLLOW | number (1 normal, 2 lead) | Follow / Stop |
FEED | Places bowl of food | |
HEAL_OR_ARMOR | type ('heal' or 'armor') | Revive / Apply Heal / Apply Armor |
SEARCH_VEHICLE | Searches Vehicle Ahead | |
SEARCH_PLAYER | Search Closest Player | |
GET_BALL | Places Ball In Hand | |
FETCH_BALL | Throws Ball | |
CARRY_DOG | Carry Dog | |
TRACKING_PLAYER | Track Player | |
TRACKING_ALL | Track All Players | |
CHECK_DOG | Checks dog status | |
TOGGLE_VEHICLE | Places dog in/out vehicle | |
LEASH | Attach/detach leash | |
GO_INTO_HOUSE | Forces dog to go in/out house | |
CREATE_HOUSE | Creates dog house |
Last updated