Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: stanimal on April 05, 2021, 11:57:06 PM
-
I'd like to set the value of a string variable based on the value of the Game Object Hit variable generated by Get Trigger 2d Info Value action.
Is there a way to call on that Object type variable and set that value as a string? Ideally via an FSM.
Pretty newb-ish over here, so go on easy on me if it's obvious.
-
Hi.
Its not needed to use Bold and underline for your question. :)
with trigger event you can store the object that triggered.
Then you can use 'Get/Set Fsm String' with the object that you got from the trigger.
The sample below is using prefab but it has similar principals :
-
Thanks for your help! I'll give this a shot today.
I've gotten in the habit of bolding and underlining the key points of emails and it's carried over to my 1st post here. I always feel the need to call attention to the point of my sometimes rambling communications. 8)