Announcement

Collapse
No announcement yet.

GetDoorDimension() function broken?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    GetDoorDimension() function broken?

    Not sure if anyone else is having this issue.

    When calling GetDoorDimension() it will return 0. I know it is a valid door because I can call GetDoorLocation() with the same door and it returns to co-ordinates correctly.

    Is this function broken or am I missing something?

    Thanks

    #2
    UPDATE: I get the same behaviour with GetObjectDimension()? GetObjectSize() works however, it is client only and I need this for a door on server side.

    Comment


      #3
      UPDATE: I have realised that I am using this function incorrectly. I found a description within SetDoorDimension().

      Code:
      Sets the dimension of this door. Players can only see doors in the same dimension.[LIST][*]Default dimension: 0[*]Maximum dimension: 4294967295[/LIST]
      I believe this is for dimension in the sense of "space time dimensions". Not the "size dimension" of the door/object.

      Comment


        #4
        Yeap, looks like it's pretty usefull to create "instances" like features. Like appartments, etc.

        Comment


          #5
          Yeah, the name is a bit misleading. I got hung up on it too.

          Comment

          Working...
          X