-
Content Count
10 -
Joined
-
Last visited
-
Medals
-
Tetixx changed their profile photo
-
[Release] Virtual Arsenal Shop System
Tetixx replied to 7erra's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Awesome. Thank you very much man. 👌 -
[Release] Virtual Arsenal Shop System
Tetixx replied to 7erra's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Btw, where do you find the night vision goggles in your vass eden mod? -
[Release] Virtual Arsenal Shop System
Tetixx replied to 7erra's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey man, any idea how to make the money system of ravage work for this? Ravage has a simple money system. the money is physical, you put it in your inventory. classname is "rvg_money" EDIT: I did a bit of tinkering fn_VASShandler sqf and did this: /* Author: 7erra <https://forums.bohemia.net/profile/1139559-7erra/> Description: VASS calls this function when certain events happen. Add your own code to change behaviour. (Similar to BIS_fnc_callScriptedEventHandler) Parameter(s): 0: STRING - Mode in which the functions is called 1: ARRAY - Passed arguments Returns: See sub functions */ params ["_mode",["_this",[]]]; switch _mode do { case "getMoney":{ /* Description: VASS wants to know how much money the unit has Parameter(s): 0: OBJECT - Unit whose money is requested Has to return: NUMBER - Unit's money */ params ["_unit"]; /* EXAMPLE */ ({_x isEqualTo "rvg_money"} count magazines _unit) }; case "setMoney":{ /* Description: VASS changes the amount of money the player has Parameter(s): 1: OBJECT - Unit whose money will be changed 0: NUMBER - Amount of money changed (can be positive or negative) Has to return: Nothing */ params ["_unit", "_change"]; /* EXAMPLE */ _unit addMagazines ["rvg_money", _change]; }; }; With that I got to show my current ravage money in my inventory on the shop, it shows the difference if you buy something, etc. but it doesnt remove a certain amount of ravage money in my inventory after I buy. for example, I have 1,200 rvg money. I buy a a gun priced at 200. The shop lets me buy it because I have 1,200 rvg money. But then after I buy, it my money is still at 1,200 instead of 1,000. Any idea? (Sorry, not so good in scripting. I only got to write the script above through bits and pieces searching on google. UPDATE: Got it. Borrowed this code from HallyG of HAL's shop. case "setMoney":{ /* Description: VASS changes the amount of money the player has Parameter(s): 1: OBJECT - Unit whose money will be changed 0: NUMBER - Amount of money changed (can be positive or negative) Has to return: Nothing */ params ["_unit", "_funds"]; /* EXAMPLE */ if (_funds < 0) then { for "_i" from 1 to (abs _funds) do { _unit removeItem "rvg_money"; }; } else { _unit addMagazines ["rvg_money", _funds]; }; }; }; -
Hey guys. Any idea how to make the player not walk when placing stuff from the creation factory? Like enable the player to run. Currently it forces the player to walk.
-
GF Ravage Heros Money Reward
Tetixx replied to GEORGE FLOROS GR's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank you so much man! Thanks for the time. Glad you helped me out.- 29 replies
-
- 1
-
- ravage
- heros survive
-
(and 3 more)
Tagged with:
-
GF Ravage Heros Money Reward
Tetixx replied to GEORGE FLOROS GR's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks for the solution! Although I know you put this somewhere in the sqf file, I dont know which line to put this in specifically. I apologize, I'm a bit of a bum when it comes to scripts.- 29 replies
-
- 1
-
- ravage
- heros survive
-
(and 3 more)
Tagged with:
-
GF Ravage Heros Money Reward
Tetixx replied to GEORGE FLOROS GR's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Oh I didn't notice it was made for SP. But thank you! Hoping you could come up with a solution.- 29 replies
-
- 1
-
- ravage
- heros survive
-
(and 3 more)
Tagged with:
-
Tetixx started following GEORGE FLOROS GR
-
GEORGE FLOROS GR started following Tetixx
-
GF Ravage Heros Money Reward
Tetixx replied to GEORGE FLOROS GR's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey bro, the kill counter also counts for the player if he dies or respawns. Any way to fix this? Thanks btw- 29 replies
-
- 1
-
- ravage
- heros survive
-
(and 3 more)
Tagged with:
-
Arma 3 Photography - Pictures only NO comments! And List your Addons Used!
Tetixx replied to Placebo's topic in ARMA 3 - GENERAL
Operation Kingfish Addons: POLPOX Artwork, whiplash and direone statics, ussocom, cup terrain- 6858 replies
-
- 14
-
Arma 3 Photography - Pictures only NO comments! And List your Addons Used!
Tetixx replied to Placebo's topic in ARMA 3 - GENERAL
War Photography Addons used: POLPOX Artwork Supporter, Whiplash static anims, CFP, CUP, DHI Uniforms & Equipment, DIREONE'S combat and relax poses, NATO weapons & vehicles, Philippine factions mod, RHS, RUSVDV, spec4gear, TFR static poses, ussocom massi, Project OPFOR, Kunduz and Zargabad maps Ambush De Oppresso Liber Calm before the storm Joint Excercises For The Motherland! Flight Deck Patrol Sneaky Local help- 6858 replies
-
- 24