Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO] players can stand on the same tiles


elementaldisaster
 Share

Recommended Posts

Well, that would mean getting rid of the collision feature, that would make melee PvP impossible because they would just walk through eachother. On the other hand you could just make a tile type that ignores the collision proceduer. Client side is something like:

```
' Check to see if a player is already on that tile
    For I = 1 To MAX_PLAYERS
        If IsPlaying(I) And GetPlayerMap(I) = GetPlayerMap(MyIndex) Then
            If GetPlayerX(I) = X Then
                If GetPlayerY(I) = y Then
                    CheckDirection = True
                    Exit Function
                End If
            End If
        End If
    Next I
```
Just search for that, haven't really looked into it server-side.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...