Bug: GLOBAL/WORLD Variables not working

Discussion in 'Bug Reports' started by Kichiro, Aug 15, 2019.

  1. Kichiro

    Kichiro New Member
    Supporter Premium Supporter

    Joined:
    Sep 17, 2018
    Messages:
    4
    Likes Received:
    0
    Enter a brief description of what is broken GLOBAL/WORLD Variables not working

    What version of Minecraft are you using?
    1.13 R2

    What server jar are you using? Spigot

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? dev 2892

    I set the global variable, but can`t say/see about it in message or others mobs skills
    Code:
    TestGlobalVariable:
      Skills:
      - setvariable{var=global.test;value=25}
      - message{m=<global.var.test>} @PIR{r=16}
    
    it return "<global.var.test>" in message, not 25

    everything is fine with the 'caster' scope, but I need the mob to find out about the variable set by another mob, and I thought that the 'global' and 'world' scopes are suitable for this, but it not working, different mobs do not see global variables.

    with "world" scope same problem
     
    #1
    Last edited: Aug 15, 2019

Share This Page