Line 2: | Line 2: | ||
|above=Wandering NPC | |above=Wandering NPC | ||
|subheader=Component | |subheader=Component | ||
− | |image=[[File: | + | |image=[[File:Wandering_NPC.jpg|400px]] |
|caption=Component's Inspector | |caption=Component's Inspector | ||
| label1 = Start Position | | label1 = Start Position | ||
Line 24: | Line 24: | ||
Refer [[Statue]] to see how to create NPC, once created attach wandering NPCs component to move them from one location to another. | Refer [[Statue]] to see how to create NPC, once created attach wandering NPCs component to move them from one location to another. | ||
− | '''Start and Target position''' Use this to set NPC to move to a custom location. | + | '''Start and Target position''': Use this to set NPC to move to a custom location. |
− | '''Wander''' Check this to | + | '''Wander''': Check this to set the NPC to a wander randomly on set distance. |
{{Component Navbox}} | {{Component Navbox}} |
This component is used to get NPCs to wander/move from one location to another.
Refer Statue to see how to create NPC, once created attach wandering NPCs component to move them from one location to another.
Start and Target position: Use this to set NPC to move to a custom location.
Wander: Check this to set the NPC to a wander randomly on set distance.
|