(2 intermediate revisions by one other user not shown) | |||
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 22: | Line 22: | ||
This component is used to get [[NPCs]] to wander/move from one location to another. | 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. | + | Refer [[Components/Statue|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 are set by max distance. |
+ | |||
+ | '''Move Speed''' sets the movement speed of the NPC. | ||
{{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 are set by max distance.
Move Speed sets the movement speed of the NPC.
|