◆ ActionFillFuel()
◆ ActionCondition()
33 {
35 return false;
36
37 if (
item.GetQuantity() <= 0 )
38 return false;
39
41 return false;
42
43 if (
target.GetObject().IsDamageDestroyed())
44 return false;
45
49 {
51 return false;
52 }
54 {
56 return false;
57 }
58 else
59 return false;
60
63
65
67 {
69 {
71 {
73
75 return true;
76 }
77 }
78 }
79
80 return false;
81 }
BoatFluid
Type of vehicle's fluid. (native, do not change or extend)
Definition Boat.c:14
CarFluid
Type of vehicle's fluid. (native, do not change or extend)
Definition Car.c:19
bool IsTransport(ActionTarget target)
Definition ActionBase.c:1049
Base native class for all motorized wheeled vehicles.
Definition Boat.c:28
Definition EnConvert.c:106
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
const int LIQUID_GASOLINE
Definition constants.c:522
Перекрестные ссылки vector::DistanceSq(), ActionBase::IsTransport() и LIQUID_GASOLINE.
◆ CreateConditionComponents()
◆ FUEL_SELECTION_NAME
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/UserActionsComponent/Actions/Continuous/Vehicles/ActionFillFuel.c