So I started to learn the Arma coding a bit and I started off very easy, but I'm trying to challenge myself like I always do. I want to have something like this:
If the humanity is higher then 5000, i want to say it Hero.
if the humanity is lower then 0, i want to say it Bandit.
If humanity is between that, i want it so say Survivor.
This is what I tried:
if (_humanity > 5000) then {
%6 (declared if you check the code below) = "Hero";
};
if (_humanity < 0) then {
%6 = "Bandit";
};
else {
%6 = "Survivor";
};
Question
Darihon
Hello,
So I started to learn the Arma coding a bit and I started off very easy, but I'm trying to challenge myself like I always do. I want to have something like this:
If the humanity is higher then 5000, i want to say it Hero.
if the humanity is lower then 0, i want to say it Bandit.
If humanity is between that, i want it so say Survivor.
This is what I tried:
This is how far I am:
Link to comment
Share on other sites
14 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now