Jump to content
Sign in to follow this  
SammyWest

Unit spawn Menu, Money, and Territory controll help.

Recommended Posts

I been working on trying to figure out this stuff sense alpha. I have found that to create money, you have to do hint format Mymoney = 0 to define that variable, but how do i get it to link to where i can make it rise or drop? In the editor i tried MyMoney = Mymoney + 1000, saved it, and gave it a couple gos but it wouldn't work. I built the sqf file, the buy file, and other things off a tutorial i found already. The hint only worked though.

Next, i been trying to figure out how to create a territory control, to where you can take over a territory in so many times. I believe you have to use a trigger for something like that, and create a init for it, but don't know what else i need to do.

Third, i want to create a object that spawns units on request. I have no idea where to start for that.

Any help would be appreciated.

Share this post


Link to post
Share on other sites

You're wrong on basic stuff and want to create some complex scripts. I suggest first to read:

https://community.bistudio.com/wiki/Scripting

https://community.bistudio.com/wiki/ArmA:_Introduction_to_Scripting

Basically the more you read from wiki, the better, i suggest to read every article in category scripting: https://community.bistudio.com/wiki/Category:Scripting_Topics

Also become familiar with https://community.bistudio.com/wiki/Category:Scripting_Commands

Share this post


Link to post
Share on other sites

I do know the basic variables, global Mymoney local _Mymoney. I know about the intergers i = 1 + 1 and stuff like that. I been researching all that and am getting a book for it all. Also ive found those scripting references years ago and have been trying to study it. I know how to clear cargo, clear all weapons and items, and found basic respawn scripts run through the init.sqf. I just need a refrence to more complex scripting so that i can actually learn off of how it is run in game so i can disect it and stuff.

---------------------------------------------------------------------------------------------------------------

You're wrong on basic stuff and want to create some complex scripts. I suggest first to read:

https://community.bistudio.com/wiki/Scripting

https://community.bistudio.com/wiki/ArmA:_Introduction_to_Scripting

Basically the more you read from wiki, the better, i suggest to read every article in category scripting: https://community.bistudio.com/wiki/Category:Scripting_Topics

Also become familiar with https://community.bistudio.com/wiki/Category:Scripting_Commands

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×