Difference between revisions of "ContentDesigner:Creating Movement"

(Created page with "{{PageHeaderChild|ContentDesigner:SpawnScripts|Creating Movement}} The Creating Movement guide will show you how to get your NPC's to walk and run around. With many different co...")
 
Line 4: Line 4:
  
  
{{Header|Getting A NPC To Talk|BackgroundColor=3d78b4|FontColor=ffffff}}
+
{{Header|Movement Functions|BackgroundColor=3d78b4|FontColor=ffffff}}
A NPC is not much fun when you first create one.
+
There are two functions that can be used to make an NPC move. The first one MovementLoopAddLocation() will allow an NPC to move to more than one location like a specific path. The second one MoveToLocation() will allow the NPC to move to a specific location then stop.

Revision as of 23:14, 13 June 2016

ContentDesigner:SpawnScripts - Creating Movement

Return to: ContentDesigner:SpawnScripts | Tutorials | Portal | Forum | Project Manager | Bug Tracker


The Creating Movement guide will show you how to get your NPC's to walk and run around. With many different combinations you can make a specific path for the NPC to follow to walking in circles if you choose.


Movement Functions

There are two functions that can be used to make an NPC move. The first one MovementLoopAddLocation() will allow an NPC to move to more than one location like a specific path. The second one MoveToLocation() will allow the NPC to move to a specific location then stop.