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
) »
how can I Accessing the function in Other script
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: how can I Accessing the function in Other script (Read 2350 times)
JieAlan
Playmaker Newbie
Posts: 24
how can I Accessing the function in Other script
«
on:
April 21, 2013, 05:13:00 AM »
I wanna do this,but how,playmaker only has the action "add script"
Logged
Mayhem
Full Member
Posts: 171
Re: how can I Accessing the function in Other script
«
Reply #1 on:
April 21, 2013, 05:39:17 AM »
You could use thse actions:
- Send Message
- Invoke Method
Logged
JieAlan
Playmaker Newbie
Posts: 24
Re: how can I Accessing the function in Other script
«
Reply #2 on:
April 22, 2013, 02:00:39 AM »
thanks
yeah,I can use send message to do that,
but another problem now confused me,I invoked somthing in a script,
then ,
how can I send event in that script back to playmaker
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: how can I Accessing the function in Other script
«
Reply #3 on:
April 23, 2013, 02:24:52 PM »
hi,
you can use the playmaker api, to broadcast a global event:
Code:
[Select]
PlayMakerFSM.BroadcastEvent("my global event");
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
how can I Accessing the function in Other script