feat(SmartAI): Implement action type 115 "SMART_ACTION_RANDOM_SOUND"

This commit is contained in:
Stoabrogga
2019-01-26 23:16:16 +01:00
committed by Francesco Borzì
parent 9eb07a57d4
commit acf47073ab
3 changed files with 67 additions and 2 deletions

View File

@@ -544,7 +544,7 @@ enum SMART_ACTION
SMART_ACTION_GAME_EVENT_START = 112, // GameEventId
SMART_ACTION_START_CLOSEST_WAYPOINT = 113, // wp1, wp2, wp3, wp4, wp5, wp6, wp7
SMART_ACTION_RISE_UP = 114, // distance
SMART_ACTION_RANDOM_SOUND = 115, // TODO: NOT SUPPORTED YET
SMART_ACTION_RANDOM_SOUND = 115, // SoundId1, SoundId2, SoundId3, SoundId4, onlySelf
SMART_ACTION_SET_CORPSE_DELAY = 116, // TODO: NOT SUPPORTED YET
SMART_ACTION_DISABLE_EVADE = 117, // TODO: NOT SUPPORTED YET
SMART_ACTION_GO_SET_GO_STATE = 118, // TODO: NOT SUPPORTED YET
@@ -620,6 +620,15 @@ struct SmartAction
uint32 onlySelf;
} sound;
struct
{
uint32 sound1;
uint32 sound2;
uint32 sound3;
uint32 sound4;
uint32 onlySelf;
} randomSound;
struct
{
uint32 emote;