Hi Again,
The preliminaries of bringing an entity into the world and creating a
flow chart are as per the online tutorial. The difference for us comes
with the type and arrangement of circuits. There are 2 seperate but
connected circuits for each lift entity. You can bring all your nodes
in first and then join and set them.
So add a node "movement - move entity to", then another node "vecs3 -
addvecs3", then another "entity - get pos", and another 'input -
key'.
Now drag the arrows. From 'Vecs3' drag an arrow from 'out' to
'destination' in the 'movement' node. From node 'get pos' drag an
arrow from 'pos' to 'A' in the 'vecs3' node. Then from the 'input-key'
node drag an arrow from 'pressed' to 'get' in the 'get pos' node.
Finally drag another arrow from the same 'pressed' and insert it into
'start' in the 'movement' node. This should complete the wiring on
your first circuit.
Now you have to adjust a few things in the nodes. Right click on the
'movement' node and choose 'assign graph entity'. Do the same for 'get
pos'. In 'movement' node you need to set the 'speed' and 'ease
distance'. 10 seems pretty good for both. Don't adjust the xyz
coordinates. The 3 zeros represent where your entity is. Go to 'vecs3'
node. Change one of the coordinates next to 'B'. Try 50 to start with,
it's easy to change it later. Finally go to "input-key" node and set
the key. That is the first circuit completed.
Now add node 'logic-any' and locate it to the right of the 'movement'
node. Drag an arrow from 'done' to '1'. Now bring 4 more nodes into
the flow chart. They are the same as above.
Now you have to join them. This is the same as above except that a few
need to attach to the 'logic any' node. Instead of dragging an arrow
from 'pressed' in the 'input -key' node to 'get pos' drag it to '2'
in the 'logic-any' node. Then from the 'out' in the 'logic any' node
drag an arrow to 'get' in the 'get pos' node. That should complete the
2nd circuit.
Now set another key, 'assign graph entity' in 'movement' and 'get
pos', set speeds and change another coordinate in the new 'vecs3'
node. Presumably your coordinates will take your lift to the meeting
place.
Now go into the game and try it.
Good luck. If you have any problems scream alot and them email me.
Cheers
Peter