Jump to content

Lordmann

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About Lordmann

  • Rank
    Rookie
  1. Lordmann

    deleteVehicle issue

    Ok thank you Grimes [3rd ID] and cobra4v320 for your response. Now I have another 2 problems, is any way of placing code into a respawned vehicle init? I am trying to place a vehicle far away from me with a script, a simple setPosATL, so the vehicle is far from me enough to respawn. I noticed that I need to "update" the vehicle, either mounting or driving it so the vehicle can respawn. If I just execute the script, the vehicle will go to the selected position but stay there even if I set the respawn to execute when the vehicle is 100m away from a player or left for 60 seconds. If I drive it and then execute the script, it'll work but just once, when the vehicle is respawned the action won't be avaliable. I found out that placing code into the respawned vehicle init could be a possible solution, yet I don't know how to do it. Any solution for these 2 problems? Thank you!
  2. Lordmann

    deleteVehicle issue

    Could you please explain a little bit how does it work? Thank you anyways!
  3. Lordmann

    deleteVehicle issue

    Oh shit, I didn't remember to say that I want a single script to be used for every vehicle. So when I put the addAction in another unnamed vehicle, it will work. OP EDITED
  4. I want to add an addAction in my vehicle init, so when I click it the vehicle gets deleted. I want a single script for every car, without need to name the vehicle (if possible) The problem is that I don't know how arrays exactly work, so what should I put in the bold part (code below) hint "Deleting vehicle..."; sleep 5; deletevehicle this; hint "Vehicle deleted"; exit; I tried with "this" referring to the vehicle where I'm executing the script, but it doesn't work. Any idea? Thank you!
  5. I tried to fix it by looking at the file and deleting this item, but then the mission won't load Any clue what is this?
  6. How can I save the file with a few units in the field, save it in the mission.sqm, load it, then edit the same map again with MCC, and save it again in the mission.sqm? I hope you can understand me, it's a little bit hard to explain.
×