Giter VIP home page Giter VIP logo

Comments (5)

xwerswoodx avatar xwerswoodx commented on August 19, 2024

Because you are using it wrongly, t_multi is become a region after you placed the house, so basically you are trying to get REGION of the REGION? It makes no sense. If you want to save any variable to the region, you need to use REGION.TAG on real region, not the house itself. Or if you want to save a tag on house, you need to use TAG.FORSALE directly instead of calling the region.

For example if you want to add TAG.FORSALE for house multi, you need to use

REF1=<REGION.UID>
REF1.TAG.FORSALE = 1

then if you want to read it you need to use

REF1=<REGION.UID>
SYSMESSAGE <REF1.TAG.FORSALE>

But

REF1=<REGION.UID>
REF1.REGION.TAG.FORSALE = 1

Basically in code, you are trying to do it in this way, even if you try to check t_multi's region with REGION.ISITEM you will see it will return as "1", while normal REGION never gives an answer for it. If you want to put a tag on t_multi, just use TAG.FORSALE not REGION.TAG.blabla. Or if you want to place a tag on the region, you need to get real region from multi which returns "Mainland (Wizard Tower)" and put the tag on it, there are so many ways to get it, it depends on you to choose which way to use.

from source-x.

Steinny avatar Steinny commented on August 19, 2024

in my defense, I will say that I study the scripts that come with the sphere X.
and I asked this question in discord

from source-x.

xwerswoodx avatar xwerswoodx commented on August 19, 2024

Honestly I don't remember how was it in older version of sphere but as I remember it was always like this, maybe I misremember but it can be script-side issue, or we may set region of the multi as a main region, so region could be used on multi.

from source-x.

Steinny avatar Steinny commented on August 19, 2024

I agree with this logic in scripts, but not when I do it manually in the game.

from source-x.

xwerswoodx avatar xwerswoodx commented on August 19, 2024

I've already sent a fix for it, it seems like REGION reference missed for multis so with a pr build it should work fine.

from source-x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.