User Tag List

Results 1 to 3 of 3

Thread: Get/SetDMapScreenDoors()

  1. #1
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,760
    Level
    21
    vBActivity - Bars
    Lv. Percent
    68.72%

    Lightbulb [ADDED to ZScript] Get/SetDMapScreenDoors()

    Just a reminder, mainly to meself, but also to the others working on this, that we absolutely need to add a way to get/set Screen->Door[] for any DMap/Screen.

    We also need Get/SetDMapScreenState(), as at present we only do this via maps, although GetDMapOffset() should permit using DMaps for this. It's just strange that GetDMapScreenDuses a DMap ID, but secrets uses a map number, as if anyone needs to get/set them based on Maps instead of DMaps.

  2. #2
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    Pretty sure that can be done, but it might be unpredictable in non dungeon maps.
    Also I second GetDMapOffset
    Most of this stuff should be found in maps.cpp IIRC.

  3. #3
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,760
    Level
    21
    vBActivity - Bars
    Lv. Percent
    68.72%
    I already added a function for it to zscript: In fact, they're in those files that I sent you links to read.

    It needs testing at some point when the zscripts additions are rolled together into a build, but it should work, as it does the same thing as Get/SetDMapScreenD. I suppose I coud/should do GetSetScreenDoors in addition to DMapScreenDoors to match the Screen-D stuff.


    Next Up

    Game->GetHighestDMap()
    Game->GetHighestMap()

    At present, we need to set these per quest with constants, and users may not do that when it's mandatory. These would be generally useful for anything that iterates based on DMaps/Maps.

    (I know that I do that, with regularity.)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social