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.

Messages - elusiven

Pages: 1 2 [3] 4 5 ... 16
PlayMaker Help / Re: ios build problem
« on: April 28, 2017, 08:01:29 AM »
How do you store your variables? I'm asking because if you are drag and dropping game objects, instead of saving them as variables it will lose reference when built. Someone correct me if I'm wrong but at least that's what I experienced.

PlayMaker Help / Re: I Tween Rotate To action once worked and once not
« on: April 19, 2017, 10:55:03 AM »
Download DotTween from asset store, it's free and then actions are on Ecosystem I think.

PlayMaker Help / Re: Array Maker Problem
« on: April 19, 2017, 10:17:30 AM »
Last item, array list last index - Yes.

First item, is index 0, so can't you just use array list get, at index 0?

PlayMaker Help / Re: certificate error on iOS
« on: April 19, 2017, 10:14:54 AM »
Would it have anything to do with using XmlTextReader?

Am I doing this wrong?

Code: [Select]
private void ReadLine(string url)
try {
XmlTextReader reader = new XmlTextReader (url);
if(reader.Value.Length > 0) {
while (reader.ReadToFollowing("root")) {
switch (reader.NodeType) {
case XmlNodeType.Element:
NewVersion.Value = reader.GetAttribute ("version");
} else {
Debug.LogWarning("Reader is empty... Possibly no internet connection");
catch(XmlException ex) {
Fsm.Event (Failed);
Debug.LogError ("Error ocurred while fetching new XML data, ex: " + ex);


private void CompareVersion()
try {

var oldxmlData = FsmVariables.GlobalVariables.FindFsmString ("xmlData");

if (oldxmlData.Value.Length > 0) {
XmlDocument doc = new XmlDocument ();
doc.LoadXml (oldxmlData.Value);
OldVersion.Value = doc.SelectSingleNode("//root/@version").Value;
} else {
catch(XmlException ex) {
Fsm.Event (Failed);
Debug.LogError ("Error has occurred while fetching old version of xml data, ex: " + ex);

if (OldVersion.Value == NewVersion.Value) {
Fsm.Event (isEqual);
} else {
Fsm.Event (notEqual);


PlayMaker Help / Re: I Tween Rotate To action once worked and once not
« on: April 19, 2017, 10:13:16 AM »
Not really a resolution but have you tried using DotTween instead? It's faster and frequently maintained.

PlayMaker Help / certificate error on iOS
« on: April 18, 2017, 09:03:45 AM »

When using the wwwPost mobile action with Amazon's S3 i'm getting the ssl certificate error

TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a

I'm aware that mono by default does not trust anything, I did import the certificates but error still persists. Anyone please? It's strange because few days ago it worked and now all of a sudden it doesn't...

PlayMaker Help / Re: Get Pixel
« on: April 15, 2017, 02:36:00 PM »
From what I can see, you are invoking the method in OnEnter, which launches when the state goes active. Also, you are constantly invoking the method in the OnUpdate.

OnUpdate should only be triggered if the bool is true, otherwise, do the OnEnter, and then finish it.

Also, you can set bool to be false by default.

See if this works, I've not tested this.

Code: [Select]
using UnityEngine;

namespace HutongGames.PlayMaker.Actions
[Tooltip("Get pixel color from a readable texture from a normalized vector2 position")]
public class Texture2DGetPixel : FsmStateAction

public FsmTexture SampledTexture;

[Tooltip("The floats to get the normalized position from, from 0 to 1")]
public FsmFloat xPos;
public FsmFloat yPos;

[Tooltip("Store the sampled color in a Color variable.")]
public FsmColor StoredColor;

[Tooltip("Repeat every frame while the state is active.")]
public FsmBool everyFrame;

public override void Reset()

SampledTexture = null;
xPos = null;
yPos = null;
                        everyFrame = null;


public override void OnEnter()

public override void OnUpdate()
if(everyFrame.Value) {

void DoGetPixelCOlor()
if (SampledTexture == null) return;

Texture2D SourceTexture = SampledTexture.Value as Texture2D;
int x = Mathf.FloorToInt (xPos.Value * SourceTexture.width);
int y = Mathf.FloorToInt (yPos.Value * SourceTexture.height);
Color StoredColor = SourceTexture.GetPixel (x, y);


PlayMaker Help / Re: Problem with UI Button and Animation / Animator
« on: April 15, 2017, 02:26:10 PM »
Can you post screenshots of your transform?

PlayMaker Help / Re: Need Help with Camera, Canvas & Background
« on: April 15, 2017, 02:21:04 PM »
I am not sure if I understand you correctly but are you trying to scale the background to fit all resolutions? If yes then all you have to do is to use anchors and stretch the background's transform automatically for all sides, the playmaker is not needed for that.

Let's say you have a box, and you set anchors for it to stretch 0.2 to 0.8, if you create a second box, and you attach that box to the first box, you can set the anchors on second box to stretch all sides, and then it will fill out the first box.

All the elements on a canvas, providing that they all have setup the desired anchors, will scale on all devices "correctly".

PlayMaker Help / Re: Spam Messages
« on: April 15, 2017, 02:12:24 PM »
Will do, Let me know if you need some extra help always happy to help.

PlayMaker Help / Re: Play Sound Issue
« on: April 13, 2017, 04:39:38 AM »
Sorry, I meant player settings -> Other settings :P

PlayMaker Help / Re: Play Sound Issue
« on: April 12, 2017, 11:24:20 AM »
For me, worked to tick off in the build settings option "prepare mic for recording"

PlayMaker Help / Re: PlayerSettings Validation
« on: April 12, 2017, 10:12:28 AM »
Have you added the right symbols in the build settings?

"Scripting Define Symbols" 

Sounds like an issue with that

PlayMaker Help / Re: Spam Messages
« on: April 12, 2017, 10:06:23 AM »
Can you not add on the google's re-captcha system? That should solve the issue, rather than switching to a whole new forum.

Why is that a global variable? They are static, so they stay in the memory. Can you not reset the variable after you've done or in the initial state before checking ? 

Pages: 1 2 [3] 4 5 ... 16