ios
Member-
Content Count
99 -
Joined
-
Last visited
-
Medals
Everything posted by ios
-
How to disable the score/scoreboard
ios posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello, I tried to find answers before posting here but in vain, I like the scoreboard is always 0 for all player and this throughout the party , i tried to use Score & Addscore command but i'am a noob in Sripting, I am very happy that someone helps me. thank you in advance ! -
Spawned units go to location
ios replied to Maverik010's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
randomize position (assuming you have 3 marker named "pos1","pos2","pos3): spawn it like that : and Order attack like that to limit a trigger by mission time insert in Condition Field (exemple where trigger will be activated after 10 min mission started): -
AI Spawn Limitator - Spawning as AI Die
ios replied to colinm9991's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
click on "to download" :) -
AI Spawn Limitator - Spawning as AI Die
ios replied to colinm9991's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
http://rapidshare.com/share/76FA5A9E31EEB0CA3DE2FDF85343442B you can download RUIS.script modified from here, you can call it like before, 600 time between each wave, (wave are set to be between 30-72 units) and 20 the number of wave, before spawning a new wave it will waitUntil {(count allUnits) < 73}; you should integrate a cleaner script in your mission, to remove dead body and empty group , there is one in RUS script but it is only run 1 time per wave -
AI Spawn Limitator - Spawning as AI Die
ios replied to colinm9991's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Explication : when you call this script using : and this configuration : There is 100% chance that 25 groups of 5-15 units spawn, (the script add a minimum of 5 group) 5% chance that 3 light vehicles spawn 5% chance 1 armored vehicle & 5 chance Air vehicle spawn IN ONE WAVE ! that is pretty too much :) you have to edit variable is RUIS script , exemple using same script call line and modifying variable in the script like that : There will be 5 group of 5-15 units (cause the script call a minimum of 5 group, you have to change this line 5 is the minimum group the script add.trying to explain you but its hard if you have an exact number of ennemy you want to spawn, maybe i can give you an exemple mission -
AI Spawn Limitator - Spawning as AI Die
ios replied to colinm9991's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Give me more information about And How you call the script ! i am sure i can help -
Hello, i am trying to make this script working, it places an object (here _missionlocation) around an object (here _myunitsleader) all work till here but i want it, if the object is less than 500m away from _unit1,_unit2,_unit3 and _unit4 to select a new pos its why i use "while", i want it to get a new pos till the position be 500m away from my units, the script work but sometime the object is placed 300m away from units and i get hint telling me correct position were found >.> i did several try and try again before asking you dear community but if anyone can help or just try to help , many thanks in advance
-
that's it! i am looking for the A2 specific version! , thanks a lot Fox ! [edit] Perfect it do the trick ! thanks again ^^
-
Already done, but send me back here or on OA version
-
Link to download revive script for arma II vanilla version is dead (On first page of this thread) , there are 2 link but both are dead :s anyone have a link working ? that would be great
-
I 'am trying to get the same script or a similar script, it used in domination & in EVO that force player to use satchel to destroy Radio tower ! Thanks in Advance!
-
I Have problem with a dialog menu, i get from a template, (All credits to Author) All Work fine, except one things, i hope someone can help me. Here the problem : The player can call "Menu" in action menu, Here all work fine but when you Open Menu by Clicking on "> Menu" Error Message appear, but all work fine, i just want to remove that error message cause even if all work fine, it's not very serious to have that error message. here script i use (i repeat this script is not from me, All Credit to Author) PopupMenu.hpp : PopupMenu.sqf i hope someone will find solution ! Thanks in Advance :)
-
Display Hint & Text Select target
ios posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
is it possible to choose the target of a text message such as "hint" or radio message because every time it shows them to all players or all players the same side -
Thanks for replying :) i tried but it's not working :s here what i tried ; PopupMenu.sqf : And in CreatePopupMenu.sqf here what i have : CreatePopupMenu.sqf :
-
i have this line in a script called from Server : {if (((group _x) != Yankee) AND ((group _x) != FoxHound) AND (_x distance Base > 400)) then {_x setVehicleInit "search = this addaction [""Examine the corpse"",""Search\Search.sqf""]"}} foreach allUnits; sleep 1; processInitCommands; i can't find why it's not working ;s and -showscripterror don't tell me anything :o Any Help is Welcome !
-
ArmA2 Persistent Database Scripts - WIP
ios replied to [kh]jman's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Can't wait for this too ! :) -
I am looking for a way i check if units are dead, here what i have : {if ((side _x) != West) && (not alive units _x)} then { _jok = random 10; if (_jok >= 5) then {_x addaction ["Look for a clude", "Clude.sqf"];} forEach allUnits; sleep 100; }; i can't find what's wrong :s it's on arma II and not on arma II OA so allDead Commande do not work ! thanks in advance !
-
Thanks ! you're right ! here what i have and it's work (not tested in mp maybe you can tell me if it's gonna work) init.sqf {if ((side _x) != west) then {_x addEventHandler ["killed", "null = [_this select 1] execVM ""Clude.sqf"""]}} foreach allUnits; Clude.sqf _this = _this select 0; search = _this addaction ["Look for a clude","Clude\findclude.sqf"]; FindClude.sqf _luck = random 30; if (not((_this select 1)==player)) exitwith {}; _greg = _this select 0; if (_luck >= 25) then { hint "You find a clude"; _greg removeaction search;}; if ((_luck >= 20) AND (_luck < 25)) then { hint "you find a piece of clude"; _greg removeaction search; }; if (_luck < 20) then { hint "you find nothing"; _greg removeaction search; };
-
yes that's it, check if they are not west and not alive and if its true so addaction to their dead body :o
-
addWeaponCargo & Magazine On Server
ios replied to ios's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
That's was a good idea ! but it seem's this command only work under Arma II OA and my mission is running under Arma II ---------- Post added at 11:07 PM ---------- Previous post was at 09:15 PM ---------- I find the Solution ! Hold Script : ///=Addaction=// Vendor addAction ["Buy G36a For 300$","Weapon\G36a.sqf"]; ///=Weapon\G36a.sqf=// if (Dollars >= 300) then { Dollars = Dollars -300; Server execVM "Weapon\x_G36aOK.sqf"; PAPABEAR = [resistance,"HQ"]; PAPABEAR SideChat "G36A ADD TO RESERVE" } else {PAPABEAR = [resistance,"HQ"]; PAPABEAR SideChat "NO MONEY ENOUGH"}; ///=Weapon\x_G36aOK.sqf=/// Reserve addWeaponCargo ["G36a", 1]; New Script : ///=Addaction=// Vendor addAction ["Buy G36a For 300$","Weapon\G36a.sqf"]; ///=Weapon\G36a.sqf=// if (Dollars >= 300) then { Dollars = Dollars -300; [nil,Reserve,rEXECVM,"Armes\x_G36aOK.sqf"] call RE; PAPABEAR = [resistance,"HQ"]; PAPABEAR SideChat "G36A ADD TO RESERVE" } else {PAPABEAR = [resistance,"HQ"]; PAPABEAR SideChat "NO MONEY ENOUGH"}; ///=Weapon\x_G36aOK.sqf=/// Reserve addWeaponCargo ["G36a", 1]; I use MultiPlayer Framework to make Script run on Machine where "Reserve" is Local, sorry tu bump this thread it's just for ppl who will look for it later :) -
addWeaponCargo & Magazine On Server
ios posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I am making a mission with a money system, all works very well, but i have a problem with Weapon & Magazine, here Scripts i use : For Weapon Exemple (Reserve is the name of the ammobox, Server is the name of a Game Logic) : ///=Addaction=// Vendor addAction ["Buy G36a For 300$","Weapon\G36a.sqf"]; ///=Weapon\G36a.sqf=// if (Dollars >= 300) then { Dollars = Dollars -300; Server execVM "Weapon\x_G36aOK.sqf"; PAPABEAR = [resistance,"HQ"]; PAPABEAR SideChat "G36A ADD TO RESERVE" } else {PAPABEAR = [resistance,"HQ"]; PAPABEAR SideChat "NO MONEY ENOUGH"}; ///=Weapon\x_G36aOK.sqf=/// Reserve addWeaponCargo ["G36a", 1]; Weapon appear in Ammo Box but i can't get the weapon, same for Ammo. i use the same way for Ammo (it doesn't work) and the same way for vehicle (it's work). Thanks In Advance. -
This is a way : ==========//Init.sqf//==================== X_inIT = false; X_Server = false; X_Client = false; X_JIP = false; X_SPE = false; X_MP = (if (playersNumber east + playersNumber west + playersNumber resistance + playersNumber civilian > 0) then {true} else {false}); if (isServer) then { ////Some Variable Here blblabla = blablabla }; if (isServer) then { X_Server = true; if (!isDedicated) then { X_Client = true; X_SPE = true; }; X_inIT = true; } else { X_Client = true; if (isNull player) then { X_JIP = true; [] spawn {waitUntil {!(isNull player)};X_inIT = true}; } else { X_inIT = true; }; }; waitUntil {X_inIT}; if (X_JIP ) then { [] execVM "blablabla.sqf" }; ================================== Just Use PublicVariable to validate Objective & it should work
-
How to make scripts "hardreadable" like in valhalla or RP-Mods?
ios replied to GregRUS's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
AllRight ! -
i am wondering if it is possible to refuel vehicle with EventHandler to prevent it to fall to 0, cause i am making some armored unit patrol a city and if player take some times to come i don't want armored patrol to be fix, Thanks In Advance !
-
Thanks !