Gonobob
Member-
Content Count
26 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout Gonobob
-
Rank
Private First Class
-
setvariable on item spawned into WeaponHolder
Gonobob replied to Gonobob's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
ok, and how can i spawn item (without createVehicle) and setvariable on it? -
setvariable on item spawned into WeaponHolder
Gonobob replied to Gonobob's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
any ideas? -
setvariable on item spawned into WeaponHolder
Gonobob posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi all i have a big trouble with 'setvariable on item spawned into WeaponHolder' my script(only on server-side) #define _locStart1 [13495.3,4470.54,0.001] _itemBible = "ItemBookBible"; _isSpawned = 0; while {true} do { _date = date; If ( _isSpawned == 0 ) then { _qPack = createVehicle ["WeaponHolder", _locStart1, [], 0, "NONE"]; _qPack addMagazineCargoGlobal ["ItemBookBible",1]; _isSpawned = 1; _result = getMagazineCargo _qPack; { if ((_x select 0) == _itemBible) then { _iBible = _x select 0; _iBible setVariable ["spawned", _date, true]; //_var = _x getVariable ["spawned",-1]; diag_log "_x2"; }; } foreach _result; }; }; i have an error with _x(it is STRING type), but setvariable only on OBJECT i think Can anyone help with this? Or may be need another way to do this Thanks (sorry for bad english) -
hi all i'm trying to make new skins in config.cpp and get error Bad Vehicle Type can anyone help me with this? sorry for bad english Thanks. class CfgPatches { class dayz_server { units[] = {"Ins_Soldier_Base","YourTag_test_objs","Bot_Sniper"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"dayz_code","CACharacters2","CACharacters"}; }; class CfgVehicleClasses { class YourTag_test_objs { displayName = "Test Objects"; }; }; class CfgVehicles { class Ins_Soldier_Base; class Bot_Sniper: Ins_Soldier_Base { displayName = "BOT_Sniper"; vehicleClass = "YourTag_test_objs"; model = "\ca\characters2\civil\Pilot\Pilot"; side = 1; weapons[] = {"Throw","Put"}; backpack = ""; magazines[] = {}; respawnWeapons[] = {"Throw","Put"}; respawnMagazines[] = {}; weaponSlots = "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072"; canHideBodies = 1; }; };
-
hi all how can i change inventory color? like this http://puu.sh/38MVw.jpg Thanks
-
how it is possible to disable MAP and GPS completely?
-
titletext or cuttext to all players on the server
Gonobob posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi all, how can i send cuttext or titletext to all players on the server? Thanks -
getting parameters from mpmission
Gonobob posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
i have a question ) Can i create parameter in mpmission like units = ["1","2","3"]; and get this "units" into my addon? -
i have a question ) Can i create parameter in mpmission like units = ["1","2","3"]; and get this "units" in my addon?
-
start and stop script from 1 button
Gonobob replied to Gonobob's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
i have another question ) Can i create parameter in mpmission like units = ["1","2","3"]; and get this "units" in my addon? -
start and stop script from 1 button
Gonobob replied to Gonobob's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Big Thanks!!! i did it :) -
start and stop script from 1 button
Gonobob posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi all, I have a problem) I need to start and stop script executing when i bress one button on keyboard. if (_dikCode == 0x0D) then { _nill = execvm "player_do.sqf"; }; and player_do.sqf; while {true} do { player playMove ""; sleep .1; }; its working, but i need: press button = start hint infinitely press second time = stop player_do.sqf Thanks)) -
Increase player movement speed
Gonobob replied to Gonobob's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
thx, i have another question =)) how to make check on flatness of a surface? ))) cant find this functions but i saw it)))) -
Increase player movement speed
Gonobob replied to Gonobob's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
where can i find animation classes for example? -
Increase player movement speed
Gonobob posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Is it possible to increase player movement speed? any ideas?