Hi guys!
I have a standard interface (Sam & Max style) where you can cycle your commands by right clicking.
- go to, look at, use, speak
Every command has an active and an inactive image and also a "forbidden"-state. So if you try to "use" a character the command switches automatically to a greyed out version of the "use" command because using a character is not possible (at least in our game
This is working fine. I added this into the animation frame of the active "use" image:
if object below cursor is a character
set cursor "interact forbidden"
end if
That is working fine, however if I do the same for the speak command in the other direction:
if object below cursor is a scene object
set cursor "speak forbidden"
end if
That does not work unfortunately. Is Visionaire treating characters as scene objects as well? Using the same condition as before with adding an else for this did not work either:
if object below cursor is a character
--
else
set cursor "speak forbidden"
end if
Does anybody know a good way to achieve this?
greetings,
tobi