Results 1 to 6 of 6

Thread: problem calling scripts

  1. #1

    problem calling scripts

    ok community maybe you can help me here community i am trying to figure out how i can make scripts work in my missions

    for example the massive paradrop script
    http://www.youtube.com/watch?v=EyGNwmaFW8I



    comes with a script that says "eject1.sqs" well i try to call the script in my missions and it says script "eject1.sqs" not found even tho i put the script in the mission folder that im editing in my user missions foler in my documents but it still says the sqs is not found


    same for the fastrope script with ad_dukes helos
    nul = [helo, 30, "move1.sqs"] execVM "\ad_helos\FastRope\scripts\fast_rope_AI_pilot .sqf "

    move1.sqs is in the folder but it claims it cant find it

    if anyone has insight into this please let me know

  2. #2
    First Sergeant cobra4v320's Avatar
    Join Date
    Mar 10 2009
    Location
    Seattle Washington
    Posts
    841
    eject.sqf

    Code:
    if (isServer) then 
    {
    	_grp = _this select 0;
    
    	sleep (random 3);
    	
    	{
    		unassignVehicle (_x); 
    		(_x) action ["EJECT", vehicle _x];
    		sleep 0.4;
    	} foreach units _grp;
    };
    Called in the waypoint of the plane: nul = [groupName] execVM "eject.sqf"

    Try this for the fastrope: nul = [helo, 30, "move1.sqs"] execVM "ad_helos\FastRope\scripts\fast_rope_AI_pilot .sqf "
    Last edited by cobra4v320; Aug 27 2010 at 00:29.

  3. #3
    ok how do i make the sqf do i copy it in notepad then save as eject.sqf?

  4. #4

  5. #5
    ok ill try n letyou know

    ---------- Post added at 07:52 AM ---------- Previous post was at 06:51 AM ----------

    ok so i made the "eject sqf" put it in the mission folder and it still says "cannot find "eject.sqf"

  6. #6
    First Sergeant cobra4v320's Avatar
    Join Date
    Mar 10 2009
    Location
    Seattle Washington
    Posts
    841
    1. Make sure you are saving the file in notepad as eject.sqf

    2. You should then be placing the file into documents/ARMA 2/missions/mission name.

    After that it should work no problems, if you arent doing one of the above then maybe try posting your mission.

Posting Permissions

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