Link colour in menus

m4u
When using the default menu of Quest with hyperlinks, how can I achieve that the link have the same color that the object link colour?

For example>

You can see a cat and another cat

>Kill cat

Which cat do you mean?

1.cat
2.cat

Thank you!

Pertex
Could you post an example file, plz? When I change the default colour of hyperlinks, the colour of the menu links are changed,too.

m4u
I mean when every object has its own link colour set on the object tab, not by using the game tab.

jaynabonne
You'd have to change the menu code. It doesn't honor the object link color.

m4u
I fix it with this code and it's working even on the mobile:

count + ": <a class=\"cmdlink\" style=\"" + GetCurrentTextFormat(colour)+ "\" onclick=\"ASLEvent('ShowMenuResponse','" + option + "')\">" + optionText + "</a>"

colour is the .linkcolour of the object.

How can I achieve the same for the object links on the mobile, i mean, the links in the menu are working but the links in the room description are not? It only shows the default link colour.

m4u
Anyone?

Brian123
Another way is to change the object name such as Big cat, Ginger cat, Angry cat, Neigbours cat etc so you know what cat to click on.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums