Browse Source

Add files via upload

So I've managed to write a script that allows you to write Fungus variable values into Playmaker global variables, but here's the catch. The script doesn't read in variables from a flowchart to copy over, it just reads them in from the inspector. I've managed to find a way to read in Strings from the flowchart, but not ints, floats or booleans. I checked the tutorial video[1] for reading variable values from the flowchart, but the tutorial only deals with hard coding the name of the variable you want to read in. Any advice that could help me fix this would be greatly appreciated.

[1]https://youtu.be/uRh7INbed2I?t=1219
master
Nilihum 8 years ago committed by GitHub
parent
commit
60d44888e1
  1. BIN
      Assets/Fungus/Integrations/Playmaker/Fungus-Playmaker Scripts.unitypackage
  2. 1
      Assets/Fungus/Integrations/Playmaker/ReadMe.txt

BIN
Assets/Fungus/Integrations/Playmaker/Fungus-Playmaker Scripts.unitypackage

Binary file not shown.

1
Assets/Fungus/Integrations/Playmaker/ReadMe.txt

@ -22,3 +22,4 @@ To write Playmaker variable values to Fungus Variables, use the Action Browser >
To execute a block in a Fungus flowchart from , use the Action Browser > ScriptControl > Playmaker Execute Block command. To execute a block in a Fungus flowchart from , use the Action Browser > ScriptControl > Playmaker Execute Block command.
To trigger a global state transition in Playmaker from Fungus, use the Playmaker > Global State Transition command. To trigger a global state transition in Playmaker from Fungus, use the Playmaker > Global State Transition command.
To read Fungus variable values into Playmaker Variables, use the Action Browser > ScriptControl > Receive Fungus Variable command. To read Fungus variable values into Playmaker Variables, use the Action Browser > ScriptControl > Receive Fungus Variable command.
To write Fungus variable values from the inspector into Playmaker global variables, use the Playmaker > Write To Playmaker command.
Loading…
Cancel
Save