Skip to content

storeVehicle can't find nearest vehicle #659

@ErikMast3r

Description

@ErikMast3r

Expected behaviour

When I execute the "store vehicle in garage" it should be stored.

Actual behaviour

When I put my vehicle in front of the npc (doesn't matter fresh buyed or a veh out of the garage) and execute the "store vehicle in garage" action, I get to this:
if (isNull _vehicle) exitWith { hint localize "STR_Garage_NoNPC" };
This fault is since #346
I can't figure out where the fault is. It should be in storeVehicle before this if-condition.
There is no error in the logs, so maybe he can't find a vehicle?!

Notice: I have the property vehicle_rentalReturn on true! It doesn't work for buyed and rented cars!

Steps to reproduce the behaviour

  1. Buy a car or call one from the garage
  2. Go to the garage NPC
  3. Try to store the vehicle

RPT and/or extDB3 logs (if applicable)


Mission version: 6.0.0

Launcher version: I don't use the launcher

Game version: 1.98

Branch: master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions