-
Content Count
134 -
Joined
-
Last visited
-
Medals
Everything posted by Lucullus
-
Script firing multiple times on dedicated
Lucullus replied to DPM's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I did not look at much of your script, but the trigger statement works with the players. That's not good for an MP mission. Such things should only be done by the server. -
Helping with Syntax for CreateUnit
Lucullus replied to voidbyte's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Pay attention to the syntax! _grp = createGroup east; _unit = _grp createUnit ["O_Survivor_F",(getMarkerPos "opfor_0"),[],0, "NONE"]; _type = "O_Survivor_F"; _here = getmarkerpos "opfor_0"; _group = createGroup east; _init = ""; _skill = 0.5; _rank = "PRIVATE"; _type createUnit [_here,_group,_init,_skill,_rank]; -
eventhandlers What exactly are scriptedEventHandlers? [ANSWERED but still very instructive]
Lucullus replied to ZaellixA's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Excellent thread, thanks @ZaellixA for your persistent questioning, thanks to all who respond to it, specifically @Dedmen, for your consistent style. I've learned a lot, hopefully I can put that learned into practice.- 60 replies
-
- 4
-
-
- script
- scriptedeventhandler
-
(and 1 more)
Tagged with:
-
GF Explosive Objects Script - Mod
Lucullus replied to GEORGE FLOROS GR's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm always having fun with your scripts! -
GF Explosive Objects Script - Mod
Lucullus replied to GEORGE FLOROS GR's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Looks good George, will test it right away. -
Two Helis takeoff after loaded, not working on Dedicated Server
Lucullus replied to ClimberBill's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Give your playable units a variable name such as: P01. Replace "player" with the "P01" and you have the solution. The server doesn´t know player but P01. {_x in H1} count (units group P01) == {alive _x} count (units group P01); Player is a command that points to an object and works only on clients or client-server, not on dedicated-server. It would be better to give the different groups a name, for example: G01. Edit: ... and welcome to the Arma MP Universe, there are a lot of stumbling blocks left ... -
Two Helis takeoff after loaded, not working on Dedicated Server
Lucullus replied to ClimberBill's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Player on dedicated is objNull. Edit: too late -
release JBOY Fish School script
Lucullus replied to johnnyboy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Just like Johnnyboy's. But I'll take a closer look, thanks. -
release JBOY Fish School script
Lucullus replied to johnnyboy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Then I'll wait for the next surprise, maybe an insect pest ...😈 -
release JBOY Fish School script
Lucullus replied to johnnyboy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
What a great surprise. Where did you get all the ideas from? -
terrain Terrain - D41_Ruegen
Lucullus replied to Cosmo_D41's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Usually I go on vacation there, now I drive around with a tank on the island. 🤗 Good work. -
For vehicles you could do it like this: tag_fnc_used_mags = { _mags = magazinesAllTurrets _this; private _used_mags = []; { _x params ["_mag","_turret","_count"]; if (getNumber (configfile >> "CfgMagazines" >> _mag >> "count") > _count) then { _used_mags pushBack _mag }; } forEach _mags; _used_mags }; Call e.g. with: vehicle player call tag_fnc_used_mags Spits out an array of used magazines. So many ways to do something...
-
How to change description in role assignment (via description.ext)
Lucullus replied to syrasia's topic in ARMA 3 - MISSION EDITING & SCRIPTING
in EdenEditor Menue >> Attributes >> Multiplayer then in window Edit: Multiplayer >> Lobby >> Summary Edit: I think that there is no possibility with the description.ext, because it is not documented. -
The max number is in the pylon magazine text. "PylonRack_3Rnd_Missile_AGM_02_F" edit: You can also get the max ammunition with: getNumber (configfile >> "CfgMagazines" >> "PylonRack_3Rnd_Missile_AGM_02_F" >> "count");
-
I had done this last year: tag_fnc_PylonArray = { // predefine the return value private _returnArray = []; // read all existing magazines in the pylons _arrPylonMagazines = getPylonMagazines _this; // create the return array using the config { _returnArray pushback [ // pylon name _x, // pylon magazine _arrPylonMagazines select _forEachIndex, // amount of ammunition _this ammoOnPylon _x ] } forEach ("true" configClasses (configFile>>"CfgVehicles">>typeOf _this>>"Components">>"TransportPylonsComponent">>"pylons") apply {configName _x}); _returnArray }; Call e.g. with: vehicle player call tag_fnc_PylonArray; The function gives you e.g. the following array back: [ ["Pylons1","PylonRack_1Rnd_Missile_AA_04_F",1], ["Pylons2","PylonRack_7Rnd_Rocket_04_HE_F",7], ["Pylons3","PylonRack_3Rnd_Missile_AGM_02_F",3], ["Pylons4","PylonMissile_1Rnd_Bomb_04_F",1], ["Pylons5","PylonMissile_1Rnd_Bomb_04_F",1], ["Pylons6","PylonMissile_1Rnd_Bomb_04_F",1], ["Pylons7","PylonMissile_1Rnd_Bomb_04_F",1], ["Pylons8","PylonRack_3Rnd_Missile_AGM_02_F",3], ["Pylons9","PylonRack_7Rnd_Rocket_04_AP_F",7], ["Pylons10","PylonRack_1Rnd_Missile_AA_04_F",1] ] [ ["pylon name","pylon magazine",amount of ammunition], ...] With the help of the array you can quickly see which ammunition needs to be filled up.
-
Or the handleDamage EH... edit: As I guess George he is already tinkering. 😉
-
Maybe, but you can try the difference. From my ArmaArcade mission onPlayerKilled.sqf: params ["_oldUnit","_killer"]; _load = getUnitLoadout _oldUnit; // a few more lines... waitUntil { sleep 0.1; !isNull player }; player setUnitLoadout [_load,false];
-
Since I use getUnitLoadout and setUnitloadout, this error no longer occurs.
-
private your variable _month first.
-
Check commander/gunner from config
Lucullus replied to gc8's topic in ARMA 3 - MISSION EDITING & SCRIPTING
What about fullCrew? Can't test it yet. -
[SOLVED] eventHandler for opening the parachute
Lucullus replied to Fastfood4Bigfoot's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Arma vanilla? ^^^ this should give you a continual hint as you move...- 23 replies
-
- parachute
- eventhandler
-
(and 3 more)
Tagged with:
-
[SOLVED] eventHandler for opening the parachute
Lucullus replied to Fastfood4Bigfoot's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Use this instead: player addEventHandler ["AnimChanged", { if (animationState player == "para_pilot") then { ("SmokeShell" createVehicle (position player)) attachto [(vehicle player)]; }; }]; "para_pilot" is an action name, not an anim name.- 23 replies
-
- parachute
- eventhandler
-
(and 3 more)
Tagged with:
-
[SOLVED] eventHandler for opening the parachute
Lucullus replied to Fastfood4Bigfoot's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hmm, can´t test it yet... What about... player addEventHandler ["AnimChanged", { params ["","_anim"]; hint format ["%1",_anim]; }]; ...to check anim name?- 23 replies
-
- parachute
- eventhandler
-
(and 3 more)
Tagged with:
-
[SOLVED] eventHandler for opening the parachute
Lucullus replied to Fastfood4Bigfoot's topic in ARMA 3 - MISSION EDITING & SCRIPTING
untested player addEventHandler ["AnimChanged", { params ["","_anim"]; if (_anim isEqualTo "para_pilot") then { ("SmokeShell" createVehicle (position player)) attachto [(vehicle player)]; }; }]; AnimChanged EH edit: too late...- 23 replies
-
- parachute
- eventhandler
-
(and 3 more)
Tagged with:
-
Revive system please help (Sunday revive) [not solved]
Lucullus replied to Bansheevod's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Sorry, I did not know that there is a Sunday Revive script package. Unfortunately I can not start your example mission, do you already have something working? It's better to ask the author how he integrated his script package.- 33 replies
-
- 1
-
-
- sunday revive
- sunday
- (and 10 more)