Variable = Actor Level not working (VX)
#1
I'm trying to do something really simple, and it doesn't work.

In an Event, go to Control Variables. Variable - single. Set. Actor 001:Ralph's Level.
When I display it in a message window, the variable shows as 0.

I can set variables using other stuff, like Constant, Random, Character, etc. But all of the Actor ones don't work.

Any idea how I can get the actor's level saved as a variable? Maybe I could extract it with a custom script or something?

Reply }
#2
You shouldn't have to. What you're doing should work.

Screenshot your event for us?
Reply }
#3
here's the first screenshot:

[Image: test1il.jpg]
http://imageshack.us/photo/my-images/26/test1il.jpg/

and the second:

[Image: test2jd.jpg]
http://imageshack.us/photo/my-images/843/test2jd.jpg/

sorry about the bad quality.
Reply }
#4
While your event may or may not be set up correctly, I do recall the "set variable to actor parameter" bug that EB forgot to fix when they released VX. Sure enough, I googled and found a thread related to this issue here.

To fix this issue, open up your script editor and clear out everything in the Game_Interpreter class, replace it with this. Don't thank me, thank rpgmakervx.net and trickster023 for necroposting the fixed version there, lol.
[Image: Button-BOTB.png]
[Image: Save-Point.gif][Image: Button-You-Tube2.png][Image: Button-Sound-Cloud2.png][Image: Button-Audio-Mack2.png]
[Image: LS-Banner.gif]
NEW ALBUM OUT NOW!

Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Barrier Switch Not Working Dr. Ermine 3 9,777 08-19-2015, 04:26 AM
Last Post: DerVVulfman
  Level up error spazfire 7 9,873 01-14-2010, 07:27 AM
Last Post: Jaberwocky



Users browsing this thread: 1 Guest(s)