Jump to content
  • Create New...
  • 0

ERROR notice_all and get_game.get_event_flag



hello bro's:

I have a failure I could not solve.

       when kill with npc.is_pc() and npc.empire != pc.empire and pc.get_map_index() == 103 and game.get_event_flag("war") == 1 begin              


notice_all(" Emp 1"..game.get_event_flag("empire_1").." Emp 2 "..game.get_event_flag("empire_2").." Emp 3 "..game.get_event_flag("empire_3").." ")

The problem

when kill  emp_1 + 1 is good.

   notice_all(" emp_1 1 emp_2 0 emp_3 0 ") so good, but after

when kill emp_2 + 1 is bad

notice_all(" emp_1 2 emp_2 0 emp_3 0 ") so bad, but after

when kill emp_2 + 1 is good

notice_all(" emp_1 2 emp_2 1 emp_3 0 ")

I do not find a solution



Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.