Aller au contenu

Photo

CopyItem & Local variable for spliting stacks


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Elinmorn

Elinmorn
  • Members
  • 2 messages
Hello everyone,

I am looking for the script doing the copyitem and calling the SCREEN_MESSAGEBOX_SPLITSTACK when a player splits some stacks.

I would like to change the bCopyVars=FALSE to TRUE to keep the local variables on my items and but i cannot find it.

I really dont get it and need enlightenment if someone can help :crying:

Thankies ^^

#2
Olblach

Olblach
  • Members
  • 175 messages
It does not exist. The gui calls UIButton_Input_HandleSplitStackOK("inputbox")

You need to modify the gui to call a script instead.

#3
Elinmorn

Elinmorn
  • Members
  • 2 messages
Thankies, I was thinking so after searching.

Guess i will have to study how to change the gui :pinched:

to get the stack size during the OnSliderPositionChange event : OnUpdate=UIObject_Misc_SetLocalVarString(local:0)

Now i have to find how i can get the item's tag :lol: