playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Global launch of the FSM event through a separate script [SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Global launch of the FSM event through a separate script [SOLVED] (Read 1429 times)
Sergey_Russia
Playmaker Newbie
Posts: 18
Global launch of the FSM event through a separate script [SOLVED]
«
on:
March 24, 2019, 05:08:53 PM »
Help me please.
Can you give an example of a script that triggers a global FSM event for another object?
I need to trigger a global FSM event from a script that does not belong to this object.
Help me please.
«
Last Edit: March 27, 2019, 01:28:13 PM by Alex Chouls
»
Logged
Alex Chouls
Administrator
Hero Member
Posts: 4003
Official Playmaker Support
Re: Global launch of the FSM event through a separate script
«
Reply #1 on:
March 24, 2019, 05:42:25 PM »
Does this help:
https://hutonggames.fogbugz.com/f/page?W329
Logged
Sergey_Russia
Playmaker Newbie
Posts: 18
Re: Global launch of the FSM event through a separate script
«
Reply #2 on:
March 24, 2019, 05:57:53 PM »
Thank you very much!
Logged
Sergey_Russia
Playmaker Newbie
Posts: 18
Re: Global launch of the FSM event through a separate script
«
Reply #3 on:
March 24, 2019, 06:30:21 PM »
Does not work...
I need to contact FMS directly without adding it to the public domain.
Please see what I am doing wrong ..
https://ibb.co/vZFVcp6
Logged
Alex Chouls
Administrator
Hero Member
Posts: 4003
Official Playmaker Support
Re: Global launch of the FSM event through a separate script
«
Reply #4 on:
March 24, 2019, 06:58:38 PM »
You're using Unity script format inside a C# script.
Use this:
private PlayMakerFSM MyFSM;
I'll add a C# example to that page...
EDIT: I've added a C# example using GetComponent.
«
Last Edit: March 24, 2019, 07:30:14 PM by Alex Chouls
»
Logged
Sergey_Russia
Playmaker Newbie
Posts: 18
Re: Global launch of the FSM event through a separate script
«
Reply #5 on:
March 27, 2019, 11:54:08 AM »
everything worked out!
Thank you very much.
For your support and for your beautiful product!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Global launch of the FSM event through a separate script [SOLVED]