Jump to content

Search the Community

Showing results for tags 'synchronizedWaypoints'.



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
  • TEORI BERITA's qqsuper99
  • QQSUPER99: Daftar Situs Slot Gacor Online Link Terbaru Gampang Menang's slot gacor
  • QQSUPER99: Daftar Situs Slot Gacor Online Link Terbaru Gampang Menang's slot gacor

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 1 result

  1. I need to solve this problem for a project (Spawn Script Creator) that deletes all specified units, vehicles and waypoints created with editor and spawns all of it with all needed informations at a later time. Its so long, Ive to do a break here and end that post later. Ill bump the topic if I ve finished this post... Okay guys I ve a problem and I try to solve it since days but I ve no luck. I checked everything multiple times forwards and backwards but it doesnt work. I ll give u the code snippet but I think its hard to understand it because of the multiple nested array. I wrote a description below but if u have questions just aks please. { _max_wp_index = (count _x)-1; { if(_forEachIndex < _max_wp_index) then { _synced_indexes = (_x select 18); if ((count (_x select 18)) > 0) then { _synced_wps = (_x select 18) apply {_all_wps select (_x)}; (_all_wps select (_x select 19)) synchronizeWaypoint _synced_wps; }; }; } forEach _x; }forEach _all_wp_info; decription of process: I ve 2 main arrays _all_wp_info and _all_wps. _all_wp_info is an array which contains all information about all waypoints it looks like: [[[pos,name,...],[pos,name,...],..., curWPindx],[[pos,name,...],[pos,name,...],..., curWPindx]]] the first nested structure is group 1, group2, ... nested in the groups is wp1, wp2, ... and the last element is not the last WP but the index of the current wp of the group. nested in each WP is the information as position, name, behavior ... the second array _all_wps is just a straight array containing all already spawned waypoints in waypoint format [group, index]: [[grp,indx],[grp,indx],[grp,indx],[grp,indx],[grp,indx],[grp,indx]] The script has 2 main loops where the outer one iterates over every group and the inner one over exery waypoint in _all_wp_info. the first if condition inside the inner loop is to exclude the last element because its not filled with waypoint information, its just the index of the current waypoint of the group. (_x select 18) is an array of indexes for _all_wps of all synchronized Waypoints [index, index, index, ...] for the actually processed waypoint. this line: _synced_wps = (_x select 18) apply {_all_wps select (_x)}; uses apply to push the waypoints in waypoint format [group, index] from _all_wps to _synced_wps. _synced_wps is filled with the correct information after that, i checked that multiple times. (_x select 19) contains the index in _all_wps of the actually processed waypoint. so that this line: (_all_wps select (_x select 19)) synchronizeWaypoint _synced_wps; selects the current processed wp from _all_wps and synchronizes it with the waypoints stored in _synced_wps. Its so long, Ive to do a break here and end that post later. Ill bump the topic if I ve finished this post... The problem: syncing works only in a few cases. I created 2 groups each with 3 waypoints. In each of my tests I synced 2 waypoint each other only. I tested each combination of synced waypoints possible and I get the following table containing the successes: grp1 grp2 1sw2 2sw1 F F Y N F M Y N F L N N M F Y N M M Y N M L N N L F N N L M N N L L N N description of table: column grp1 shows the waypoint of group 1 which I tried to sync column grp2 shows the waypoint of group 2 which I tried to sync column 1sw2 (1 synced with 2) shows if syncing waypoint group 1 with wp grp 2 was a success column 2sw1 (2 synced with 1) shows if syncing waypoint group 2 with wp grp 1 was a success F - first waypoint of group M - middle waypoint of group L - last waypoint of group Y - Yes, syncing worked N - No, syncing didnt work As u can see in the table, only syncing of first and middle waypoint of group 1 with first and middle waypoint of group 2 worked. Not vice versa... I hope anyone of u is fancy to this theme and has the time for it to dig in... Download: mission folder in dropbox if anyone likes to download and test the whole thing. the code snippet above is inside "spawn_script_creator.Altis\functions\spawn\fn_spawn_all_in.sqf" If u downloaded the mission and dont get where is what and which script is called by what then just PM me...
×