Core/SmartAI: Implement SMART_TARGET_VEHICLE_ACCESSORY
By Malcrom
This commit is contained in:
1 parent
cdff8ab387
commit
dca200d6b6
2 files changed
+15
-1
No files matched your search
@@ -1209,8 +1209,9 @@ enum SMARTAI_TARGETS
|
||||
SMART_TARGET_CLOSEST_FRIENDLY = 26, // maxDist, playerOnly
|
||||
SMART_TARGET_LOOT_RECIPIENTS = 27, // all players that have tagged this creature (for kill credit)
|
||||
SMART_TARGET_FARTHEST = 28, // maxDist, playerOnly, isInLos
|
||||
SMART_TARGET_VEHICLE_ACCESSORY = 29, // seat number (vehicle can target it's own accessory)
|
||||
|
||||
SMART_TARGET_END = 29
|
||||
SMART_TARGET_END = 30
|
||||
};
|
||||
|
||||
struct SmartTarget
|
||||
@@ -1333,6 +1334,11 @@ struct SmartTarget
|
||||
uint32 param2;
|
||||
uint32 param3;
|
||||
} raw;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 seat;
|
||||
} vehicle;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user