Linderoth
Member-
Content Count
9 -
Joined
-
Last visited
-
Medals
Everything posted by Linderoth
-
Executing a script globally with an addaction
Linderoth posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi there, I'm very noob with this. I have searched on google, and I know that this topic has been answered before, but not exactly what I want. Or maybe yes, but as I say, i'm very noob, so I need that somebody explain me this better. I have created a mission with some scripts. Let me show an example: There is an object (suitcase) with this in the initbox this addaction ["Conseguir la informacion","info.sqf"]; info.sqf _marouanepos = createMarker ["marouanepos", position marouane]; _marouanepos SetMarkerType "hd_objective"; _marouanepos setMarkercolor "ColorRed"; _marouanepos setMarkerText "Marouane"; [] spawn { titleText ["Posicion de Marouane localizada","PLAIN DOWN"]; titleFadeOut 10; }; Then, when I play the mission with my friends on our server, when I click the action "Conseguir la informacion", the marker appears on the map for all players, but not the text "Posicion de Marouane localizada", which it only appears to me. I know that tthe problem is that I am the "caller" of the script and it executes locally. I know that I have to do another thing to the script executes globally. Obviously, I have the same problem with other scripts called from an addaction in the mission... How can I do this?? Please answer, and remember that I'm still a noob, please be patient :) :) :) Thank you!! PS: English is not my first language, and this is a bit difficult for me, sorry if my english isn't good! -
Executing a script globally with an addaction
Linderoth replied to Linderoth's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi! Thanks for the answer. But it doesn't work :(. The marker is created, but the text is only shown for me. My mates can't see it. I paste the whole script: _marouanepos = createMarker ["marouanepos", position marouane]; _marouanepos SetMarkerType "hd_objective"; _marouanepos setMarkercolor "ColorRed"; _marouanepos setMarkerText "Marouane"; fnc_ttext = { titleText ["Posicion de Marouane localizada","PLAIN DOWN"]; titleFadeOut 10; }; [] remoteExec ["fnc_ttext"]; sleep 5; //{"Posicion de Marouane localizada","PLAIN DOWN"} remoteExec ["titletext"]; //not working either _tsk2ok = ["task2", "SUCCEEDED",true] spawn BIS_fnc_taskSetState; _mt3 = getpos marouane; _tsk3 = ["task3",[west],["Marouane esta escondido esperando","Habla con Marouane"],_mt3,"ASSIGNED",5,true,true,""] call BIS_fnc_setTask; Please help me! #engima Thanks for your comments!! Yes, I noticed that, the scripts called from triggers are executed globally! It would be a solution for my problem, but I want to learn to do it "right". I had seen "if (!isServer) exitWhit {}" in other scripts, I wondered what was that for, finally you showed me! Thanks! -
Executing a script globally with an addaction
Linderoth replied to Linderoth's topic in ARMA 3 - MISSION EDITING & SCRIPTING
As I said, I'm noob, so I asked for someone to explain me. I know that command, but i don't know or i don't understand how to use it. Please, can anybody help? Thanks!! :) :) -
Suggest missions/game modes to be ported to IFA3
Linderoth replied to .kju's topic in ARMA 3 - USER MISSIONS
Antistasi would be so awesome! http://steamcommunity.com/sharedfiles/filedetails/?l=spanish&id=378941393 -
Hi, I have a very weird problem editing my own addon. The addon is just for private use for my clan. The problem is, the display name in the editor is correct, as you can see in the pics, but when I aim the units ingame, ALL of them shows "fusilero", "rifleman" in english. This is driving me crazy... Please help me... Thank you very much!
-
Problem with displayName
Linderoth replied to Linderoth's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hi! @Jackal326, I made the stringtable just for try if that solved the problem. It was a desperate solution heheh. @NeoArmageddon, that was not the problem, but it gave me a clue to solve it!!!!!!!!!!! The problem was "accuracy". I antered a very high number. I have set it to 3,5 and now all the display names ingame are correct. Thank you all!!! PD: sorry for my bad english! -
Hi Zbug, could you modify the arsenal so we can add insignias? (or tell me how to do it, i've tried a lot of things). We have our own rank patches so we want to use them in your wonderful mission. Thanks!
- 2432 replies
-
Hi, thanks @zbug for the info and considering my suggestions! Another question, Which parameter (and where is it) determines the size of each sector? @gwiddik Thank you very much for the guide! But I have one question: What's the difference between copying 1 marker of each type and copying over and over, and just copying ALL the markers and simply placing in correct places (and renaming them)? Thanks!
- 2432 replies
-
Hi zbug, I want to congrats you for this mission. Its excellent, one of the best I've played. Seriously, great work. I'm working on adding the spanish language to the stringtable, I will upload it once I finish it. I have some questions/suggestions: 1- What about a economic system for the gear? So, you get money by capturing sectors, killing enemies, healing friends, repairing, etc. and you buy guns and items with that money. This way you have to earn having better guns. 2- Leveling system with gives you access to better gear, restricted to higher levels. 3- Fastrope script 4- Frienldy AI support, like artillery. 5- "Fog of war". You can't see enemy sectors in the map until you are near them (2000-3000meters?). So, exploring would be interesting. 6- Mortars! I think I have not seen them in the BUILD menu. 7- Random Roadblocks and maybe patrols outside cities so you can't move freely around Altis. I know that some of them are a bit difficult heheh. I managed to make ACE3 (personally I dont like it too much, but my clan mates do) work with this mission, deleting FAR REVIVE from the init.sqf and placing the ACE modules. It's easy, but the difficult comes when you place the advanced modules. For example, advanced medical system allows medical vehicles and medical zones, so you have to insert the names of the vehicle and/or the zones. If those are generated with scripts, for me there's no way to do that (because i'm noob, sure). Another question. I'm still a bit noob in editing missions. I want to port the mission to another maps like Australia. If I extract .pbo, change the name to australia, edit in arma and move all the markers to correct places (and change the marker name), will It run properly? I'm noob at this but I could help you if needed. Sorry for my bad english!! Thank you!
- 2432 replies