Project Spark Wiki
Advertisement

Kode:

[WHEN] "once" [DO] "team", "equals", "team 1"

[WHEN] [DO] "show meter", "health", "max", "max health", "screen top left"

[WHEN] [DO] "boom camera", "distance", "15", "ignore camera collision"

[WHEN] "left stick", "without keyboard remapping" [DO] "move"

[WHEN] "right stick" [DO] "shoot"

[WHEN] "mouse position", "object"

> [WHEN] "mouse position objects", "enemies" [DO] "highlight", "it", "red"

> [WHEN] "mouse position objects", "interactable" [DO] "hologram", "it", "yellow"

[WHEN] "started to", "touch", "enemies"

> [WHEN] [DO] "shoot", "at", "it"

> [WHEN] [DO] "turn", "toward", "touched world position"

[WHEN] "after", "touch"

> [WHEN] "Shift"

>> [WHEN] [DO] "turn", "toward", "touched world position"

>> [WHEN] "left mouse button" [DO] "shoot"

>> [WHEN] "else", "not", "touched objects", "intersect", "enemies" [DO] "move", "toward", "touched world position"

> [WHEN] "touched objects", "interactable"

>> [WHEN] [DO] "highlight", "touched objects"

>> [WHEN] "started to", "touched objects", "objects closer than", "2" [DO] "interact"

[WHEN] "objects closer than", "10", "interactable" [DO] "highlight", "it", "yellow"

Advertisement