Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -



Post new topic Reply to topic  [ 4 posts ] 
susanM
  Thu Feb 09, 2012 12:30 am
User avatar
Member
how can i recall the enemy database ID name on to diplay text box? Example, the actor will say on the display box of the enemy name on the ID recalled from the enemy database.... is there a special code? Like for example, i use variables for gold to describe how much is in the variable by typing it on the display text box using the code \v[50] gold. it would show on the display text box how much gold i have but i cant seem to know the code for the enemy database ID name into the display text box... help would be much appreciated =)


Top Top
 Profile  
 

ZenVirZan
  Sat Feb 11, 2012 4:44 am
Member

Location: RMXP's Script Editor
If you don't want to get another message system, there is an easy workaround, as this function is not included in RMXP by default.
Make a new 'Call script' command, and put in:

Expand to see the code.


Where ENEMY_ID is the id of the enemy you want to call, and VARIABLE_ID is a variable thats free to change (i'd recommend setting aside a variable just for showing enemy names).

In your 'Show text', call the name through \v[VARIABLE_ID]. It will show a name instead of a number.
It's untested though; I cant access RMXP from where I am, but it should work :thumb:

_________________
Image


Top Top
 Profile  
 

Vergessen
  Sat Feb 11, 2012 5:10 am
Smile, you never know when you are on camera!
User avatar

Location: Hell(Bahrain)
did you not like the xp or xv one i post on you other post?

_________________
Lazy attempt at a signature thingy, will make a nice one when i have a name, until then please take a look :D
Image


Top Top
 Profile  
 

susanM
  Sat Feb 11, 2012 9:18 am
User avatar
Member
Sorry Vergessen... this was a double post... please disregard this one... i am on the other post not this one...

to ZenVirZan... yes, i tried ur method and it works but what im trying to do is more complicated which needs more than that...
basically what im trying to do is make a troop battle event... when the party engage in battle and go's to the battle scene... before the command menu pops up, i want it to say what type gender is each enemy the party is fighting... basically, for example... if there was 3 same slime on the scene.... then the system will break them up as SlimeA, SlimeB, and SlimeC.... I was going to make a battle event which calls the enemy database ID to the text box and will have random genders for each slime which will state on the beginning of battle on the text box, for example "SlimeA is a male, SlimeB is a female, SlimeC is a male" and i was going to add additional attributes to the different genders of the same type of monster which would make every battles different and interesting even if its just a slime that the party is fighting... i hope you get the picture so you have any ideas how to go by about getting this done? I just need how to call enemy database to the text box, how to call each battle position to the text box example: SlimeA, SlimeB and SlimeC to the text box, and last which i already have a script for is a gender description... i dont need the gender cuz i already figured out how to call it to text box... i just need the other two.


Top Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Hosted By: