Core/SAI: added SMART_ACTION_RANDOM_SOUND

Closes #16376
This commit is contained in:
Lopfest authored and DDuarte committed 2016-01-26 03:26:41 +00:00
1 parent e6a7818a9a
commit e4af2baa7e
3 files changed
+45 -1

No files matched your search

@@ -540,8 +540,9 @@ 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, // SoundId1, SoundId2, SoundId3, SoundId4, SoundId5, onlySelf
SMART_ACTION_END = 115
SMART_ACTION_END = 116
};
struct SmartAction
@@ -1017,6 +1018,12 @@ struct SmartAction
uint32 wp6;
} closestWaypointFromList;
struct
{
uint32 sound[5];
uint32 onlySelf;
} randomSound;
//! Note for any new future actions
//! All parameters must have type uint32