Page 1 of 1

Script command addpoints:

Posted: Thu Jul 25, 2019 5:32 pm
by 52ndOx
Me again ;)

Some scenarios (eg sandbox) use a timed event command addpoints:value

I see no mention of it in the SDK documentation, or in commands.csv

What is its use? I don't understand why an AI commander's grade would be important.

Re: Script command addpoints:

Posted: Thu Jul 25, 2019 8:32 pm
by mitra76
Is used in attack\defence scenarios; it gives to the defender the amount of points given by the objective to the attacker, so if the attacker doesn't conquest the objective it going to lost because the defender will have more points at the end of scenario.

Re: Script command addpoints:

Posted: Thu Jul 25, 2019 8:37 pm
by 52ndOx
Thanks. Cool.
So it could be used to force a player to actually take the main objectives, and not just collect enough points by sitting on the easiest one to take?
A good feature that a scenario can actually have negative points if too passive.

Re: Script command addpoints:

Posted: Thu Jul 25, 2019 8:39 pm
by mitra76
In attack\defense yes because the defender has not points from the objectives

Re: Script command addpoints:

Posted: Fri Jul 26, 2019 6:02 am
by 52ndOx
Ah. So it's sandbox only and not useful in user scenario. :pinch:

Re: Script command addpoints:

Posted: Fri Jul 26, 2019 2:24 pm
by mitra76
Can be used anywhere, but make no sense in contexts where the objectives are valid for both the side

Re: Script command addpoints:

Posted: Fri Jul 26, 2019 2:58 pm
by 52ndOx
Got it, thanks. :)

I saw another post about "negative objectives" and am starting to understand some possibilities.