Results 1 to 5 of 5

Thread: spawn script problem

  1. #1

    spawn script problem

    Hi,
    I have a little problem with a spawnscript. I have already posted in other thread because I thought it was a problem addon but apparently I have the same problem in vanilla too.
    This is what I have posted.

    Spoiler:


    What's wrong with this script ?

  2. #2
    Instead of createUnit, use createVehicle.

  3. #3
    Staff Sergeant panda123's Avatar
    Join Date
    Mar 3 2010
    Location
    In Arma Editor
    Posts
    239
    Author of the Thread
    ok after I have to use createUnit to put inside the vehicle, I will see that, thanks.

    I have found the solution thanks
    Last edited by panda123; Apr 14 2012 at 17:07.

  4. #4
    Quote Originally Posted by panda123 View Post
    ok after I have to use createUnit to put inside the vehicle, I will see that, thanks.

    I have found the solution thanks
    I would recommend you use BIS_fnc_spawnVehicle

    That will populate the vehicle with a crew for you, without having to use extra script functions.

  5. #5
    @panda123
    for what your trying to do this script does exactly that:

    AI vehicle respawn patrol area using UPS
    http://www.armaholic.com/page.php?id=6543

    you can review the script used and get other ideas, or use it as a reference, also see the demo on how its done and
    then adjust your own where needed, or just use the script altogether.
    WarMod Series - A Massive Addon & Mod Customizable Compilation mod for Arma1, Arma2,CO & soon Arma3
    Mission Repository - Hosting Missions & Files for Iron Front: Liberation 1944
    WW2Epic - A Compilation Archive of Photos, Music, Videos, & References of WW2

Similar Threads

  1. Simple vehicle spawn script problem
    By Signaller in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 2
    Last Post: Jul 3 2011, 17:43
  2. Spawn AI script?
    By thedudesam in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 10
    Last Post: Jan 9 2010, 04:53
  3. Spawn Script Help
    By Arma-2-Guru in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 7
    Last Post: Oct 2 2009, 17:32
  4. spawn script problems
    By Kendo J in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 5
    Last Post: Apr 13 2006, 21:04
  5. Spawn 5 Script
    By MattXR in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 3
    Last Post: Mar 19 2006, 09:57

Posting Permissions

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