Announcement

Collapse
No announcement yet.

testing events

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • testing events

    Is there a way to trigger events from inside the game to test them?

  • #2
    Read my event modding guide, lazy one
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

    Comment


    • #3
      SOLVER THAT GUY WAS MEAN TO ME.

      Oh, wait.

      Comment


      • #4
        Ha ha

        Code:
        num = gc.getInfoTypeForString("EVENTTRIGGER_KUCI_IS_MEAN")
        gc.getPlayer(0).trigger(num)
        Solver, WePlayCiv Co-Administrator
        Contact: solver-at-weplayciv-dot-com
        I can kill you whenever I please... but not today. - The Cigarette Smoking Man

        Comment


        • #5
          Whatever I type into the python console responds with "Invalid syntax: command not found". This includes perfectly valid python statents like "x = [1,2,3,4]".

          Comment


          • #6
            You're presumably using the game console and not the Python console. Python console is Shift-tilde, not tilde. The in-game console starts empty, the Python console starts with the standard Python interpreter greeting.
            Solver, WePlayCiv Co-Administrator
            Contact: solver-at-weplayciv-dot-com
            I can kill you whenever I please... but not today. - The Cigarette Smoking Man

            Comment


            • #7
              Ah, thanks.

              Comment

              Working...
              X