Creates a list of waypoints which the vehicle has in its orders. More...
#include <script_waypointlist.hpp>
Public Member Functions | |
ScriptWaypointList_Vehicle (VehicleID vehicle_id) |
Creates a list of waypoints which the vehicle has in its orders.
ai
Definition at line 36 of file script_waypointlist.hpp.
ScriptWaypointList_Vehicle::ScriptWaypointList_Vehicle | ( | VehicleID | vehicle_id | ) |
vehicle_id | The vehicle to get the list of waypoints he has in its orders from. |
Definition at line 28 of file script_waypointlist.cpp.
References ScriptList::AddItem(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_vehicle_pool >::Get(), Vehicle::GetFirstOrder(), ScriptVehicle::IsValidVehicle(), and Order::next.