Added missing description for set_car_current_town.

Removed trailing spaces in MetaruleOp.hpp.
This commit is contained in:
NovaRain
2017-08-13 11:38:18 +08:00
parent e505e204cb
commit 7a4ab59089
2 changed files with 7 additions and 4 deletions
@@ -106,6 +106,9 @@ array - array ID to be used with array-related functions (actually an integer)
> int get_npc_level(string npc) > int get_npc_level(string npc)
- also takes the npc name as an argument, and returns the npc's current level. Again, the npc needs to be in your party. - also takes the npc name as an argument, and returns the npc's current level. Again, the npc needs to be in your party.
> void set_car_current_town(int town)
- changes the current town index for the player's car
> int get_ini_setting(string setting) > int get_ini_setting(string setting)
- reads an integer value from an ini file in the fallout directory. - reads an integer value from an ini file in the fallout directory.
- It only takes a single argument; seperate the file name, section and key with a '|' character; e.g. 'myvar:=get_ini_setting("myini.ini|mysec|var1")' If the file or key cannot be found, -1 is returned. - It only takes a single argument; seperate the file name, section and key with a '|' character; e.g. 'myvar:=get_ini_setting("myini.ini|mysec|var1")' If the file or key cannot be found, -1 is returned.