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

Pages: [1]
General Discussion / Re: Pathfinding????
« on: March 12, 2018, 01:02:51 PM »
bookmarking this as i too am interested to find out what folks prefer to use,

i have also seen many comments  about the inbuilt Unity system being sub par and also that the way to go is the A* Pathfinding project, but as evmo said these comments are a fair ways old so could be completely wrong by now.

Shame it appears that this is no longer a thing :(

Can anyone recommend an alternative asset that does the same or very similar?

Thanks for doing that :D

Have marked the topic solved, hope it helps someone in the future :D


A fresh start after some sleep and it would seem my googlefu is much better this morning, found this video, very straight forward and a lot simpler than some methods i have tried to grasp understanding of.  I can now see it changing the global variables in my FSM :D

I really hate to do this but after trying so many different ways today, from trying to get this int value from one script to another or from my script to an FSM i am here tail between legs admitting defeat :(

I have looked at as many example i could find by google searching re. variables from script to script, and on here for script to fsm but i cant get any of it to work, im probably translating them to what i need incorrectly im sure.

so here goes

In my mapgeneration script i have a public int width and a public int height, they are being created randomly on awake and set in the field.

i know they are fine as my maps are generating correctly with these numbers.

i have a FSM attached to the ground gameobject, where i would like to use the width and height variables to scale the ground correctly to the size of map that has been created.

I have tried following the example here

checked script is  Using HutongGames.PlayMaker;
made public field   PlayMakerFSM MapGenFields;  (this is the FSM that is attached to the same game object as my script. Not sure how to code it for the drag and drop.

the example used String, so i thought poss i could just change that reference to Int, but i keep getting the error NullReferenceException: Object reference not set to an instance of an object.  it references this line of code on my script

Code: [Select]
        FsmString myFsmString = MapGenFields.FsmVariables.GetFsmString ("My string var");

I am probably not explaining this very well, and i am sorry if i have not followed proper etiquette re asking on forums, i forget things so easy :(

I am going to now go and see if i can find that way to put code up on here properly, sorry for the wall of text.


p.s I can do voice comms if that is prefered by anyone, have PlayMaker Discord chat setup, just let me know a time relative to GMT :D

General Discussion / Re: Welcome! Please introduce yourself!
« on: February 23, 2018, 07:23:40 AM »
Thank you for the warm welcome djaydino, i forsee myself spending a lot of time in the wiki and tutorials :D

General Discussion / Re: Welcome! Please introduce yourself!
« on: February 22, 2018, 07:32:31 PM »
Hi there all,

I am Tzian but most of my friends call me T.Z.  ;)

Being medically retired i am stuck at home a lot, so have a fair bit of time on my hands that i once did not.

So i am finally getting around to doing some things that i always wanted to do, but never had the time while juggling raising a family, working full time and all of the rest of real life.

Many times in the past i had wanted to try to learn coding to either mod or create a game, so that is where i started but now with my deteriorated health and old age creeping up on me  :o  i did start to feel a bit daunted and that i may have left it too late in life. 

Then i found Playmaker and hope is once again restored, that maybe one day i could make something, anything don't mind, a simple game that my and hubby can play together would be enough to tick that box on my bucket list, if i manage more then that is just bonus  ;D

So yeah just starting out, no doubt i will be mooching around here looking for tips and tricks to help me along.

Cya all soon :D

Pages: [1]