Giving player to chose the name of the monster in OHR?
Moderators: Bob the Hamster, marionline, SDHawk
Giving player to chose the name of the monster in OHR?
Let's say i want a plyer to decide how the certain monster will be named in all the following battles. is this possible, or you can't do that because the battles are complete different world, which you can't influence via scripting yet? If possible, then tell me how, please.
Last edited by Gaplan on Mon Mar 12, 2018 11:19 am, edited 1 time in total.
sorry for bad english
- SwordPlay
- Chemical Slime
- Posts: 966
- Joined: Sun Jan 22, 2017 9:32 am
- Location: London, England
- Contact:
"set enemy name" I think.
http://hamsterrepublic.com/ohrrpgce/doc ... tenemyname
in the enemies/formation functions
it is not carried over in saves, so you need to store it somewhere else and load it whenever the game is loaded. perhaps if you use a global variable for each name/monster?
http://hamsterrepublic.com/ohrrpgce/doc ... tenemyname
in the enemies/formation functions
it is not carried over in saves, so you need to store it somewhere else and load it whenever the game is loaded. perhaps if you use a global variable for each name/monster?
Last edited by SwordPlay on Mon Mar 12, 2018 12:22 pm, edited 3 times in total.
Strings can be saved in save-games. They're not saved by default, to my surprise (I probably forgot to make it the default). So go to General Game Settings -> Saved Games Settings -> Save strings = YES. Then you can keep the name of the enemy in a string, and reapply the 'set enemy name' command in the load-game script.VapourSword wrote:it is not carried over in saves, so you need to store it somewhere else and load it whenever the game is loaded. perhaps if you use a global variable for each name/monster?