(Redirected from Technical:Create Persisted Node From Prototype)
- A string with the name of the prototype that will be used
Creates a persisted node from a specified prototype. All of the fields on the new node will have the same values as the prototype. The new node will also be persistent.
- After it is created, the new node must be associated with some other node that makes it findable, otherwise it is a dead or "floating" orphaned node that cannot be accessed.
- When using the CLI, a prototype can be specified by name or ID#, but in HeroScript, only a prototype name can be used.
box as noderef box = CreatePersistedNodeFromPrototype("container")