Jump to content

Search the Community

Showing results for tags 'preinit'.



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
  • TKO's Australia
  • 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
  • CREATEGENERATION's Intoduction
  • CREATEGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)

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. Afternoon all, I'm after a bit of advice with calling postinit and preinit functions from a mod. I've created a mod which is basically a functions library. I have one rather inconvenient issue. My Postinit and preinit functions execute on Arma 3 start, for example: I have dynamic text appearing on the main menu, which whilst amusing, isn't particularly professional. My question: How do I execute postinit and preinit functions only on Mission start when called within a @mod? Thanks in advance!
  2. Hello guys. Does anyone know a way to prevent functions from launching in the main menu? When I set up my functions to pre-init or post-init, they also execute in the main menu but I don't want this to happen.
  3. HI All, I'm trying to figure out how the preInit and postInit attributes work, and I've read a couple of threads and still am missing something... I thought the following would display "Hello BEAKO" before the mission start but nothing happens. I created: descrition.ext class CfgFunctions { class BEAKO { class preInit { file = "functions\preInit"; class test { preInit = 1; }; }; }; }; initServer.sqf [] call BEAKO_fnc_test; fn_test.sqf (inside folders "functions" sub-folder "preInit") hintC format ["Hello %1",name player];
  4. Hello. I have a function, let's just call it add_addaction. Then I have another function, which is just Retriever. The Retriever finds a city, spawns civilians and cars. For each civilian spawned, the following command is used : [_unit] remoteExecCall ["JeyR_fnc_retrieve_addaction",0,true]; The add_addaction currently doesn't do anything special, just adds an action to the unit saying "helo". This works fine. However, for JIP players, the action is not showing up. I tried to fix the problem via this piece: class CfgFunctions { class JeyR { class Jey_public { class retrieve { file = "functions\retrieve.sqf"; preInit = 1; }; class retrieve_addaction { file = "functions\retrieve_helper.sqf"; preInit = 1; }; }; }; }; And to avoid the scripts to give any errors (because the add_addaction requires an object/unit, it gives you an error that it couldn't find the unit to add the action), I put this command to the top of the scripts : _asd = missionNamespace getVariable ["running_task",0]; if (_asd == 1) then { /* The other parts of the script */ } Now even the not JIP players can't see the add action, but the RPT log doesn't give any errors. I am totally out of ideas. How does the functions library work?
×