Home   Help Search Login Register  

Author Topic: vehicle respawn problem  (Read 467 times)

0 Members and 1 Guest are viewing this topic.

Commando

  • Guest
vehicle respawn problem
« on: 15 Oct 2003, 02:09:33 »
Hi i got a CTF mission where its main feature is the addon jet pack made by Martin and when i use a vehicle respawn script the jet packs doesn't respawn after destruction :P
Any clue what to do?

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:vehicle respawn problem
« Reply #1 on: 15 Oct 2003, 17:44:31 »
without seeing the respawn script this is my best stab in the dark

most likely problem if you are using a vehicle respawn script that you know works is that you are using an incorrect vehicle class name for your addon when you create the new vehicle

to check what the actual class name is, simply browse through the mission.sqm until you find the entry for the addon vehicle

      class Item42
      {
         position[]={3582.600586,132.367752,9752.236328};
         azimut=180.000000;
         special="NONE";
         id=79;
         side="EMPTY";
         vehicle="Truck5tReammo";
         skill=0.600000;
         text="V20";
         init="[this, ""Truck5tReammo""] exec ""common\vehrespawn.sqs""";
      };



the vehicle class entry has been highlighted in red for ya
« Last Edit: 15 Oct 2003, 17:47:26 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline KaRRiLLioN

  • Members
  • *
  • Grits -n- Peanut Butter are a wonderful thing
    • OFP RTS-3 Real Time War
Re:vehicle respawn problem
« Reply #2 on: 20 Oct 2003, 17:17:30 »
Or simply grab the class name by using typeOf _vehicle.