| NWN2 Scripting. |
Simulation Training. Introduction Home First Program Seeing Results Variables and Data Types Comments Functions Data Conversion Random Numbers Concatenation Arithmetic Operators Compound Assignments One More or Less Precedence Relational Operators The Open Branch The Closed Branch Logical AND Logical OR Compound Statements ELSE If Switch Case The ? Operator The for Loop The while Loop The do while Loop Introduction to Functions Passing Values Passing Multiple Values Multiple Functions Simplifying Functions TRUE/fALSE Conditions Return Values Setting Global Variables Getting Global Variables Setting Local Variables Getting Local Variables WayPoints Introduction Static Waypoint Sets Dynamic Waypoint Sets Dynamic WP Cycles Input Output |
WayPoints Introduction NWN2 Waypoints offer a unique opportunity to give life-life characteristics to NPCS. In a village or town setting, for example, friendly NPCS as village and town folk, can be made to walk about and preform various actiosn as if they were real people going about their daily buisness. This section introduces the use of NWN2 Waypoints along with necessary scripting to help create such realisitc envrionment.
WayPoint Sets Static Sets A Static Waypoint Set is a numerical sequence of a series of NWN2 Waypoints connected to each other by a common Identifier for the purpose of providing a pathway for oen or more NPCS to traverse. The common Identiier for each Waypoint in the Static Waypoint Set is any String identifier.
Dynamic Sets A Dynamic Waypoint Set is a series of NWN2 Waypoints connected to each other through Scripting. The Dynamic Waypoint Set may be any series of Waypoints including one or more Waypoints form a pre-defined Static Waypoint Set.
Waypoint Cycles Static Cycles A Static Waypoint Cycle is a pre-defined Set of Waypoints, either Static Waypoints or Dynamic Waypoints where the tranversal of the Set is always the same sequence of Waypoints. Dynamic Cycles A DynamicWaypoint Cycle may or may not consist of any pre-defined Sets of Waypoints either Static or Dynamic ehre the transveral paths are completly determined through Scripting.
What Waypoints can do
Where do we go from here? The next section introduces the creation of Static Waypoint Sets.
|
|