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
»
How to Use these Functions?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to Use these Functions? (Read 1177 times)
rechronicle
Full Member
Posts: 119
Mystvaldia
How to Use these Functions?
«
on:
August 15, 2019, 09:35:50 AM »
Hello,
I'm interested to learn about this list of functions. It may come in handy, but some of it is rather hard to understand.
Is there any explanation on how to use them & what are they supposed to do?
Thank you!
Logged
Rechronicle Game Library
djaydino
Administrator
Hero Member
Posts: 7616
Re: How to Use these Functions?
«
Reply #1 on:
August 15, 2019, 10:28:11 AM »
Hi.
Set State and send event you can use to select a state on the fsm
i mostly use set state (state name)
its easy to copy/paste the name
Logged
Join the PlayMaker Discord Channel!
rechronicle
Full Member
Posts: 119
Mystvaldia
Re: How to Use these Functions?
«
Reply #2 on:
August 17, 2019, 08:35:54 AM »
@djaydino yes, I'm mostly using 'Set State' and 'Send Event' for now.
I'm just curious to function like 'init()' and 'preprocess()' for example, it's hard to understand what they're going to do. Or, are they really unusable?
Logged
Rechronicle Game Library
djaydino
Administrator
Hero Member
Posts: 7616
Re: How to Use these Functions?
«
Reply #3 on:
August 18, 2019, 06:59:31 AM »
Hi.
Most of these are used to make fsms work, and are public so that they can work with other fsms and the core of playmaker.
Init() is usually use to do some setup when a script starts. (when the fsm starts)
Preprocess() has something to do with update/late update / fixed update.
Logged
Join the PlayMaker Discord Channel!
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
How to Use these Functions?