diff --git a/Moose Development/Moose/Core/Fsm.lua b/Moose Development/Moose/Core/Fsm.lua index 791e32972..49fe28893 100644 --- a/Moose Development/Moose/Core/Fsm.lua +++ b/Moose Development/Moose/Core/Fsm.lua @@ -87,7 +87,7 @@ -- -- ### 1.1.2) Transition Handling -- ---  +--  -- -- An FSM transitions in **4 moments** when an Event is being triggered and processed. -- The mission designer can define for each moment specific logic within methods implementations following a defined API syntax. @@ -109,7 +109,7 @@ -- -- ### 1.1.3) Event Triggers -- ---  +--  -- -- The FSM creates for each Event two **Event Trigger methods**. -- There are two modes how Events can be triggered, which is **synchronous** and **asynchronous**: @@ -152,7 +152,7 @@ -- Two Transition Rules are created, where upon the event Switch, -- the FsmDemo will transition from state Green to Red and vise versa. -- ---  +--  -- -- local FsmDemo = FSM:New() -- #FsmDemo -- FsmDemo:SetStartState( "Green" ) @@ -162,7 +162,7 @@ -- In the above example, the FsmDemo could flare every 5 seconds a Green or a Red flare into the air. -- The next code implements this through the event handling method **OnAfterSwitch**. -- ---  +--  -- -- function FsmDemo:OnAfterSwitch( From, Event, To, FsmUnit ) -- self:E( { From, Event, To, FsmUnit } ) diff --git a/docs/Documentation/Cargo.html b/docs/Documentation/Cargo.html index c03fa6ee7..0319727b8 100644 --- a/docs/Documentation/Cargo.html +++ b/docs/Documentation/Cargo.html @@ -2411,6 +2411,7 @@ The UNIT carrying the package.

An FSM transitions in 4 moments when an Event is being triggered and processed.
The mission designer can define for each moment specific logic within methods implementations following a defined API syntax.
@@ -189,7 +189,7 @@ These parameters are on the correct order: From, Event, To:

The FSM creates for each Event two Event Trigger methods.
There are two modes how Events can be triggered, which is synchronous and asynchronous:

local FsmDemo = FSM:New() -- #FsmDemo
FsmDemo:SetStartState( "Green" )
@@ -248,7 +248,7 @@ the FsmDemo will transition from state Green to Red and vise versa.
In the above example, the FsmDemo could flare every 5 seconds a Green or a Red flare into the air.
The next code implements this through the event handling method OnAfterSwitch.
-
+
function FsmDemo:OnAfterSwitch( From, Event, To, FsmUnit )
self:E( { From, Event, To, FsmUnit } )
diff --git a/docs/Documentation/Spawn.html b/docs/Documentation/Spawn.html
index 0cd7b6d64..1116db12a 100644
--- a/docs/Documentation/Spawn.html
+++ b/docs/Documentation/Spawn.html
@@ -1692,6 +1692,9 @@ The group that was spawned. You can use this group for further actions.
+
+ Don't repeat the group from Take-Off till Landing and back Take-Off by ReSpawning.
+
When the first Spawn executes, all the Groups need to be made visible before start.
+Flag that indicates if all the Groups of the SpawnGroup need to be visible when Spawned.