QUOTE (PassedEdge @ Feb 6 2010, 08:35 PM)
What I believe you're asking is how to take an enemys hp/mp and turn it into a variable so you can use it in an event?
I didn't test it, but I think this should work. make a new event, choose control variables, single and name it something like "enemy hp" or "enemy mp". After that under "operation" you would choose "set" and under "operand" you would choose "enemy". to the right of "enemy" select the name of the enemy and to the right of that change it to "hp" or "mp"
That may have been a bit difficult to follow and I'm not even sure if that's what you were asking about, but I can also attach a screenshot to help out.
I think this will only work if used in a battle.
You'll need to extract the information from the database using script and put it into a variable. This is beyond my ability, though.