Jump to content

Search the Community

Showing results for tags 'scripting error'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Arma Reforger
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Green Sea
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Cam Lao Nam
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • CREATEANDGENERATION's Intoduction
  • CREATEANDGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)
  • HavenEmpire Gaming community's HavenEmpire Gaming community
  • Polska_Rodzina's Polska_Rodzina-ARGO
  • Carrier command tips and tricks's Tips and tricks
  • Carrier command tips and tricks's Talk about carrier command
  • ItzChaos's Community's Socials
  • Photography club of Arma 3's Epic photos
  • Photography club of Arma 3's Team pics
  • Photography club of Arma 3's Vehicle pics
  • Photography club of Arma 3's Other
  • Spartan Gamers DayZ's Baneados del Servidor
  • Warriors Waging War's Vigor
  • Tales of the Republic's Republic News
  • Operazioni Arma Italia's CHI SIAMO
  • [GER] HUSKY-GAMING.CC / Roleplay at its best!'s Starte deine Reise noch heute!
  • empire brotherhood occult +2349082603448's empire money +2349082603448
  • NET88's Twitter
  • Mercurious Brotherhood +2347063372861's +2347063372861>> I WANT TO JOIN OCCULT FOR MONEY RITUAL
  • 123betcasino01's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 4 results

  1. Hello guys. I've basically created an account to ask for your help as I really don't have any idea what's going on. I'm currently doing a little experiment with some scripts I found on the Steam workshop. I created my mission and created an init.sqf file for testing purposes (of course, inside the mission I created). After that and several tests, I decided to stop and continue today. Nevertheless, for some reason, when I loaded the mission I was welcomed with an error message saying: "Script C:\Users\USUARIO\Documents\Arma 3 - Other Profiles\[Sgt]%20Zeonn\missions\DiosDelClimaTEST.Altis\init.sqf not found". My first thought was to make sure my init.sqf was actually a sqf file just in case Windows messed up with my stuff. But it didn't, it is an sqf file and everything is exactly how it was yesterday, after checking the RPT files I saw this: 20:45:49 Invalid path (only relative paths supported): 'C:\Users\USUARIO\Documents\Arma 3 - Other Profiles\[Sgt]%20Zeonn\missions\DiosDelClimaTEST.Altis\init.sqf' 20:45:49 Warning Message: Script C:\Users\USUARIO\Documents\Arma 3 - Other Profiles\[Sgt]%20Zeonn\missions\DiosDelClimaTEST.Altis\init.sqf not found 20:45:49 ScriptVM file C:\Users\USUARIO\Documents\Arma 3 - Other Profiles\[Sgt]%20Zeonn\missions\DiosDelClimaTEST.Altis\init.sqf cannot be opened! It doesn't make any sense because the file path is correct, and file extension is correct (I did the full extension thing, save the file on Notepad++ and with Visual Studio to be double sure). I was about to give up when I loaded another mission, imagine my surprise when I saw the exact same error message, it's happening in all my missions. Even the older ones (like Liberation). However, I discovered that if I export the mission using the editor option (the one that saves it in the steam folder Arma3/missions as a PBO), and loaded using the Scenario option in the main menu, the init.sqf LOADS PERFECTLY, and everything runs as it's supposed to. I don't what's going on, and I have no idea how to solve it. I already tried creating a new profile, reloading the missions, verifying the game files, and everything. Would you guys help me on this? Forgot to mention: if I do an execVM "init.sqf" it also detects the file. Which makes even less sense.
  2. I am getting "Error Type Array, expected Group" when attempting to use setCurrentWaypoint, even though I am putting a group class variable in the correct position in the following script: _grpLiftHeli = createGroup east; _vehLiftHeli = createVehicle ["O_Heli_Transport_04_F", getMarkerPos "wpHeli_1", [], 0, "FLY"]; createVehicleCrew _vehLiftHeli; _vehLiftHeli setDir 240; _grpLiftHeli addVehicle _vehLiftHeli; _wpHeli1 = _grpLiftHeli addWaypoint [getPos wp6, 0]; _wpHeli1 waypointAttachObject TempTarget; _wpHeli1 setWaypointType "HOOK"; _grpLiftHeli setCurrentWaypoint [_wpHeli1, 1]; //group _vehLiftHeli setCurrentWaypoint [_wpHeli1, 1]; The error always gives the setCurrentWaypoint line number with the above listed explanation. I use prefixes that tell me the data type of the variables to avoid these kinds of trouble. As you can see, _grpLiftHeli is the created group I am using. addVehicle and addWaypoint require a Group Data Type for their opening parameters, as does setCurrentWaypoint. I used the same variable "_grpLiftHeli" for all three statements, yet, while addVehicle and addWaypoint give no errors, setCurrentWaypoint gives the "Error Type Array, expected Group" message. In the debug console I watched "xxx = groupID _grpLiftHeli;" and got back "Alpha 2-1", so it seems to be a proper group. I also tried replacing the last code line with the commented code line below it with the same results. I believe my syntax is correct based on BIS wiki, but know I still make mistakes. If anyone can explain this to me, I would be greatly appreciative. EDIT: I forgot to mention that I used the same general setup for creating a vehicle convoy and had no problems with the error. setCurrentWaypoint worked fine.
  3. Howdy, I'm trying to use a script that I 'borrowed' from a mission a friend shared with me. I believe the original script is by SPUn/LostVar (at least that's who's credited in the files I have), and the files I use were found in the mission "Operation Dagger" by OneShot. I'm getting an error message every time a trigger is tripped that calls on the "fillhouse" script that, in turn calls the "nearestBuilding" script that then calls on the "Patrol-vG" script. I know next to nothing about scripts, but if I read the error correctly, I think the problem is in the patrol-vG script. Anyway, the error popup states... '...t] call LV_nearestBuilding; _building = |#| _buildings select 0; while { alive _un...' Error undefined variable in expression: _buildings File C:\Users\etc\etc Profiles\etc\missions\testA.Altis\LV\Patrol-VG.sqf, line 12 The Patrol-vG script (part of it anyway (I don't want to step on anyones toes y'know...)) is as follows: ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ///////Simple House Patrol script vG 1.3 - SPUn / LostVar // //*infantry units patrols inside nearest building and outside of it //*Syntax: nul = [this] execVM "LV\patrol-vG.sqf"; private ["_unit","_newPos","_i","_i2","_bPoss","_building","_dir","_range","_curPos","_outOrNot"]; if(isNil("LV_nearestBuilding"))then{LV_nearestBuilding = compile preprocessFile "LV\LV_functions\LV_fnc_nearestBuilding.sqf";}; _unit = _this select 0; _buildings = ["nearest one",_unit] call LV_nearestBuilding; _building = _buildings select 0; while { alive _unit }do{ if(isNull(_unit findNearestEnemy _unit))then{ _unit forceSpeed 1; _unit setBehaviour "SAFE"; }; _bPoss = []; _i = 0; while { ((_building buildingPos _i) select 0) != 0 } do { _bPoss set [count (_bPoss), (_building buildingPos _i)]; _i = _i + 1; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ I'm assuming that the "LV_nearestBuilding" code works, since it states that the error occurs in line 12. But like I said...I know very little about scripting. Any help would be greatly appreciated.
  4. Hello, I am trying to add a simple action to a unit and am failing at the most basic step. Below is what I am running in the Extended Debug Console. player addAction ["Hello World", "hint 'Hello'", nil, 1, false, true, "", true, 0, false, ""] I understand the syntax is as follows, object addAction [title, script, arguments, priority, showWindow, hideOnUse, shortcut, condition, radius, unconscious, selection] Ref: https://community.bistudio.com/wiki/addAction However, when i execute this statement, I get the following error. 'player |#|addAction ["Hello World", "hint 'Hello'"...' Error 11 elements provided, 3 expected. I have also tried {} instead of "" around the code and that doesn't fix it. It works if i remove everything to the right of the script element but I want to eventually change the condition. Can anyone tell me what i'm doing wrong?
×