Difference between revisions of "SubSpace"
Jump to navigation
Jump to search
m
no edit summary
imported>Wrye (No longer a glossary entry) |
imported>Vagrant0 m |
||
Line 6: | Line 6: | ||
:*Make sure the subspace is placed to include all of the ground where an actor could stand in the area. If the ground is not included in the subspace, an actor standing on that ground may not realize they are in the subspace. | :*Make sure the subspace is placed to include all of the ground where an actor could stand in the area. If the ground is not included in the subspace, an actor standing on that ground may not realize they are in the subspace. | ||
:*Also make sure that the teleport doors in the area have their pivot point in the subspace (the reference dialog box can give you this information). If a door does not think it is part of the subspace, it will not be used for pathing into and out of that space. | :*Also make sure that the teleport doors in the area have their pivot point in the subspace (the reference dialog box can give you this information). If a door does not think it is part of the subspace, it will not be used for pathing into and out of that space. | ||
:*Subspaces can also be used as a means of making actors ignore behavior that would normally occur, such as detection, combat pathing, or reacting to attacks. An actor placed in normal space will ignore anything that happens within a subspace. An actor that is within a subspace will ignore everything outside that subspace. Actors may however cross subspace boundaries if they are currently in combat and the target lies within the same space. | |||
:SubSpaces can be found under Miscellaneous > SubSpace in the [[Object Window]]. | :SubSpaces can be found under Miscellaneous > SubSpace in the [[Object Window]]. | ||
== 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. | |||
[[Category:Path Finding]] | [[Category:Path Finding]] | ||
[[Category:Path Grids]] | [[Category:Path Grids]] |