playMaker

Author Topic: [SOLVED]simple question re: return to previous state  (Read 2033 times)

mindlube

  • Playmaker Newbie
  • *
  • Posts: 32
[SOLVED]simple question re: return to previous state
« on: October 21, 2013, 11:52:26 AM »
Hi, suppose I want a State to transition back to the previous State, whatever that was. Is there any actions or techniques in Playmaker to facilitate this? For example in the screenshot, the Detour state would just have a single event, "return to previous" instead of finished/finished2. Or even if there was a way to lookup what was the previous state name? Then the transitions could be generated by a formatting string, like "return to {state}".
« Last Edit: October 21, 2013, 04:10:29 PM by mindlube »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: simple question re: return to previous state
« Reply #1 on: October 21, 2013, 12:17:36 PM »
There is Get Previous State Name and also Go To Previous State

Just type "Previous" into the Action Browser to filter results.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

mindlube

  • Playmaker Newbie
  • *
  • Posts: 32
Re: simple question re: return to previous state
« Reply #2 on: October 21, 2013, 04:10:06 PM »
Cool thanks Lane- not sure how I missed that  ::)