License from €75
DE EN FR ES IT CZ

Command Cycle Cursor

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 11 years ago
    Hey guys,

    I'm having trouble finding updated info on how to do a command cycle cursor (sam & max style). The tutorials I've found on this have been for previous versions where the info is outdated. One thing I did find was this:

    1) I have to "match" - "Mouse Settings" "Set command" the right mouse button with the action part - "Next command" is
    2) I have for all commands ( walk, use, talk, look at) created in the "cursor" menu each active and inactive cursor.
    3) I created an interface and created in it for each command a switch, these are defined as "command switch," named the commands and assigned them the corresponding cursor.

    I'm a bit lost on step 3, any way you guys could point me in the right direction? I'd like to use the space bar or the right click button to cycle through a couple different cursors, and each of them would have a different image when they are active and inactive.
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license. Forum readers get the Indie Bundle 15 % off with the code FORUM15: €84.15 instead of €99, valid until 31 Dec 2026.

    Get 15 % off Try it for free
  3. · 11 years ago
    A'llo. smile

    Game tab (cog icon) > mouse properties > right mouse button: create a set command action part & set the radio button to "next command" & voila, you should be able to cycle through commands via right click.

    Now you could also do the cycle manually by querying what the current command is...

    if current command is 'use'
    set command 'look'
    quit current action
    end if
    if current command is 'look'
    set command 'take'
    quit current action
    end if
    if current command is 'take'
    set command 'talk'
    quit current action
    end if
    if current command is 'talk'
    set command 'use'
    end if


    P.S: in the mouse properties tab you might want to consider setting the radio option at the side of right mouse button to "do not send character to cursor" to prevent the right button from being used as a interaction button.
  4. · 11 years ago
    Awesome I got it to work, thank you very much.
  5. · 11 years ago
    No problem at all mate. wink
  6. · 11 years ago
    Hmm it works but as soon as I left click on something to start an action, it won't cycle anymore. Any ideas what I'm doing wrong? I'm in the early stages so I only have 2 actions i can test it on but both have caused it.
  7. · 11 years ago
    ok 2 things to check...

    1. in the game (cog icon) tab, can you tell me what you have the "Activate standard command" dropdown set to?

    2. in the interface you used to setup your commands, look in the properties tab & make sure "standard command" drop down is not set as "[empty]". Set it to whatever your standard command is (walk or default or whatever you called it).
  8. · 10 years ago
    Amazing. Yeah I had the standard command empty but now you've also shown me what the activate standard command function does. Thanks again. This community is great I'm inspired to try and give back to it soon.
  9. · 10 years ago
    haha, I was just about to reply with "no problem at all mate", but then I realized I'd already typed that further up the thread, so... you're welcome. smile

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?