Random Choice from Available Path: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
m (Created)
 
mNo edit summary
Line 1: Line 1:
<onlyinclude>Each AVAILABLE path has an equal chance of being selected.</onlyinclude>
<onlyinclude>Each AVAILABLE path has an equal chance of being selected.</onlyinclude>  


When an item looks through the switch to determine a path to take, the switch first determines which paths are available to be taken.  
When an item looks through the switch to determine a path to take, the switch first determines which paths are available to be taken.  
Line 5: Line 5:
The switch then selects one of those paths at random.  
The switch then selects one of those paths at random.  


'''Each <u>available</u> path has an equal chance of being selected.'''
'''Each <u>available</u> path has an equal chance of being selected.'''  


If you think it is possible that ALL paths could be blocked when an item looks through the switch, you will need to select the Gating option “Switch can Block Items”, to avoid a run-time error.  
If you think it is possible that ALL paths could be blocked when an item looks through the switch, you will need to select the Gating option “Switch can Block Items”, to avoid a run-time error.  
Line 12: Line 12:


<br>
<br>
[[Category:Object/Switch]]

Revision as of 17:21, 16 January 2009

Each AVAILABLE path has an equal chance of being selected.

When an item looks through the switch to determine a path to take, the switch first determines which paths are available to be taken.

The switch then selects one of those paths at random.

Each available path has an equal chance of being selected.

If you think it is possible that ALL paths could be blocked when an item looks through the switch, you will need to select the Gating option “Switch can Block Items”, to avoid a run-time error.

Read more about Gating Options.