Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attribute Question
#3
Okay, a little more.

Check out how the Warp attribute opens up a new form which stores data for a Map, X location, and Y location. You'll basically need to do the same thing. You'll be assigning a number to the tile's .Data1, .Data2, or .Data3 variables. You've already assigned the .Type attribute from what you tell me so far.

Code:
If frmMirage.optWarp.Value = True Then
    .Type = TILE_TYPE_WARP
    .Data1 = EditorWarpMap
    .Data2 = EditorWarpX
    .Data3 = EditorWarpY
End If

Then you'll have to add a variable to the PlayerRec. Either server side, or client and server side, depending on what you're trying to do with it exactly.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)