Search the Community
Showing results for tags 'Selection'.
Found 6 results
-
Hey guys. I'm hoping you can help me shed some light on the selection parameter in addAction. This is what I'm trying to achieve: When approaching the object (Dual Monitor on stand) 2 actions are available. I want the actions to be fixed to each screen so when looking on the left screen only the left screen's action is available and vice versa. The object in question is the "Land_TripodScreen_01_dual_v1_F". I'm been trying to use the addAction selection parameter to do this but the actions does not want to show up. Now my primary guess is that the selection names I'm using aren't correct but I can't for the life of me figure out how to find them. The config shows hiddenSelections to be "Screen_1" and "Screen_2" and selectionNames provide the same but in lower case. I've tried HandleDamage and HitPart to no avail and I've even resorted to guessing a few variations too: screen1, monitor1, monitor_1, etc. Here's the code I'm currently running: So you guys know anything else I can try to get the selection parameter to behave. If not any ideas for a workaround? I've played with the idea of using the intersect family but, unless I've missed one, none of them return the selection. Maybe I need to go the whole hog and approximate each screen in model space and then do some fancy math to check it against the camera vector? Could be expensive for an addAction condition though. Thanks.
-
The script I'm working on calls for random sqf selection. I found this, here, and I want to make sure I understand the function. Please advise if my comments to the script are correct. _script = [1,3] call BIS_fnc_randomInt; //defines a range for cases, actually says 1-3 or 1, 2, 3. Selects one randomly. switch (_script) do { // -- I think it says if "_script" is defined, do case 1 : { [] execVM "1.sqf"; }; //put script names here case 2 : { [] execVM "2.sqf"; }; case 3 : { [] execVM "3.sqf"; }; }; SwitchDo So I could, EMERGENCY = [1,3] call BIS_fnc_randomInt; switch (EMERGENCY) do { case 1 : { [] execVM "searchZONE.sqf"; }; case 2: { [] execVM "searchZONE2.sqf"; }; case 3 : { [] execVM "noEMERG.sqf"; }; }; Can I increase the probability of a script by using it for multiple cases? Or would I use something like selectRandomWeighted?
-
Working with proxies and textures
PhoenixArma posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hey there! I have an object with some proxies in the .p3d file. I would like to be able to do a "setobjecttexture" onto the object and change some selections textures in game. Unfortunately, the texture doesn't change on proxy objects (same hiddenselection name). I worked through this page https://community.bistudio.com/wiki/Arma_3_Setting_Textures_for_Wrecks and tried to adapt this to my problem but no success so far. Anybody who got some experience with this topic? Essentially i want to be able to change the texture of an object and its containing proxies. Thanks in advance! -
New mission will only start after 10 secs - when players join during that time old mission keeps going
WurschtBanane posted a topic in ARMA 3 - QUESTIONS & ANSWERS
This is what my server.cfg looks like, i censored some things: // // More information at: http://community.bis...wiki/server.cfg // // GLOBAL SETTINGS hostname = "hostname"; // The name of the server that shall be displayed in the public server list password = ""; // Password for joining, eg connecting to the server passwordAdmin = "passwordAdmin"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz' //reportingIP = "arma3pc.master.gamespy.com"; logFile = "server_console.log"; // Tells ArmA-server where the logfile should go and what it should be called // WELCOME MESSAGE ("message of the day") // It can be several lines, separated by comma // Empty messages "" will not be displayed at all but are only for increasing the interval motd[] = { "", "Server hosted by nitrado.net", "" }; motdInterval = 10; // Time interval (in seconds) between each message // JOINING RULES maxPlayers = 6; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player. kickDuplicate = 1; // Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing. verifySignatures = 1; // Verifies the players files by checking them with the .bisign signatures. Works properly from 1.08 on equalModRequired = 0; // Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server. // VOTING voteMissionPlayers = 1; // Tells the server how many people must connect so that it displays the mission selection screen. voteThreshold = 2; // 33% or more players need to vote for something, for example an admin or a new map, to become effective allowedVoteCmds[] = {}; // disables voting // INGAME SETTINGS disableVoN = 0; // If set to 1, Voice over Net will not be available vonCodecQuality = 10; // Quality from 1 to 10 persistent=1; regularcheck=""; // MISSIONS CYCLE class Missions { class CLASS1 { template = Missionname1; cadetMode = 1; }; class CLASS2 { template = Missionname2; cadetMode = 1; }; }; My problem is that when mission Number 1 is over, the second one does not start when a player clicks OK (in the mission selection screen) after the debriefing. Because then they will join the old mission again, but it does not even restart, it just keeps going. This really pisses me off because the Mission end trigger that ends the mission after 10 mins can only be activated once... It does not occur when all players wait a few seconds though... Can anyone help me with this? In KOTH there are always different kinds of missions that switch without players having to leave or wait... -
Hi, I'm doing a plane for learning, and my model seems to have the spoiler attached to the rest of the wing. Is there any way to disconnect these points of the rest of the wing? "Isolate points" or something like that? Spoiler selection screenshot: https://gyazo.com/187114a27b9eb6bcb0ab76d034473634 Bottom selection of the spoiler: https://gyazo.com/ff5e6c03e6f157ba339115441dad2672 Top selection of the spoiler: https://gyazo.com/e08652b2e7309b31ae34e9bf38963751 GIF where you can se what happens: https://gyazo.com/0e7bd5845df6a085950e903a9165ba8b Regards, Agentep97
- 1 reply
-
- Arma 3
- Object Builder
-
(and 2 more)
Tagged with: