mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Updated the site doc as well
This commit is contained in:
@@ -1901,3 +1901,12 @@
|
|||||||
- there is also a unique ID number range for the player and party members from 18000 to 83535
|
- there is also a unique ID number range for the player and party members from 18000 to 83535
|
||||||
- to assign a new ID number generated by the engine to the object (i.e. unassign a unique ID), call the function with two arguments and pass -1 for the flag argument
|
- to assign a new ID number generated by the engine to the object (i.e. unassign a unique ID), call the function with two arguments and pass -1 for the flag argument
|
||||||
macro: sfall.h
|
macro: sfall.h
|
||||||
|
|
||||||
|
- name: set_scr_name
|
||||||
|
detail: void set_scr_name(string name)
|
||||||
|
doc: |
|
||||||
|
Overrides the name of the script object that was set from `scrname.msg`.
|
||||||
|
- The changed name will be reset each time the player leaves the map or reloads the game
|
||||||
|
- Passing an empty string ("") to the `name` argument or omitting it will allow the game to get the name for the object from pro_*.msg files
|
||||||
|
- __NOTE:__ this function is intended for use in normal game scripts
|
||||||
|
macro: sfall.h
|
||||||
|
|||||||
Reference in New Issue
Block a user