Quantcast
Channel: SHS RSS
Viewing all articles
Browse latest Browse all 7552

sc#addWmpAre details

$
0
0

Hi, I want to do a little thing that'd require adding a fake area directly under Saradush's icon on the ToB worldmap, but either I require more data in my code, or it's just not really working.

 

BEGIN ~sarabutt~
COPY_EXISTING ~ar4000.are~ ~override/L-SAR1.are~

APPEND ~MASTAREA.2da~ ~L-SAR1 value~

LAUNCH_ACTION_FUNCTION sc#addWmpAre
    STR_VAR
        areName = ~L-SAR1~
        strName = ~Saradush~
        strDesc = ~Saradush~
        worldmap = ~worldm25~

    INT_VAR
        mapIcon = 17
        xCoord = 272
        yCoord = 128
        tTime = 3
        inclSv = 1
        reachable = 0
        visited = 0
        visible = 0
        visibleAdjacent = 0

RET areNum = areNum END

END

PRINT "Destroyed Saradush patched, area number: %areNum%"

I thought the problem was in the lack of associative array, but it's not. Lava's worldmap.tph wouldn't work for ToB, would it?


Viewing all articles
Browse latest Browse all 7552

Trending Articles