Difference between revisions of "SubSpace"

(→‎Advanced Usage: Using subspaces in conjunction with map and horse markers.)
Line 14: Line 14:


== Advanced Usage ==
== Advanced Usage ==
Subspaces can also be used in scripting by making them persistent and named references. Although they do not react to enable/disable functions, they can be moved into and out of place using setpos type functions. This can allow you to move a subspace over an area you want to enclose for the purposes of preventing NPC movement or reaction, and then move it back to allow normal NPC movement through that area.
Subspaces can also be used in scripting by making them persistent and named references. Although they do not react to enable/disable functions, they can be moved into and out of place using setpos type functions. This can allow you to move a subspace over an area you want to enclose for the purposes of preventing NPC movement or reaction, and then move it back to allow normal NPC movement through that area.  


A subspace can be used to make a map marker in the current worldspace act as though it was in a separate one. This is especially useful when making your open city behave properly with respect to horse stabling. To achieve this:  
A subspace can be used to make a map marker in the current worldspace act as though it was in a separate one. This is especially useful when making your open city behave properly with respect to horse stabling. To achieve this:  
Anonymous user