FutureProg functions
tonpctemplate
Overload 1
tonpctemplate overload 1
NPCTemplate tonpctemplate(Number id)
Available in
- computer function
- computer program
- standard futureprog
Returns the current NPC template by ID or name, or null.
| Parameter | Type | Description |
|---|---|---|
id |
Number |
The ID of the NPC template to find. |
Overload 2
tonpctemplate overload 2
NPCTemplate tonpctemplate(Text name)
Available in
- computer function
- computer program
- standard futureprog
Returns the current NPC template by ID or name, or null.
| Parameter | Type | Description |
|---|---|---|
name |
Text |
The name or ID of the NPC template to find. |