Hey all,
I've got a Multiplayer game with one Host and one Peer. The characters are moved around by the HeroBase object.
With the code below, the conditions are met when a player moves within a certain range of a Puzzle object. It works as expected when one player is within range, but when both are in that area, the "Trigger Once While True" seems to get ignored, and the conditions get met every tick.
Does anyone know why this is, please? Am I doing this the right way?
+ System: For each HeroBase
+ Hero: associatedPlayer = HeroBase.associatedPlayer
+ Puzzle: Pick nearest to (HeroBase.X, HeroBase.Y)
--------+ Hero: X ≥ Puzzle.X - 200
--------+ Hero: X ≤ Puzzle.X + 200
--------+ System: Trigger once
---------> testText: Set text to Self.Text & "1"