playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ByronNilsson

Pages: [1]
1
Playmaker Help / Errors [solved]
« on: February 08, 2014, 05:20:28 AM »
Getting persistent errors ( maybe the script was removed ) after removing add ons ( NGUI Animator ) for windows phone development. I am using templates, and have been through and have no references to the missing scripts. This does not stop the app running, but the errors seem to hang around. Its like the editor is referencing something other than the current templates?

2
Playmaker Help / Editor window
« on: January 25, 2014, 09:36:11 AM »
I can use mouse zoom in editor window, but no mouse scroll left/right + up/down. Can i activate it?, reason quite often i grab an object instead of the bars. OR can i make the bars bigger :) ???

3
Playmaker Help / Changing Texure
« on: May 31, 2012, 07:34:51 AM »
Hi,
Am trying to change a texture/material to match the selection from another GameObject.
I wish to change the texture/material by name 1,2,3.......30,31,32 etc.


I have tried all work arounds, but am stuck.

I could create a large switch table, but this is cumbersome.
Don't really get the 'set material float'
tried 'convert material to object' then 'set object value' but no luck

anybody help

Byron.








 

4
Playmaker Bug Reporting / Pre-fab
« on: January 13, 2012, 06:54:16 AM »
Hi,

Should the pre-fab link not be broken when i adjust playmaker actions on the object that i have in the hierarchy? I lost a lot of code, i think due to this. I had coded on an object in my scene, next day, loaded code gone. Had unity brought in the prefab from my project list, that had not been updated? Byron.

5
Playmaker Bug Reporting / [SOLVED]Float Sign
« on: December 29, 2011, 12:51:01 AM »
Running a simple float sign test, but wrong logic selected. Is my PM bust? Thanks Byron.

6
Share New Actions / 2D Toolkit TextMesh
« on: September 22, 2011, 10:57:03 AM »
Just needed to use 2D toolkit for Score routine using textmesh, love 2d toolkit and PM, so be doing more efficient routines as needed :) Byron.

using UnityEngine;

namespace HutongGames.PlayMaker.Actions
{
   [ActionCategory("2D Toolkit")]
   [Tooltip("Changes Text on a tk2dTextMesh")]
   public class ChangeText : FsmStateAction {
      [RequiredField]
      public FsmOwnerDefault gameObject;
      [RequiredField]
      [UIHint(UIHint.Variable)]
      public FsmString newString;
      public bool everyFrame;
      
      private GameObject go;
      private tk2dTextMesh textMesh;
      
      public override void Reset() {
         gameObject = null;
         newString = null;
      }
      
      public override void OnEnter() {
         go = gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value;
         textMesh = go.GetComponent<tk2dTextMesh>();
         textMesh.text = newString.ToString();
         textMesh.Commit();   
         if (!everyFrame)
         Finish();
      }
      
      
      public override void OnUpdate()
      {
         go = gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value;
         textMesh = go.GetComponent<tk2dTextMesh>();
         textMesh.text = newString.ToString();
         textMesh.Commit();
      }

      
      
      
   }
}

7
Playmaker Bug Reporting / Stall
« on: September 12, 2011, 09:57:53 AM »
Hi,
I am having a stall problem. This only occurs on projects where i use PM. It occurs around every second, game running at 30+ fps. Stats show around 4-5 ms extra processing at these points. I have been through all the usual suspects. I have turned off any logging in preferences, this seems to reduce the stall hit, but still very noticeable. Anybody had and cured this issue? Thanks, Byron.

8
Playmaker Bug Reporting / Children Order
« on: August 25, 2011, 09:54:34 PM »
Hi,
I want to iterate through a series of children as an array. I create the children off the parent in a loop. When i then go through the children sequentially, they are not in the order i created them in. This messes up my 'array' of objects. Get Child Num 1 for example, does not get the second object/child created, but the 12th, in my 5x5 grid example. They are all out of order. Any help?

The children are sorted by name. So i now use Set Name in a sequence 00,01,02 etc..., just need to add a function to Set Name Value, to set the name by a string + counter, Building00, Building01 etc....

Thanks, Byron.

Pages: [1]