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.


Messages - Bainto

Pages: [1] 2 3
1
Playmaker Help / Re: Vegetation System
« on: July 19, 2018, 04:18:49 PM »
i created a script in collab with the author and they said it was untested, just a thought on how it should go, and it did absolutely nothing. Ive also contacted them about the error on the actually working but screwy playmaker script i made lol

2
Playmaker Help / Re: Vegetation System
« on: July 19, 2018, 04:04:29 AM »
I've tried both creating a c# script and using playmaker
Playmaker lets me get to the error so it actually does something but the script does nothing lol, even though it came untested from the creator

3
Playmaker Help / Re: Vegetation System
« on: July 18, 2018, 12:36:40 AM »

4
Playmaker Help / Re: Vegetation System
« on: July 15, 2018, 11:42:40 PM »
so i actually full screened the game to see more of what was happening when i got this error both of it not being able to be used on multiple arrays as well as for when it gives me the visual error with this grey splotch on the screen where as i move it goes crazy. When i actually max screened the game and got this error the other trees from the original package were shooting out of it and moving. idk if this helps but its some extra info. Ill post a pic of the problem.

5
Playmaker Help / Re: Vegetation System
« on: July 10, 2018, 09:34:01 AM »
that would be awesome lol

6
Playmaker Help / Re: Vegetation System
« on: July 08, 2018, 08:09:18 AM »
would this work?
"It seems like you can not destroy objects in the trigger event.

Try setting a local boolan to true and then testing this in Update() doing the code there.
Then setting the boolean back to false.

this way you move the code to update from the trigger. "

this is what the author said. and how would i add this in if so?

7
Playmaker Help / Re: Vegetation System
« on: July 06, 2018, 07:33:51 AM »
this is one of the errors i get. I redid the setup and now its not giving me the other 1 and i dont even have it set to destroy so i think it has something to do with the fact that its destroying the 1st vegetation package. This also contains the visual error probably having to do with the Destroying GameObjects immediately error.

8
Playmaker Help / Re: Enemy Help
« on: July 06, 2018, 07:16:24 AM »
so i can place a few of the same around the map or if there is a way to make it "poof" appear a little around the player and maybe play a sound and chase till the char either gets on the road again or dies. The enemy has attack and run animations that i can add as well.

9
Playmaker Help / Re: Vegetation System
« on: July 05, 2018, 10:56:39 AM »
ok so i shrunk the trigger to basically the player runs into and and runs out of it causing the trigger to trigger and be destroyed almost immediately. this removes the freeze problem (idk why) but it comes up with 655 different errors saying that i cant use destroy object i must use destroy. And just like before however, i get this wierd gray blob the moves on the screen at the center of the screen. lol

10
Playmaker Help / Re: Vegetation System
« on: July 05, 2018, 10:42:30 AM »
Also i tried using the SetProperty action but it didnt get the results i wanted

11
Playmaker Help / Re: Vegetation System
« on: July 05, 2018, 10:41:44 AM »
ok so i figured this out so far... i tried using playmaker and logically doing this and got it to work but it throws an error on trigger enter. it actually throws 655 if the same error.
ArgumentException: only single dimensional arrays are supported for the requested action.

this is what i came up with

Trigger Enter -> Call Method (Behaviour = VegetationSystem, Method = SetVegetationPackage, Index = 1) -> Exit Trigger -> Destroy Object (trigger)

This actually works and calls the correct asset however it really lags the scene almost like it freezes and and then actually freezes the char but i can still ctrl p and stop the game to edit

any ideas?

12
Playmaker Help / Re: Vegetation System
« on: July 04, 2018, 10:45:36 PM »
I have it, you can change certain things at runtime with SetProperty action, but it may be buggy don't know why, it works on build but on editor it throws error sometimes.
Would be great if it had actions for PM.

what do you mean by this statement how would i add this and how would it help?

also this is what i got as a good start it allows me to setup the actual vegitationstudio and everything however upon entering it still does not change from the 0 package to the 1 package

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using AwesomeTechnologies;

public class Load_Vegitation : MonoBehaviour
{
    public VegetationSystem VegetationSystem;

    void OnTriggerEneter(Collider Load_Vegitation)
    {
        VegetationSystem.SetVegetationPackage(1, true);

    }
}

also i know Vegetation was misspelled, its just what i had called it and didnt change it .. brain fart lol

13
Playmaker Help / Re: Enemy Help
« on: July 04, 2018, 10:44:03 PM »
ps. i have a script i just made for player death when the tagged enemy collides with the tagged player and to play a sound and restart the game. this script is on the player.

14
Playmaker Help / Enemy Help
« on: July 04, 2018, 10:42:54 PM »
So the main section of my game is to keep the player on the path. If the player leaves the path an enemy will appear and kill the player but im trying to figure out the best way to both script and set this up... I want the enemy to stop if the player makes it back to the road and be destroyed (possibly with an effect i got if at all possible). Any questions for more detail i can provide to the best of my ability. ty in advance :D

15
Playmaker Help / Re: Vegetation System
« on: July 04, 2018, 05:01:20 PM »
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Load_Vegitation : MonoBehaviour
{
     public VegetationSystem VegetationSystem;

    void OnTriggerEneter(collider other)
{
   VegetationSystem.SetVegetationPackage(1,true);
 
}
}

rough setup with c#

Pages: [1] 2 3