Event Detect: Get the Sleep Time Count Value.
Retrieve a numeric type value.
ASTER::EXPRESSION::ObjectControl::Event Detect: Get the number of Sleep Time Counters
Retrieve sleep-time counter value from sleeping instances. Common to all motions.
When an event occurs during a loop process within ASTER, the immediate execution condition of CF25 (interrupt processing) notifies CF25 of the exact timing of the event occurrence. This mechanism is referred to as "Event Detect" in ASTER.
The information obtained through "Event Detect" has an extremely short validity period, is highly volatile, and is updated at a high frequency.
31_oCtrl_Orbital_TgtXy+Sleep_Align_Basic
As an example of creating an event to obtain angle information from instances in Sleep mode:
The above will be executed under the condition that it is in Sleep mode and the sleep-time counter value is 30
.
Using location information of instances entering Sleep mode, this is a sample operation to apply effects to instances in Sleep mode. Below is a screenshot of the event list editor. The effect utilizes the Null Motion Template’s Reject & Destroy and is automatically removed 30
Frame Time later.
Parameter:
Retrieve the sleep-time counter value as an integer.
ExNumEvdSlpCt( "ASTER" )
All sleep-time counters, including those from the Orbital-specific sleep function, can be obtained through this function.
The unit of time is in application frame time.
Processing Load of Event Detect
Event Detect is similar to the "Fast loop" mechanism that is a standard feature of CF2.5, and the processing cost increases according to the number of instances.
Switching the sleep operation on and off at short intervals also increases the processing load.