Jump to content

Search the Community

Showing results for tags 'dynamic test'.



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
  • DayZ Italia's Lista Server
  • DayZ Italia's Forum Generale

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. So, I'm making a credits script which spawns movie-like credits rolling on the screen. The script works fine but I'm using bis_fnc_dynamictext to create the text, and there seems to be a limit to the length of the text you can use. My initial idea was to rewrite a very similar function only changing the length cap. Trouble is I don't understand what's limiting the length of the text in the original function. Any clues? Here's the code to the fnc: /* File: credits.sqf Author: Karel Moricky Description: Dynamic opening credits Parameter(s): _this select 0: Text _this select 1: (Optional) X coordinates _this select 2: (Optional) Y coordinates _this select 3: (Optional) Duration _this select 4: (Optional) Fadein time _this select 5: (Optional) Delta Y _this select 6: (Optional) Resource layer */ disableserialization; _text = _this select 0; _x = if (count _this > 1) then {_this select 1} else {-1}; _y = if (count _this > 2) then {_this select 2} else {-1}; _w = -1; _h = -1; _delay = if (count _this > 3) then {_this select 3} else {4}; _fade = if (count _this > 4) then {_this select 4} else {1}; _moveY = if (count _this > 5) then {_this select 5} else {0}; _layer = if (count _this > 6) then {_this select 6} else {[] call bis_fnc_rscLayer}; if (_delay < 0) then {_delay = 4}; if (_fade < 0) then {_fade = 1}; //--- Width and Height if (typename _x == typename []) then { _array = _x; _x = _array select 0; _w = _array select 1; }; if (typename _y == typename []) then { _array = _y; _y = _array select 0; _h = _array select 1; }; _layer cutrsc ["rscDynamicText","plain"]; _display = uinamespace getvariable "BIS_dynamicText"; _control = _display displayctrl 9999; _control ctrlsetfade 1; _control ctrlcommit 0; _pos = ctrlposition _control; if (_x != -1) then {_pos set [0,_x]}; if (_y != -1) then {_pos set [1,_y]}; if (_w != -1) then {_pos set [2,_w]}; if (_h != -1) then {_pos set [3,_h]}; _control ctrlsetposition _pos; if (typeName _text == typeName "") then { _control ctrlsetstructuredtext parseText _text; } else { _control ctrlsetstructuredtext _text; }; _control ctrlcommit 0; _control ctrlsetfade 0; _control ctrlcommit _fade; waituntil {ctrlcommitted _control}; if (_moveY != 0) then { _y = _pos select 1; _pos set [1,_y + _moveY]; _control ctrlsetposition _pos; _control ctrlcommit _delay; }; //if (_layer != 789) exitwith {}; _spawn = missionnamespace getvariable format ["bis_dynamicText_spawn_%1",_layer]; if (!isnil "_spawn") then {terminate _spawn}; _spawn = [_control,_delay,_fade,_moveY,_layer] spawn { disableserialization; _control = _this select 0; _delay = _this select 1; _fade = _this select 2; _moveY = _this select 3; _layer = _this select 4; if (_moveY != 0) then {waituntil {ctrlcommitted _control}} else {sleep _delay}; _control ctrlsetfade 1; _control ctrlcommit 1; waituntil {ctrlcommitted _control}; _layer cuttext ["","plain"]; }; missionnamespace setvariable [format ["bis_dynamicText_spawn_%1",_layer],_spawn]; waituntil {scriptdone _spawn};
×