playMaker

Author Topic: How to make simple custom Playmaker actions  (Read 12456 times)

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
How to make simple custom Playmaker actions
« on: August 16, 2016, 02:26:51 AM »
Video tutorial on making simple custom Playmaker actions-
https://www.youtube.com/watch?v=U0zm2EVqDBU

The example scripts used in the video are attached to this post
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

Valerian

  • Playmaker Newbie
  • *
  • Posts: 1
Re: How to make simple custom Playmaker actions
« Reply #1 on: August 24, 2016, 09:46:31 AM »
Thanks for the Info  :)

Jin

  • Playmaker Newbie
  • *
  • Posts: 14
Re: How to make simple custom Playmaker actions
« Reply #2 on: September 18, 2016, 06:37:46 PM »
Awesomeness!

Thank you.

-Jinnn

TheRoccoB

  • Playmaker Newbie
  • *
  • Posts: 1
Re: How to make simple custom Playmaker actions
« Reply #3 on: February 12, 2017, 09:00:45 PM »
Just in case anyone didn't figure it out, you need to actually create a playmaker forum login to download these files. Thanks for the tutorial mdotstrange!

Pawel

  • Junior Playmaker
  • **
  • Posts: 93
Re: How to make simple custom Playmaker actions
« Reply #4 on: April 13, 2017, 02:47:57 PM »
Can a static undefined data type in another script be accesses from a custom Playmaker action? 

Here is what I have in the script:
--------------------
public static void UpdatePlayersCurrentScore(String score){

}
____________

What I am interested in is setting the score String in PlayMaker and sending it to the script...
« Last Edit: April 13, 2017, 02:59:00 PM by Pawel »

JC1967

  • Playmaker Newbie
  • *
  • Posts: 1
Re: How to make simple custom Playmaker actions
« Reply #5 on: April 14, 2017, 11:15:18 AM »
Very useful tips. Thanks for sharing!
Hi! My name is Martha and 8 years ago I was employed in serwis basenowy

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15602
  • Official Playmaker Support
Re: How to make simple custom Playmaker actions
« Reply #6 on: April 19, 2017, 06:39:55 AM »
Can a static undefined data type in another script be accesses from a custom Playmaker action? 

Here is what I have in the script:
--------------------
public static void UpdatePlayersCurrentScore(String score){

}
____________

What I am interested in is setting the score String in PlayMaker and sending it to the script...

Hi,

 yes, it's possible, you would create a custom action that would call this static method, that's all.

If you need a working action for this case, let me know.


 Bye,

 Jean