Jump to content

How to give a player an upgrade in a trigger script?


Recommended Posts

  • 3 weeks later...
On 05/03/2023 at 11:20 AM, skillfulhacks said:

I am working on a modified version of Survival of the Fittest in which I want the attacker to gain upgrades as time passes.  Is this possible?

Thanks
SkillfulHacks

Here:

https://github.com/SciGuy42/Macedonia_0ad/blob/a25/maps/scenarios/Macedonia_45.js

Starts at line 2637. In this example, all players get the techs to advance to the latest phase and player 1 also gets the line of sight with allies tech.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...