Copyright VirtualSim 2004-2020 - All rights reserved
Logics
Entity[behavior] logic is a reference to an existing Logic defined in the current database.
To add a new logic as an entity behavior, open the entity property window, select the behavior then logic panel, select a logic in the available list and use thebutton to move it to the selected logics list. To remove a logic from the behavior list, select it and use thebutton.
An entity logic can have Entry and Exit Points.
A logic is started when its EPoint triggers.
A logic is stopped when its XPoint triggers or when an object inside the Logic (not pertaining to a group) returns QUIT.
To connect one logic to one another, click the connector head with the mouse while maintaining down the left button then drag it toward the other Logic. When close enough, the object shows magenta anchors. Release the mouse while close to one of these anchors.
To disconnect one Logic, select the arrow head of its connector and move it away from any anchor, then release. The arrow changes to orange head (Done mode, default).
Double clicking a behavior symbol pops up the setting property window.
Popup menus
Edit Entity: call the entity property window
Add Text: add a label
Add Group: insert a behavior group that encapsulates logics
Add Logic: insert a logic from the database
Select all: select all behavior logics
Edit Behavior: call the behavior property window
Goto Definition: jump to the logic description (same as selecting the logic in the Environment)
Rename: rename the behavior logic.
Cut: copy to clipboard with deletion flag raised
Copy: copy to clipboard
Paste: if a logic [behavior] is in the clipboard, menu will be available
Duplicate: copy/paste locally
Delete: remove the logic behavior (not the logic itself)