From Blocksworld Wiki
Jump to: navigation, search
Image Tile Name Description Parameter
Send A HD.png
Signal A - I either Global or Local
Send Parent HD.png
Custom Signal Player defined title either Global or Local

Signals are general actions. They can be used in any script to trigger and receive events. All signals in scripts are either global or local in scope.

Notes[edit | edit source]

Signals are the primary way to transfer information between scripts in different blocks.

All signals can be placed before or after the "Does" in each line of script.

  • If placed before, the condition that the signal is True (or On) is required for the "Does" to happen.
  • If placed after, the signal is set to True (i.e. triggered or emitted) (but only for one step).

In other words, putting the signal after "Does" is like sending the signal. Putting it before is like listening for the signal.

Global[edit | edit source]

Global signals have a planet icon. Global signals are broadcasted to every block in the world. They are the primary way of communicating between scripts in different models.

Local[edit | edit source]

Local signals have a model icon. Local signals are broadcasted to blocks in the same model. They don't go beyond the model containing the local signal.

Global signals don't interfere with local and vice versa, even if they share the same name. A signal placed before "Does" can only receive the same type of signal.

Example of difference between global and local signals[edit | edit source]

Imagine an army of blocksters who each have a script like

  • hit by laser => signal A
  • signal A => chase hero

If those "signal A" are global signals, then a single blockster being hit by a laser would cause all of them to run towards the hero. But if they are all local "signal A", only the single blockster hit by the laser would run towards the hero.

Usage[edit | edit source]

Use signals to trigger events in different scripts and to check true/false conditions.

Speak[edit | edit source]

The Speak action can be configured to trigger a letter signal:


(where signal is a letter from A to I) This inserts a button on the speech bubble labeled text that sends the specified letter signal as a global signal.

Tips & Tricks[edit | edit source]

There is no way to check if a particular signal is not True (i.e. False). To do that, you must create another complement signal that is only True when the first signal is False.