Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Treasure hunting other facet activation issue?
Author Message
Alone
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2021
Reputation: 0



Post: #1
Treasure hunting other facet activation issue?
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.
05-24-2021 01:08 AM
Find all posts by this user Like Post Quote this message in a reply
Alone
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2021
Reputation: 0



Post: #2
RE: Treasure hunting other facet activation issue?
//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
(This post was last modified: 05-31-2021 01:49 AM by Alone.)
05-26-2021 12:12 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

This forum uses Lukasz Tkacz MyBB addons.