![]() |
Treasure hunting other facet activation issue? - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: General Discussion (/Forum-General-Discussion) +--- Forum: Help Wanted (/Forum-Help-Wanted) +--- Thread: Treasure hunting other facet activation issue? (/Thread-Treasure-hunting-other-facet-activation-issue) |
Treasure hunting other facet activation issue? - Alone - 05-24-2021 01:08 AM Hello, I am trying to make an update for the new sphere system treasure maps, the current facet0 is active, however when I activate other maps, unfortunately it does not start digging and it opens the map dialogue again, I don't know what route I should follow for this and I need your vast knowledge. , thank you. RE: Treasure hunting other facet activation issue? - Alone - 05-26-2021 12:12 AM //Okay guys, I solved my problem myself. For friends who have the same problem, let me state how I fixed it! //This is the original form! ELIF (<SRC.DISTANCE <MOREX>,<MOREY>> > <SRC.TreasureMap_GetDigDistance>) SRC.SYSMESSAGE You dig and dig but no treasure seems to be here. return 0 //And fixed ELIF (<SRC.DISTANCE <MOREX>,<MOREY>,<MOREZ>,<MOREM>>> <SRC.TreasureMap_GetDigDistance>) SRC.SYSMESSAGE You dig and dig but no treasure seems to be here. return 0 //In addition, in its original form, you were opening the dialog of that map on whichever map you were on. //can be opened randomly. //Original dialog LOCAL.Facet=<TOPOBJ.P.M> IF !(<DEF0.TreasureMap_Facet<dLOCAL.Facet>>) LOCAL.Facet=0 ENDIF //And random dialog while !<local.facet_PICKED> LOCAL.Facet=<R0,5> if (<def.TreasureMap_Facet<dlocal.facet>> !=0) local.facet_PICKED=1 endif endwhile RE: Treasure hunting other facet activation issue? - jacobcart - 01-07-2023 07:30 PM thanks for this tread |