Help with simple script call..

● ARCHIVED · READ-ONLY
Started by Bionic687 3 posts View original ↗
  1. hey guys..

    I'm doing a conditional check using a script call..

    ($gameActors.actor(X).isStateAffected(Y))

    this works just fine.. however.. im trying to make the value X equal to the value of a variable

    ($gameActors.actor($gameVariables.value(4)).isStateAffected(12))

    doesnt work..

    what am i doing wrong??

    thanks!
    dave
  2. @Bionic687 Hmm what’s the context on setting that variable? Your script call for variable values is correct.
  3. I tested your command out and it works just fine. How are you populating variable 4?