Page 6 of 18 FirstFirst ... 234567891016 ... LastLast
Results 51 to 60 of 172

Thread: Simple Vehicle Respawn Script

  1. #51
    First Sergeant Tophe's Avatar
    Join Date
    Jun 4 2004
    Location
    Örebro/Sweden
    Posts
    925
    Author of the Thread
    Ok.. so I found the problem that Enforcer 1975 was having.
    I'm working on it...

    MikeJHunter, check PM.

  2. #52
    First Sergeant Tophe's Avatar
    Join Date
    Jun 4 2004
    Location
    Örebro/Sweden
    Posts
    925
    Author of the Thread
    Just released version 1.6.
    This one has a couple of serious bug fixes. If you downloaded v1.5 you should swap to this one.

    Check first post.

  3. #53
    Want to say thank you for this script! I've been using it on my new mission and it's worked perfect so far!

    One quick question on the new version. I'm wanting to add this to the new INT option. But, I can't seem to get it to work right.

    Thanks again.

  4. #54
    First Sergeant Tophe's Avatar
    Join Date
    Jun 4 2004
    Location
    Örebro/Sweden
    Posts
    925
    Author of the Thread
    Ok.
    Can you please paste the code from your units INIT line (exactly as it is typed).
    That way I'll be able to see if it's in your typing.

  5. #55

    Excellent script ToPhe

    Thanks for a very helpful script Tophe. I hope you can help me with my problem. I am currently editing EVo mission and I use your script to have some vehicle respawn. It works nice except for a small problem. They respawn on top of each other. I s there a way to fix this thanks in advance.
    CPU: IntelI72600K
    CPU COOLER: coolit ECO
    MOBO: Asus Sabretooth p68
    SSD:OCZ BBOT DRIVE
    RAM:gSKILL 8G
    PSU: CORSAIR 750W tx
    VGA:Sapphire 6995
    Window 7 64bit
    G15keyboard,zalman FPS GUN, Saitek st 290 pro,Plantronics Gamecon Gaming headset

  6. #56
    First Sergeant Tophe's Avatar
    Join Date
    Jun 4 2004
    Location
    Örebro/Sweden
    Posts
    925
    Author of the Thread
    Well... It could be a great number of problems.

    How is the mission set up?
    Is there any other scripts dealing with vehicle respawn?
    Are vehicle respawn activated in the init.sqf?
    Where are the vehicles positioned at the start of the mission?
    How have you set up the vehicle respawn script?

    Regards,
    Tophe.

  7. #57

    ^^

    The mission is Co_30_EvolutionUSMC_v08.Chernarus. All I did is place your vehicle .sqf in the mission folder and and copy in the INIT this veh = [this] execVM "vehicle.sqf"
    I also removed some aircraft from this mission cause there are far too many of them. Hope that tells you more. Thanks for the quick reply.

  8. #58
    First Sergeant Tophe's Avatar
    Join Date
    Jun 4 2004
    Location
    Örebro/Sweden
    Posts
    925
    Author of the Thread
    I would need to see the mission to see what's wrong with the position of the vehicles.
    Could you upload it somewhere and PM me the link?

  9. #59
    Quote Originally Posted by Tophe View Post
    Ok.
    Can you please paste the code from your units INIT line (exactly as it is typed).
    That way I'll be able to see if it's in your typing.
    Here's what I'm using for the Simple Vehicle Respawn:
    veh = [this] execVM "vehicle.sqf";

    Here's what I'm trying to add:
    null = this execVM "ammo.sqf";

    So, here's the two in one line:
    null = this execVM "ammo.sqf"; veh = [this, "null = this execVM "ammo.sqf""] execVM "vehicle.sqf"

  10. #60
    First Sergeant Tophe's Avatar
    Join Date
    Jun 4 2004
    Location
    Örebro/Sweden
    Posts
    925
    Author of the Thread
    You have to add all the other values before the INIT (if look in the documentation it should be mentioned there).
    Also, since you have quotations in your init you will need to double those (I think.. I'm not at my Arma computer now so I can't test it)

    null = this execVM "ammo.sqf"; veh = [this, 30, 120, 0, FALSE, FALSE, "null = this execVM ""ammo.sqf"""] execVM "vehicle.sqf"

    Something like that should have you up and running.

Page 6 of 18 FirstFirst ... 234567891016 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •