Title...
Trying to figure out a script call that returns encounters name, given the encounter id#
The new version of MV has a search tool you can use to find events, variables and switches.
Its always best to name your events to take full advantage of the search feature, and keeping your switches and variables titled is also very important.
wait how does that help me find a script call am i missing something?
Where are you trying to make the call; what scene and under what conditions? Are you doing it within a battle, or are you trying to reference it from the map?
im doing this from map though a common event, basical the common event will be generating a battle lets say troop id 004 and i want the name of the troop (lets say Snake) then i will rename the common event to the troop name so the player can know what fight they did and revist it at a later date, i have everything handled already expect getting the name of the troop
How will you be generating the battle? Are you doing that randomly or do you know exactly which troop you'll use for the fight?
Ok the game on boot sets 50 variables each to a number 1-167 randomly, when the player want to do a battle they will trigger a common event that will start the battle start from the first variable.
For the Purpose of this example lets take the following into account:
Troop id # 002
Troop Name: Bats
the common event to basically just will just access the first available get its value and use that as the troop id, lets say we randomly got 2, so since V1 = 2 the common event will start a battle using troop 2, now from here a wanna be able to display the name Bats somewhere the player can view.
no i wont know the troop but i will know the troop id
thanks thats what i needed