page entered

page entered

pageentered

Details

Kode wheel segment Timing and Logic
Style Specialised
Modifiers None
Primarily WHEN/DO WHEN
Pre-made brains that use it unknown

Timing and Logic> page entered

Description

This tile runs the DO side, or any child lines, if the WHEN side is true every time the page in the brain is accessed. This acts like the [once] tile, except it will replay the line of kode if the brain switches to another page and then returns to this one. This is not suitable to use with a call page.

 

Example Code

WHEN [page entered] DO [numvar:score][=][0]

In this example every time you get to this page the score is set to be zero, once. This is useful for a game restart script.

Modifiers

None

Other Uses

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: