ufcash.blogg.se

Arma 3 mission editor tutorial ravage
Arma 3 mission editor tutorial ravage








arma 3 mission editor tutorial ravage arma 3 mission editor tutorial ravage

Inside that cash.sqf we add this code: money = money + 800 _object = _this select 0 deletevehicle _object I have a pile of money in the editor and i have this in the init field of the pile of money: this addaction <- What this does, it makes it when you go up to the pile of money you have the action 'Take Cash' and for the game to understand what it will do when this action is activated, we have a cash.sqf file in the mission folder. I am going to make an object since it is pretty easy to do while the killing and dying and team killing can get really complicated. You can also make an object that can add cash to the players 'Bank'. You can add cash after a player makes a kill and you can even make the player loose cash after each death or team kill. If you want the player to start with 10k for example the amountofmoney would be 10000 (never put comas 10,000 <- this is wrong)ĮXAMPLE: My variable name is money and i want to start with 1500 money it would be like this: money = 1500 The amountofmoney is the amount of money you want the player to have in the start of the mission. The variable name could be something like this: money = amountofmoney, cash = amountofcash, dollars = amountofcash. If you are making a cash script the variable name should remind you of money.

arma 3 mission editor tutorial ravage

The variablename could be anything that comes out of your head. Open the init.sqf file and put inside something like this (exactly like this) The 'Simple Money Script' is really simple :Dģ. Making a 'Simple Money Script' is super easy and it is the base for making the shops later.










Arma 3 mission editor tutorial ravage