Concurrency
Much of the docs on coroutines and structured concurrency was lost when the SkookumScript Forum server was shut down (including its backups). Concurrency in the Verse language is copied from SkookumScript so take a look at the Verse Concurrency docs.
In the meantime, see these concurrency-related posts on the remaining archives of the SkookumScript Forum:
Concurrent syntax
See the concurrency flow control expressions: sync
, race
, branch
, change
plus the concurrent apply operators.
Concurrent details
- Coroutines in the SkookumScript Primer
- Apply operators
%
(serial) and especially%>
(concurrent race) in the SkookumScript Primer branch
command explained- Order of coroutine updating
Mind
objects and the Master
Mind
Minds are used to manage and update coroutines, and encapsulate logical components of gameplay such levels, missions, minigames, squad AI, and group behaviors. Mind objects also often act as a starting or entry point for code.
Additional information on Mind
objects can be found in these forum posts:
- The
Mind
, theMaster
and who pulls the strings - change command explained
- How to use
BerzerkRobot
class - Controlling which Mind a coroutine uses for its updating: Assigning a coroutine to a
Mind