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 - terri

Pages: [1] 2
PlayMaker Help / Save content from ArrayList as PreFilled data
« on: April 17, 2020, 08:17:22 AM »
I want to fill an ArrayList while running the game, and use its values to set the PreFilled values when the game is stopped.

Is this possible? Copying component and pasting values doesn't work, as I assume the PreFilled and current values are handled as different things

Share New Actions / Set Camera Layer Cull Distance
« on: May 21, 2018, 02:24:22 PM »
Here's an action that does this:

In other words, you can set each layer to have it's own cull distance, instead of using the camera's far clipping plane. Can be useful for example if you want to not render small objects at a certain distance while still rendering larger ones, for optimization.

PlayMaker Help / Framerate Independent Character Controller movement
« on: October 24, 2017, 06:45:37 AM »
Hey! So I thought I had this figured out, but I've been getting reports from players that movement seems to be slowing down on high framerates. Default is 60, and 120 seems to slow down a bit and uncapped it seems to be drastic.

My character has a standard character controller component, and movement is done with Controller Move with Per Second set to true. I figured this would be enough but apparently its not, can anyone shine a light on what could be the issue?

I feel like its definitely taking deltaTime into account as its not moving twice as fast, but what would make it slower? Could deltaTime not be returning the right value?

Action Requests / Set Shadow Resolution
« on: July 07, 2017, 02:36:30 PM »
Been struggling with this, so checking if anyone else has a clue.

I'm building an options menu and want the player to able to set the shadow quality.

At first I was trying to use this:
But after wasting some time it appears I should be using this:

( I say that because of the reply on this: )

However, I'm not sure how to actualy set the variable in code.
This was as far as I got:
Code: [Select]
using UnityEngine;

namespace HutongGames.PlayMaker.Actions
[Tooltip("Sets the Intensity of a Light.")]
public class SetLightShadowQuality : ComponentAction<Light>
public FsmOwnerDefault gameObject;

public FsmEnum shadowResolution;

public override void Reset()
gameObject = null;
shadowResolution = LightShadowResolution.Low;

public override void OnEnter()
var go = Fsm.GetOwnerDefaultTarget(gameObject);
    if (UpdateCache(go))
                light.shadowResolution = (LightShadowResolution)shadowResolution.Value;



Share New Actions / Follow Bool With Delay
« on: February 11, 2017, 09:09:28 AM »
One bool follows another, but with a timed delay.
Kind of an experimental action for me so let me know if there's anything weird with it.

I made it to implement coyote time in my game, so I have a bool that follows the isGrounded check bool with a slight delay. So you have a bit of a window to jump after running off a ledge

Share New Actions / GameObject Set Mesh
« on: January 26, 2017, 08:34:08 AM »
Requires Mesh Filter

Share New Actions / Reverse normals
« on: December 12, 2016, 04:49:13 AM »
Action version of this script:

PlayMaker Help / Can't find script
« on: November 19, 2016, 07:20:51 AM »
Hi! So I'm trying to add a option for encryption on the Hash Table Easy Save / Load actions - so far failing pretty badly. So I decided to look at the EasySave2's Save All action to see how they implemented it, but unity tells me it "Couldn't find Action Script: HutongGames.PlayMaker.Actions.SaveAll"

I also can't seem to find it in the project window. The action still works if I drag it to an FSM though. This happens on all of Easy Save 2's actions, except the Arraymaker ones that came from somewhere else.

So, what could be going on here? Is it linked to somewhere else outside my project or something?

Share New Actions / Get Fullscreen
« on: November 17, 2016, 04:34:13 PM »
Simple action, checks if game is fullscreen, returns a bool.

PlayMaker Help / Hashtable value not saving?
« on: September 18, 2016, 09:27:36 AM »
I have a gameobject with a few hashtables, I'm having a problem where I'll edit it but it won't save. It will stay with the new value at first and I can run the game and will see it changed, but if I open the level again it will revert to the old value.

Tried saving level/project/restarting unity, and anything that reloads the level will revert to old value.

Any idea what could cause this?

PlayMaker Help / Mouselook, mouse smoothing?
« on: August 30, 2016, 05:38:19 PM »
Using the standard mouselook I often get people asking me to "remove the mouse smoothing".

I'm quite ignorant on the subject, but doesn't seem to be something I just switch on or off in Unity.

Does anyone know where I start looking to tweak this? I imagine the Mouselook action might be what I need to work on, but has anyone dealt with it already?

PlayMaker Help / Animator actions problem? [SOLVED]
« on: August 02, 2016, 01:10:39 PM »
Getting this error message on some Animator actions:
Cannot cast from source type to destination type
Adding two actions with this to the same FSM seems to cause very weird behaviors, like it crashes the playmaker editor.

I'm on Unity 5.4.0f3
Can anyone reproduce? Is the problem on my end?

Share New Actions / Vector3 Lerp Without Clamp
« on: July 10, 2016, 11:21:36 AM »
I'm not sure if this exists under another name?

Like Vector3 Lerp but not clamped between 0-1

Share New Actions / Timesaver: Is GameObject Within Range
« on: June 29, 2016, 10:59:21 AM »
this or something like it might exist already, but I modified the GetDistance action to create this which makes things simpler when doing AI and stuff

Share New Actions / Navmesh Obstacle Enable / Set Carve
« on: June 28, 2016, 12:10:52 PM »

Pages: [1] 2