Jump to content

urwigo - First command button only appears once!?


Followers 2

Recommended Posts

I'm testing out a part for my build to combine items.

for this purpose I use the items 'commands' 

image.png.eaf1e0b5f4c4d774521200e5d7fca5bc.png

 

What I have is working, but the combine button only shows up once!.

image.png.ecfb4953c1f03862f9d36db5d134d120.png

after I click on 'Combine with..." I get a new button "Actions(2)" 
(This is not really a problem but I could do without is extra step)

image.png.f6a737612ceb079cdb4e38095c4c141b.png

The real problem is that when I go back to the Inventory screen, and choose the Item again, it goes directly to 

the "Actions(2)" button. 

But for the player to be clear what to do, I would prefer the 'Combine with..." button.

 

So my question, how to get the 'Combine with..." back?

I added my .urwigo file here:

https://drive.google.com/file/d/1d6Fv5W-Cb3BD9pYwLkDrI_6TLOCC0Xp4/view?usp=sharing

 

 

 

 

image.png

Link to comment

Magnet.CombineEnabled = false is there for a purpose, if I remove it "Combine with..." will show up in the list of items which can be used to combine with.

(see image 4). That is something i don't want, Combine with should not be one of the choices.

 

image.png.c5f3b97d158d5d6d55dcbc3bf25a5883.png

 

But even with  Magnet.CombineEnabled = false removed, if you pick the item the second time around it will show "Actions(3)"

 

image.png.79910d58758347915eef835dd328c34c.png

Link to comment

I think I mis-understood your request. You want the item commands to display as "Rope" and "Magnifying Glass" instead of "Actions 2." If that is the issue there is not really a work around if you keep these as item commands. Item commands display differently in almost every Wherigo player and emulator. For example, in the IOS app these would display as a list.

 

If your just concerned about how they appear in the urwigo emulator one alternative is you could change the item commands to a multi-choice input. 

Link to comment

Yeah, you have no control over the text displayed in those buttons.  It's the UI that sets the text.  The "Combine With" button shows up when you've told Wherigo a certain item can be used on another item.  That text is set exclusively in the UI.

Link to comment

jerXjacYou could do everything from one item command and delete two of the commands--this would remove the "Actions 2 Screen." Inside your command "combine with..." you can create a message with two buttons. You will need to create three messages, one for each option of your If/Else Statement (if player contains rope, if player contains magnet ect) . Each message reads "combine with" and then when you click on the message, add text for buttons: Rope, Magnifying Glass, and the third message contains both.

 

You will need to move the code from the commands "rope" and "magnifying glass" under the corresponding messages and then delete the commands "rope" and "magnifying glass." Here is example for the "Magnet" item using your original urwigo file: https://www.dropbox.com/s/eh7f412sais904r/Combine.urwigo?dl=0

 

Edited by Forest-Ghost
  • Helpful 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Followers 2
×
×
  • Create New...