question

Pinakin K avatar image
1 Like"
Pinakin K asked Matthew Gillespie edited

How to create person in A* Navigator and make him follow it?

astar.fsm

I wan to create more than 50 people in an A star navigator so that they follow that path which resembles the plant floor. I want to use process flow to create the people in it so I can make them move however I want.

In the model I was able to create the person, but the person was created at one end of the A star network instead of on the "A*". I want to create the person either on A* or on any of the Queues. If I try to create the person on or at a queue the person does not follow the A* path.

I want to create the person at specific location on the A star network

Thank You!

FlexSim 19.0.0
astartask executor flow item
astar.fsm (24.7 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Pinakin K avatar image
0 Likes"
Pinakin K answered

I did it, by creating the person at a location on the A* navigator and used people flow to navigate it

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joshua S avatar image
1 Like"
Joshua S answered Pinakin K commented

Use the code

contextdragconnection(person, AStar,"A");

this will add the person to the A* network.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Pinakin K avatar image Pinakin K commented ·

Should I put it in a seperate custom code or in the create activity?

0 Likes 0 ·