Scopey
-
Content Count
10 -
Joined
-
Last visited
-
Medals
Posts posted by Scopey
-
-
cheers....
was just a question...
-
thankyou soo much... that how i had it in the begining... but a spelling mistake and a sore head destroyed me for over 2 hours...lol
-
im tired and brain dieing... setting it global???
publicvariable "SCOPY_mycounter"; ????
defining to player didnt work...
player setVariable ["SCOPY_mycounter", SCOPY_amountofbombs, true]; SCOPY_amountofbombs = player getVariable "SCOPY_mycounter";
i have even tired defining it in init.sqf
10 hours scripting for a release this weekend...grr
still the first problem is stopping me... but i have made about 20 new scripts working...
-
thanx guys... testing now :D
-
bump... any help?? as in will my idea work or another way i can code for the end result..
id be happier if there was a way the variable could be sent when button pressed
-
i trying to get a user defined variable in intgr form to be shared between scripts.
example.
_amountofbombs = ctrlText 4; if (!(_amountofbombs call ISSE_str_isInteger)) then {_amountofbombs = "0";}; _amountofbombs = _amountofbombs call ISSE_str_StrToInt; if (_amountofbombs < 0) then {_amountofbombs = 0;};gets the user input fine.
then
buttonSetAction [3, format["if ((lbCurSel 1) >= 0) then {[(lbData [1, (lbCurSel 1)]), %1, ctrlText 4] execVM ""createbombs.sqf""; closedialog 0; [0,0,0,[%1]] execVM ""bombshopdialog.sqf"";};", _bombshopNum] ];calls the next script to activate when button pressed.
but the next script wont get any variables from previous scripts.
should i define as follows?
in first script:
_bombcounter setVariable ["mycounter", _amountofbombs, true];
in script that activates on button:
_amountofbombs = _bombcounter getVariable "mycounter";
and do i need to define _bombcounter in my init.sqf?
or am i just having a brain fart?
any help welcomed
-
any current links to this map???
would love to have a run around it
-
also looking at doing the same thing... let me know if u can help
-
cheers guys will repost later with some screenie..
love the idea Ice
Arma 2 1.06 Patch Suggestions
in ARMA 2 & OA - SUGGESTIONS
Posted
a trailer script...... therefor giving us the ability to move arty pieces with vehicles
and the fire bug issue... when joining late, after a vehicle is destroyed there is a large area or massive fire coming from a single object making game play hard