dlegion
Member-
Content Count
617 -
Joined
-
Last visited
-
Medals
Everything posted by dlegion
-
hello again! i really wish to merge this awesome simple and efficient script of Kauppapekka into stealthstick's EtV script (so i can finally attach a charge and detonate just the one needed !). i think the relevant part is where is the "attachTo", here is the code of this part: in case you need the full script, i paste it here : really thanks for the help, fixing this its like the end of a many-years-long nightmare for me :)
- 17 replies
-
- explosives
- charges
-
(and 1 more)
Tagged with:
-
hello, i discovered after the 1.68 update, that in eden editor, many properties in list, like a common trigger "activation - none" , does not work. for example, in a common trigger, "type" list works (clicking let you choose the guarded by... end... ecc.. as usual) but the "activation" field does not work. clicking on it doesnt open the list to choose your option. same for respawn modules and many others. pretty total-broke the editor right now :(
-
Works perfectly and was simple solution !! Really thanks man, "cursorobject " was the way to go !! Thanks !!
-
hello there! i've a problem, apparently simple. working in a dedicated server JIP respawn situation, i have a script that works with friendlies, but not on enemys. i tried in console " player reveal cursorObject; " while aiming at the enemy soldier, and then it works perfectly! can someone suggest a way to execute this command like every 2- 3 seconds , or a better way to do so? very thanks !!
-
Ah nice news ! Will try it and report back ! Thanks guys ! EDIT Tested
-
Ah nice news ! Will try it and report back ! Thanks guys !
-
well...i did my best (and i know its bad), and i made this: initPlayerLocal.sqf [] execVM "DtargetRefresh.sqf"; DtargetRefresh.sqf while {true} do {player reveal cursorObject; Sleep 3;}; it works...i'm just worried about performance...will it be just local , right? and will run the command for the whole game-time be a problem ? is there a better way? thanks guys!
-
constantly display a variable on screen
dlegion replied to dlegion's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thanks man ! that help me understand !! actually Gcredits is a global variable for a (side, G is for GUER side) factory, that has credits added at every "round win" by its side. i already update it in another script called by a trigger, and when you open the factoary you already see how many credits are left, but i wished to have them constantly displayed (and updated at least at every round win), so players can have an idea of credits of theyr faction and enemy faction at any given moment (i have also a Bcredits for BLUE side). i'm sorry, i really do my best to learn, but i work 9-10 hours a day and have also other real life problems, and invest the few time left in learning this would mean finish a simple script in 2020...and i've already edited many others like R3F_LOG, SMS explosives and Zorylias 3D explosives and many others...its a too time consuming task :( thanks for your understanding guys ! -
constantly display a variable on screen
dlegion posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
hi all ! i wish to have a sort of "on screen constant scoreboard", that constantly displays a variable (in my case lets name it: "_Gcredits") i really have no idea how do this, any help will be appreciated, thanks guys ! ( i need it works on dedicated server, JIP and respawn) -
really noone can help with a "reveal object loop " ? plz :)
-
constantly display a variable on screen
dlegion replied to dlegion's topic in ARMA 3 - MISSION EDITING & SCRIPTING
maybe i'm doing something wrong, but sadly it display a "score 0" message in the middle of screen :( i wish to have it displayed in the upper right corner of screen (or at least in a corner) and display the actual value of my variable (was not set at 0 and will change during game) -
Im worried about performance....maybe adding a sort of "if iskindof "man " will help ? And how keep command local to client ? Thanks !
-
constantly display a variable on screen
dlegion replied to dlegion's topic in ARMA 3 - MISSION EDITING & SCRIPTING
ok...if i understand correctly: initServer.sqf : missionNamespace setVariable ["Gcredits", 0, true] ; initPlayerLocal.sqf : missionNamespace setVariable ["Gcredits", 0, true]; with uiNamespace do { [] spawn { waitUntil {!isNull findDisplay 46}; disableSerialization; _ctrl = findDisplay 46 ctrlCreate ["RscStructuredText", -1]; _ctrl ctrlSetPosition [safeZoneX, safeZoneY + safeZoneH * 0.5, safeZoneW, safeZoneH * 0.04]; _ctrl ctrlCommit 0; while {true} do { _ctrl ctrlSetStructuredText parseText format[ "<t color='#8f8f8f' align='center' size='0.7'> Score:%1</t>", missionNamespace getVariable "Gcredits" ]; }; }; }; is it correct? if not...i beg you, can you write the code please ? thanks guys !! -
constantly display a variable on screen
dlegion replied to dlegion's topic in ARMA 3 - MISSION EDITING & SCRIPTING
setvariable....set the variable or am i wrong ? i need to read a variable, display on screen constantly, and when this variable changes, update the display! -
constantly display a variable on screen
dlegion replied to dlegion's topic in ARMA 3 - MISSION EDITING & SCRIPTING
i'm sorry...but i dont understand where to put :( -
constantly display a variable on screen
dlegion replied to dlegion's topic in ARMA 3 - MISSION EDITING & SCRIPTING
probably yeah! where i have to put this code ? thanks man !! EDIT: i tried adding it to "init.sqf" and then on "onPlayerRespawn.sqf", and i tried to define my variable with : Gcredits = Garsenal getVariable "R3F_LOG_CF_credits"; but still dont work, it gives an error about "undefined Gcredits". and i see a message: "score any" at aiming poin in center of screen. any way to move the display in the upper-right corner ? thanks!! -
awesome! thanks man ! the script works perfectly on SP and local MP, the desired effect is to have "drag" and "melee kill" actions while aiming at an enemy soldier. on dedicated actions dont show up, but as i saied, aiming at an enemy soldier, and as admin opening the console, and writing "player reveal cursorObject" and pressing "global execution" make it work. here's the code: script is not mine, but more or less i understand its raw meaning (i edited some parts to forcewalk while dragging objects...all comments with "D" are mine). in fact also R3F_LOG logistic script has the exact same problem with enemy soldiers not recognized and action not showing up, thats why i imagined a sort of "script in loop" that checks every 3 seconds "player reveal cursorObject", but probably to work this has to run on server...thats the part i dont know :( thanks !
-
ok guys, i put hand on R3F _LOG script, and thanks to KillJoe of R3F, i was able to fix a couple of things: fix to enable logistic on everything, included men i edited this: and to fix the credits not working on dedicated server (with JIP and respawn), i edited this: hope this helps guys, and incourage to use this really, really really awesome gameplay-enhancer script! thanks R3F !
-
hi all! i'm trying to make R3F_LOG creation factory credits work on MP, dedicated, JIP, respawn. following instructions, seems they work good on SP and local MP, but on a dedicated server, after a trigger add the credits, the factory stop to show credits, and script get bugged, allowing you to buy everything, but never creating it, breaking the script. anyone have ideas about this ? thanks ! EDIT i think is a problem of variable broadcasting or something like this ! EDIT 2, SOLVED. solution at this topic page 13:
-
Local Global variable issue
dlegion replied to cupcake_actual's topic in ARMA 3 - MISSION EDITING & SCRIPTING
sry but i tried everything and not working for me. i'm in a MP-dedicated-JIP-respawn situation, factory get initial credits, but after trigger add them, when i open factory, no credits are diplayed, and if i buy something script crash leaving me in "creation" whitout end. any idea? thanks ! EDIT **** SOLVED , really thanks to DAVIDOSS for pointing me in the right direction ! thank man ! -
Sector rewards R3f Credits
dlegion replied to cupcake_actual's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Works on dedicated too ? Im stuck because dont know how execute this (server only, client, both....nothing seems to work properly ) -
Works on dedicated too !! Really thanks man, awesome script, you re great !!!
- 17 replies
-
- explosives
- charges
-
(and 1 more)
Tagged with:
-
yeeah it works perfectly in SP ! tonight will test it on dedicated! huge thanks man !!
- 17 replies
-
- explosives
- charges
-
(and 1 more)
Tagged with:
-
please forgve my ignorance, i already searched the forum about this, but no luck. where i can find a list of the "type" or "class" (dunno whats the correct word) for the item kind ? i mean like : car, tank, plane .... what are the others ?? thanks guys!
-
perfect! thanks man ! hope to share my results soon with you all :)