Core/SAI: Extended SMART_TARGET_VEHICLE_PASSENGER to allow specifying
seat mask instead of single seat index (can now target all passengers)
This commit is contained in:
1 parent
c23ada7df1
commit
079f2002ac
4 files changed
+11
-8
No files matched your search
@@ -1217,7 +1217,7 @@ 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_VEHICLE_PASSENGER = 29, // seatMask (0 - all seats)
|
||||
|
||||
SMART_TARGET_END = 30
|
||||
};
|
||||
@@ -1345,7 +1345,7 @@ struct SmartTarget
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 seat;
|
||||
uint32 seatMask;
|
||||
} vehicle;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user