Jump to content
  • 0

Using welcomecredits.sqf causes script kick


imranh101

Question

Hey guys, hoping for some help with this script kick. I have included the scripts log to help figure out what exception I need added...

 

Here is the script I'm using : 

/*
	File: welcomecredits.sqf
	Author: HellsGate
	Date: 14/12/2013
	Description:
	Creates an intro on the bottom-right hand corner of the screen.
*/

_onScreenTime = 8; //<-- How long is the text on the screen for ? Recommended: 1

sleep 15; //Wait in seconds before the credits start after player is in-game

_role1 = "Welcome to ";
_role1names = ["omitted"];
_role2 = "Version based on:";
_role2names = ["Epochmod.com"];
_role3 = "Admin Team";
_role3names = ["omitted"];
_role4 = "Programming Team";
_role4names = ["omitted"];
_role5 = "Design Team:";
_role5names = ["omitted"];
_role6 = "Website:";
_role6names = ["omitted"];
_role7 = "TeamSpeak:";
_role7names = ["omitted"];

{
sleep 2;
_memberFunction = _x select 0;
_memberNames = _x select 1;
_finalText = format ["<t size='0.55' color='#ffff33' align='right'>%1<br /></t>", _memberFunction];
_finalText = _finalText + "<t size='0.70' color='#FFFFFF' align='right'>";
{_finalText = _finalText + format ["%1<br />", _x]} forEach _memberNames;
_finalText = _finalText + "</t>";
_onScreenTime + (((count _memberNames) - 1) * 0.9);
[
_finalText,
[safezoneX + safezoneW - 0.8,0.50], //DEFAULT: 0.5,0.35
[safezoneY + safezoneH - 0.8,0.7], //DEFAULT: 0.8,0.7
_onScreenTime,
0.5
] spawn BIS_fnc_dynamicText;
sleep (_onScreenTime);
} forEach [
//The list below should have exactly the same amount of roles as the list above
[_role1, _role1names],
[_role2, _role2names],
[_role3, _role3names],
[_role4, _role4names],
[_role5, _role5names],
[_role6, _role6names],
[_role7, _role7names],
];

The script kick error is...

23.03.2015 20:02:39: Omitted (173.172.112.166:2304) 3f634fdd4235e4fc620fdd45619e8150 - #1 "Y + safezoneH - 0.8,0.7], 
_onScreenTime,
0.5
] spawn BIS_fnc_dynamicText;
sleep (_onScreenTime);
} forEach [

[_role1, _role1na"

Thanks in advance :)

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...