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:
Download the
Ecosystem Browser
to find new actions, samples. etc.
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Feedback
»
Action Requests
»
Send event if bool is true
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Send event if bool is true (Read 4484 times)
escpodgames
Hero Member
Posts: 687
Send event if bool is true
«
on:
May 19, 2014, 02:34:06 AM »
Have been trying to write a Send event (to a gameobject) if bool is true OR false action based on the existing send event and bool test actions, but I get stuck with some of the event and delay stuff.
Any hints or help?
«
Last Edit: May 19, 2014, 02:36:43 AM by LampRabbit
»
Logged
Simple Assets -
https://www.assetstore.unity3d.com/en/#!/publisher/5217
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Send event if bool is true
«
Reply #1 on:
May 19, 2014, 07:31:13 AM »
Hrm, not really sure what you mean.
Can you explain a bit more or post a screenshot?
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
escpodgames
Hero Member
Posts: 687
Re: Send event if bool is true
«
Reply #2 on:
May 19, 2014, 06:36:17 PM »
There ya go.
So the Blue checks if the bool variable is either true or false and if it is will send the event (if everyframe is selected it will continue to check)
The red is the send event aspect (nothing changed from the send event action)
I know this would be possible with a few states but the way I want to use this (A lot) would create a very large/mess FSM which is already getting very large.
«
Last Edit: May 19, 2014, 07:01:18 PM by LampRabbit
»
Logged
Simple Assets -
https://www.assetstore.unity3d.com/en/#!/publisher/5217
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Send event if bool is true
«
Reply #3 on:
May 19, 2014, 08:53:07 PM »
Cool, actually I had wanted to do something similar when designing AI. Makes it easy to make a single FSM the delegate to subFSMs for asyncronous behaviors.
http://hutonggames.com/playmakerforum/index.php?topic=7363.0
Enjoy! =)
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
escpodgames
Hero Member
Posts: 687
Re: Send event if bool is true
«
Reply #4 on:
May 19, 2014, 09:33:05 PM »
Sure will be handy! Thanks dude!
Logged
Simple Assets -
https://www.assetstore.unity3d.com/en/#!/publisher/5217
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Feedback
»
Action Requests
»
Send event if bool is true