• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

AI for a rpg

Status
Not open for further replies.
Level 3
Joined
Nov 28, 2010
Messages
42
Hello!

Im creating a rpg that features NPCs who travel around the world and interact with it.

I need to know how i can create triggers that make these NPCs move around and kill creeps.

The only thing they need to do is:
Move around and kill creeps
Picking up dropped Items
and when their Inventory is full return back to town and sell them.

I hope somone can tell me how i can create this or maybe make it for me.

Thanks! Sorry for any grammar or spelling mistakes. Im not american.
 
Level 12
Joined
Oct 16, 2010
Messages
680
Sorry for any grammar or spelling mistakes. Im not american.
That made my day.

Order them periodically to move somewhere on the map (attackmove)
every time you order them check whether their inventory is full
if so.. go home:)

group them at map start and when full remove them from group so the last order what thay got is to go home. and when one of them sells everything add it back to the group so it starts to wander again.
 
Level 3
Joined
Nov 28, 2010
Messages
42
Could you show me how to create the move around and when the inventory is full go back to home trigger works. I tried but cant get it to work :/.

Thanks for replying!
 
Status
Not open for further replies.
Top