How to fix multiplayer scroll to behavior - Not solved! HELP

Get help using Construct 2

Post » Sat Dec 13, 2014 11:37 pm

There isn't a way to write construct2 code here. Below is only a pseudocode ( or general workflow )
Hope this make sense.

1) Manually set Initial state to false on all ScrollTo behavior.
2) In the client synchronization code,
Code: Select all
System.on_player_created {
  if ( player.peer_id == Multiplayer.MyID ){
     // Only enable the scrollTo behavior if I OWN the player object.
     set player.scrollTo.Enabled = true
  }
}

3) In the host code,
Code: Select all
System.on_start_of_layout {
  if ( player.peer_id == Multiplayer.MyID ){
    set player.scrollTo.Enabled = true
  }
}
B
3
Posts: 1
Reputation: 177

Previous

Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 9 guests