![]() Tuxxer at the Gamecreator discord made some actions to access some global actions, I've started adapting them to cover all the global variables. Local Number, Bool, String, GameObject, Color, Sprite, Texture2d, Vector2 and Vector3ĭrag the game object that contains the Gamecreator variable into the Gamecreator gameobject, choose if you want to look in the children of the game object for the variable (according to the docs this comes at some performance cost, so, drag the object that contains the variable you want)ĭefine the name of the variable you want (if the variable name can't be found or doesn't exist the action will throw an error in unity's log)Ĭhoose to do it on enter or every frame (useful if you need to check if a Gamecreator variable has changed) Since this seemed a bit dead I made some actions for playmaker to access all of Gamecreator's local variables. So the downside would be, once playmaker got the trigger, it couldnt fire again (unless it came back to that PM state is started listening again). ![]() (The PM action would need to be in a PM state and that state on). Maybe there is a way can make a PM action to subscribe (listen) to for a specific game creator event (I can investigate), but that PM action would need to be active. Game Creator Trigger -> Game Creator Action -> Playmaker Event. Therefore we need to take that extra step. For game creator, the trigger (as far as I can tell), can only trigger a game creator action. Find the script file: Assets2DGamekitScriptsUtilityRuleTile.cs If vs2019 is used, after selecting the RuleTile class in the script, press the shortcut ctrl+r+r to rename the class RuleTile to RuleTileCustom. If we want a game creator trigger to send an event to playmaker, I think maybe we can make a game creator action that sends an event to playmaker by name. Get game creator trigger? Do you have a specific suggestion for this one? Once he is back, hopefully, we can get that sorted. Unfortunately, the creator of Game Creator is away for another 2 weeks or so. Making an PM action to send and get game variables is on the list.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |