Jaden Vance
Member-
Content Count
16 -
Joined
-
Last visited
-
Medals
Everything posted by Jaden Vance
-
Making a player invulnerable while reloading weapon.
Jaden Vance posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I am making a mission with grimes revive system in SOG CDLC, but I face a certain strange problem. If an enemy wounds me while I am reloading my weapon, the damage bypass the script and instantly kills me. How can I make myself invulnerable for, let's say 3 seconds, while reloading the weapon? Thanks. EDIT: Found out that a certain mod was causing some incompatibilities with grimes revive. Seems to be working now that I got rid of it. -
Multiplayer - Player local variable (like money)
Jaden Vance posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, need a small help with this one I am making a local variable named "Cash", placing it inside initPlayerLocal.sqf and set it at "Cash=1000" so every player start with this variable set to 1000. During the mission, players buy items or get awarded with more cash, so this number changes. At the end, I want to have each player variable "Cash" display as "SystemChat" or "Hint" (possibly using an "addAction" from a laptop object), to manually write down the numbers on my notebook , then change the starting amount of each player on the second mission through the initPlayerLocal.sqf. Now, my question is: How can I use their profile Id to set up different starting "Cash" variable number for each player? for example "profileID" if 0001111222333 then cash=2000; etc? -
Multiplayer - Player local variable (like money)
Jaden Vance replied to Jaden Vance's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Okay, tested and works. However, I need to place the player IDs in quotation marks, like: params ["_player", "_didJIP"]; private _uid = getPlayerUID _player; if (_uid == "0000111122223333") then { JAVA_cash = 2000; } else { JAVA_cash = 1000; }; This works perfect, and thanks for your help!!! -
Multiplayer - Player local variable (like money)
Jaden Vance replied to Jaden Vance's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Harzach, thank you for your reply. I will test the first one right away! 😄 -
Replacing an object with another object!
Jaden Vance posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I am looking to create this: I have a helipad with four helipad portable red lights. I will place an "addaction" to a nearby object to change these four lights to portable green lights, to signal pilots that this spot is free to land. And then, turn them again to red lights when a helicopter is parked there. The question is, how to replace these four lights? What command to use? Thanks in advance. -
Replacing an object with another object!
Jaden Vance replied to Jaden Vance's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Pierremgi, you are very good with this stuff. Thanks a lot, fits perfect for what I have in mind! Works excellent! ❤️ JCataclisma, your idea is also amazing. I will keep that technique in mind for future ideas! ❤️ -
Make playable AI invincible until player takes that slot.
Jaden Vance posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, I am trying to make a single-player mission for 5 people, but I would like it to be available as coop mission as well. So, I want to make the 4 playable AI group members invincible while no player is in their slot (and back to normal when a player join that slot). -
Make playable AI invincible until player takes that slot.
Jaden Vance replied to Jaden Vance's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Pierremgi That idea with the initPlayerLocal.sqf sounds good, I haven't thought of that. I will test it and probably sould be working. Thanks for your suggestion!! -
Hello. I am creating a 2 player scenario and I wanted to include a certain feature. I have created and attatched two triggers with 60m range, one for P1 and one for P2, and when either player is near an enemy (east), an ambient music is playing, and when either moves away, the music fades out. Problem is, when either of them is near an enemy, the music starts for both players, and ends when one moves away, even if the other is near the enemy. I have them setup like this: -Trigger for P1 (The same as P2, only the variable name changes): Activation: OPFOR (Present) Condition: this On activation: [] execVM "Scripts\P1_DangerON.sqf" On deactivation: [] execVM "Scripts\P1_DangerOFF.sqf" -In the dangerOn.sqf: 3 fadeMusic 0.3; playMusic "AmbientTrack01_F_Tank"; -In the dangerOff.sqf: 4 FadeMusic 0; But I guess since the scripts are activated from the trigger, this is made global. Can I somehow limit them to each player only? Thanks in advance. 🙂 EDIT: Forgot to mention, the mission will be run in dedicated server enviroment.
-
Inventory Customisation on Player(s) group AIs.
Jaden Vance posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I am preparing a mission with three 4-man teams, each leaded by a player Team leader, and 3 ai group members. How can I make it so, each player can customize his own group AI members arsenal? (I will be using ACE, if that help and the area to change the AI arsenal I want to be limited in a trigger area.) Any suggestions? -
HandleDamage Event Handler Explained
Jaden Vance replied to ShadowRanger24's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You mean to change this line here from your script: if ( isPlayer _unit ) then { _unit removeAllEventHandlers 'HandleDamage'; to this: if ( !isPlayer _unit ) then { _unit removeAllEventHandlers 'HandleDamage'; Or I get this wrong? Edit: Probably wrong because nothing happens when I try that. -
HandleDamage Event Handler Explained
Jaden Vance replied to ShadowRanger24's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, just a question. Can this script be changed differently to affect only AI units, so I can for instance have different damage for players (in MP) and different for AI units? -
[Release] BossAi Script! Units with custom Hit Point Pools, amount of lives/revives etc!
Jaden Vance replied to LSValmont's topic in ARMA 3 - MISSION EDITING & SCRIPTING
This is a very interesting script, that would help my missions a lot. It also works on myself in singleplayer, as player, which I like it, but on multiplayer, my friends get instantly killed and not dropping unconscious, were I can revive/be revived until I run out of lives, which means the script works for me, but not at all for them (Except for AI's, there it works as it should)... Is there something I can do to make it work on other players as well? Edit: Also, Im not able to revive them, although the cycle fill up and the chat which thanks me appear, the player does not stand up and remain unconscious.- 27 replies
-
- boss
- hit points
-
(and 2 more)
Tagged with:
-
Adding an action from an equipable item
Jaden Vance posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Is it possible to add an action from an equipable item, (In my case, a certain backpack) to appear when the item is eqquiped? -
Artillery from a certain inventory item
Jaden Vance posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
What Im looking for is if there's a way to call artillery strikes when (and only when) a certain item is in inventory (example, lets say a "radio") of a player. Any ideas? -
Artillery from a certain inventory item
Jaden Vance replied to Jaden Vance's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I use CBA but I would love to avoid ACE3... But let me see your work, perhaps I'll change my mind and implement ACE. :-)