Jump to content

Search the Community

Showing results for tags 'player connected'.



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
    • 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 Virolahti
  • TKO's Livonia
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • 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

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'm making a guerilla style coop mission the code works well in single player but as soon as i go on a Server not verry much happens I plan on having a persistent server witch initializes with the start so i only have JIPs I have been trying to just execute code on new Players either by 1. writing them in a list and updating it every 0.1 sec. or (and looping thrue them later) 2. by (Player) execVM ... i tried playing with waitUntil it doesnt seem to have any effect (apart from delying the script) i failed with both attempts there must be something im missing maybe locality? here is my code (you can also Just answer my question im shure its a simple one for some of you) : 1. : while {true} do { for "_thisPlayerNum" from 0 to (count allPlayers) do { _thisPlayer = (allPlayers select _thisPlayerNum); if (!isNil "_thisPlayer") then { if (alive _thisPlayer) then { if (!(_thisPlayer in myLivePlayers)) then { // executed on Player spawn //waitUntil {alive _thisPlayer}; myLivePlayers = (myLivePlayers + [_thisPlayer]); _thisPlayer setCaptive true; } else { if (!(alive _thisPlayer)) then { // executed on Player death myLivePlayers = (myLivePlayers - [_thisPlayer]); if (_thisPlayer in HostilePlayers) then { TimeLastShot = TimeLastShot - [(TimeLastShot select (HostilePlayers find _thisPlayer))]; HostilePlayers = HostilePlayers - [_thisPlayer]; }; }; }; if ((_checkNewPlayer != (count allPlayers)) and (_thisPlayer in myLivePlayers)) then { _thisPlayer execVM "GW_3_0_PlayerConnected.sqf"; }; _checkNewPlayer = (count allPlayers); }; }; }; sleep 0.1; }; 2. : while {true} do { if ((count allPlayers) > 0) then { if (_checkNewPlayer < (count allPlayers)) then { waitUntil{isNull (allPlayers select ((count allPlayers)-1))} (allPlayers select ((count allPlayers)-1)) execVM "GW_3_1_Main.sqf"; } _checkNewPlayer = (count allPlayers); }; sleep 0.1; }; I would verry much appreciate your help this holds me back for a week now THX in advance
×