playMaker

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

mdotstrange

  • Hero Member
  • *****
  • Posts: 545
    • View Profile
    • Can't code? Who cares! Make games anyway!
How to make simple custom Playmaker actions
« on: August 15, 2016, 11:26:51 PM »
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
    • View Profile
Re: How to make simple custom Playmaker actions
« Reply #1 on: August 24, 2016, 06:46:31 AM »
Thanks for the Info  :)

Jin

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

Thank you.

-Jinnn

TheRoccoB

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Re: How to make simple custom Playmaker actions
« Reply #3 on: February 12, 2017, 07: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
    • View Profile
Re: How to make simple custom Playmaker actions
« Reply #4 on: April 13, 2017, 11:47:57 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...
« Last Edit: April 13, 2017, 11:59:00 AM by Pawel »

JC1967

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Re: How to make simple custom Playmaker actions
« Reply #5 on: April 14, 2017, 08: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: 11845
  • Official Playmaker Support
    • View Profile
Re: How to make simple custom Playmaker actions
« Reply #6 on: April 19, 2017, 03: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