playMaker

Author Topic: Conditional Statements  (Read 9611 times)

amaranth

  • Full Member
  • ***
  • Posts: 172
    • View Profile
Conditional Statements
« on: March 29, 2012, 11:22:50 AM »
When I got into making games, I started with RPG Maker XP. At the time, I didn't know what a finite-state machine was, but since working with playMaker, I now understand.

I see lots of similarities between the action system for playMaker and RPG Maker. In some ways, playMaker's system is more versatile, in some ways RPG Maker's system is more versatile. Coming from RPG Maker, there are a few things I think playMaker could implement to make it more versatile.

First, and most important on that list, is the ability to embed actions within conditional statements. In RPG Maker, this action was tremendously useful and I miss this very much in playMaker.

Here is an example usage of a conditional statement in RPG Maker. There are actually two here... a switch statement and an if/else statement.



In playMaker, if you want to use a conditional statement, you have a very small list of options. If embedding was implemented like above, I think this would allow endless possibilities for customization.

« Last Edit: March 29, 2012, 11:25:20 AM by amaranth »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14387
  • Official Playmaker Support
    • View Profile
Re: Conditional Statements
« Reply #1 on: March 30, 2012, 11:58:12 AM »
Hi,

 If I Understand well, try with the following:

String switch action: https://hutonggames.fogbugz.com/default.asp?W455

Bye,

 Jean

justifun

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 228
    • View Profile
Re: Conditional Statements
« Reply #2 on: March 30, 2012, 04:23:11 PM »
Cool, the string switch action would go well with my custom "any key store result as string" custom action

http://hutonggames.com/playmakerforum/index.php?topic=487.0