Script Editor

Triggers

Initial Trigger

Fired when the initial loading is finished and the script is ready

This Initial Trigger is for objects that have been processed at the time of initial loading.
Initially, objects that have not been loaded are not targeted, so even if you specify the start of animation of an object with this trigger, it will not respond.
In the preview in the Script Editor, the animation is still running, but not in the actual viewer, because the loading is complete.
Please note that this is a part that confuses beginners.

If you want to start the animation at the end of the initial loading, insert Time Action .

Case
Select target case

Collision Trigger Row

Fires when Walker contacts Event Collision

Type Collision Case
  • inTo
    When you entered the collision
  • toOut
    When you get out of the collision
Select target collision Select target case

Actor Trigger Row

Fire when Walker comes into contact with Actor Collision
Actor Collision is set in Performing Edigor

Type Actor Collision Case
  • Wall
    Act as Wall Collision (barrier collision)
  • inTo
    When you entered the collision
  • toOut
    When you get out of the collision
Actor is the object model set in Performing Editor Select target collision Select target case

KeyPad Trigger Row

Fired when you click the key of the assigned software KeyPad
Installation of KeyPad is handled by Option, and preview and setting are done in Keypad category.
This trigger is not available in VR Viewer.

Type KeyCodes Actor Axis Move Rot Case
  • normal
    Repeatedly fires while pressing the key.
  • onlyOn
    Fires once when a key is pressed.
Assign the software Keypad displayed in the Keypad category. Select the Performing object of interest. [Move] Select the corresponding axis for [Rot]. Enter the moving amount to be executed at 1fps. (In meters) Enter the number of rotations executed at 1fps. (Radian value) Select target case

Terminal Trigger Row

Fired at the end of each Action
Action must be prepared.

Type Action ID Case
It corresponds to [Action ID] in the next column, and the ID list of the selected Action is displayed in [Action ID]. Corresponds to [Type] in the next column, and select the target Action ID. Select target case

Dialog Trigger Row

Fired when [OK][Cancel] is pressed in Dialog
You must have a Dialog in your Text Action.

Action ID Status Case
Select ID for Text Action Select [OK] or [Cancel] Select target case

Intent Trigger Row[Experimental implementation]

Ignite when the viewpoint is adjusted to the image/3D object (Sprite/Object)

Type Target Case
It corresponds to [Target] in the next column, and the list of the selected Type is displayed in [Target]. Select target Target Select target case

CW Start Trigger Row

Fired when [START] button displayed in Camera Works is pressed.
It has a similar meaning to the Initial Trigger.

Case
Select target case

Steering Trigger Row[Experimental implementation]

Steering Fires when a method reaction is detected during startup
Steering is handled in Case.
If Walker shakes while Steering is running, Steering will turn off and Shake it again to turn it on. (The viewpoint is reset at the timing of turning on.)
Case can be executed at this on/off timing.

Start End
Steering Select the target case to be executed when it is on Select the target case to be executed when Steering is off
Method Threshold 2D_Object Target Axis Duration Move Rot Case
Under construction Under construction Under construction Under construction Under construction Under construction Under construction Under construction Under construction