Recent Posts

Pages: 1 ... 7 8 [9] 10
Playmaker Help / Re: Networking global variables via collisions VS. mouseclicks
« Last post by jeanfabre on December 05, 2018, 11:11:45 PM »

 yes, you'll need to match what you do with the colliders, there is no reasons that the network has an issue when one way works and the other not.


Playmaker Help / [Solved] Load random scene on game launch
« Last post by heavygunner on December 05, 2018, 08:24:39 PM »
Hi !

I have 20 scenes on my game. I wanna load random scene on game launch.
How can I do that ?

Edit : Also, I wanna random scene on when clicked on NEXT button on Gameover UI. How to do it ?

Playmaker Help / [Solved] Keeping UI & another object on all scenes
« Last post by heavygunner on December 05, 2018, 08:23:16 PM »
Hi !

I made a casual game with 20 levels. 20 scenes.
I created UI only for one scene so far. Also UI , Camera & another GameManager (with lot of FSM) should be common for all scenes.

I made prefab of both UI, Camera & game Manager and put on all other scenes. it not worked. It gave so much "missing target" error. (GameManager has an FSM to enable * disable UI screen)

Ya ! Entire project ruined  >:( >:( >:( >:( . Now I loaded backup project. How can I put the UI, Camera & Game Manager to all other scenes?

Playmaker Help / GameAnalytics Error
« Last post by heavygunner on December 05, 2018, 06:37:52 PM »
Hi !

I am making game for a publisher. They advised me to integrate GameAnalytics into game. I did. They told to fire 2 events. 1. on Game Start 2. On gameover with score

I checked console. It fired 2 events successfully. But, between them, One damn error also found. How an I fix that ?

or Can I ignore this error since both events fired successfully ? ignoring this error will affect the analytics report ?


I am happy you got it to work :)

On windows go to C:\Users\Appdata or w%AppData%\Roaming\Unity\asset store5.x/ or whatever version and put in your downloaded asset packages one at a time. They end in .unity or .unitypackage, whatever but contain the entire package in one file. Just double click them as they're tied to unity, then pick import.

you should be able to open the asset store inside unity and import from there :)

Check for compiler errors between each step. This can be tedious but it's the only way to know for sure which asset may be causing it. I'd look to those that make changes to core features vs those that are just graphical assets, this may save you some time.

It is indeed important to check for (red) errors after each import.
PlayMaker and some other assets will not install correctly if there are (red) errors
Playmaker Help / Re: Networking global variables via collisions VS. mouseclicks
« Last post by kropcke on December 05, 2018, 10:17:02 AM »
Hi Jean.

Thank you so much for your response.

The global variable is definitely propagating across the network when I update its value using colliders. However, what you point out is interesting with regards to both clients listening for the mouseclick, and that there might be conflicts there.

The object that responds to 'mouseclicks' is the same spawnable prefab that the colliders interact with. Its just that colliding with it will update the global variable across the network, but 'mouseclicking' it will not.

The movement script that handles the orange ball (which collides with the spawnable prefab) uses CLientCallback and Command to handle network behaviors. I guess this might be the difference?

Will keep looking.

Thanks again!
Playmaker Help / Re: unity timeline actions?[SOLVED]
« Last post by Alatriste on December 05, 2018, 07:28:50 AM »
I'd like to suggest adding these actions into a package. Right now they have to be individually downloaded.
Playmaker Help / Re: Navmesh Runtime generation for unity 1.9
« Last post by EM-Guvii1234 on December 05, 2018, 07:22:26 AM »
Hi yes, I get a whole bunch of errors, the scripts seems to be outdated for the current version of unity i'm using which is 1.9f1 MLTP9.6
I was trying to use these all these actions but every single one of them gives me an error like this, I realize the script needs to be updated however i'm so useless at c-sharp, If there any tutorials on how I could just update them myself but I don't really know how to look for them. - This is the error I get.
Playmaker Help / Re: Trouble Tweeing - DOTween jitters - Help!
« Last post by createasaurus on December 05, 2018, 03:19:41 AM »
Hey Daniel,
Your confidence gave me the push to keep experimenting.  Thank you!!  I have now discovered DO Tween Control Methods Kill All.  This solved it!  My guess is when I'm moving the environment erratically, this messing with the tween targets, which are children of the environment, and this was confusing things.  Now I just Kill All before making a big environment move.  Working great!  Thanks again.
Playmaker Help / Error Loading Action - Index was out of range
« Last post by K on December 05, 2018, 01:37:30 AM »
Hi there,

I encounter the following error when I attempted to change an enum field to FsmEnum. I appreciate if someone could help m(- -)m

Error Loading Action: [ActionName] : [ClassName] : Action
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <f2e6809acb14476a81f399aeb800f8f2>:0
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <f2e6809acb14476a81f399aeb800f8f2>:0
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <f2e6809acb14476a81f399aeb800f8f2>:0
  at HutongGames.PlayMaker.ActionData.GetFsmEnum (HutongGames.PlayMaker.Fsm fsm, System.Int32 paramIndex) [0x00000] in C:\Projects\Playmaker_1.9.0\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1749
  at HutongGames.PlayMaker.ActionData.LoadActionField (HutongGames.PlayMaker.Fsm fsm, System.Object obj, System.Reflection.FieldInfo field, System.Int32 paramIndex) [0x00241] in C:\Projects\Playmaker_1.9.0\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1067
  at HutongGames.PlayMaker.ActionData.LoadActionField (HutongGames.PlayMaker.Fsm fsm, System.Object obj, System.Reflection.FieldInfo field, System.Int32 paramIndex) [0x006e5] in C:\Projects\Playmaker_1.9.0\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1225
  at HutongGames.PlayMaker.ActionData.CreateAction (HutongGames.PlayMaker.ActionData+Context context, System.Int32 actionIndex) [0x0024f] in C:\Projects\Playmaker_1.9.0\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:942
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:947)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:776)
HutongGames.PlayMaker.FsmState:LoadActions() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:123)
HutongGames.PlayMaker.Fsm:InitData() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1745)
HutongGames.PlayMakerEditor.FsmErrorChecker:DoCheckFsmForErrors(Fsm) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmGraphView.cs:2459)
HutongGames.PlayMakerEditor.FsmErrorChecker:DoCheckForErrors() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmGraphView.cs:2347)
HutongGames.PlayMakerEditor.FsmErrorChecker:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmGraphView.cs:2332)
HutongGames.PlayMakerEditor.FsmEditor:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditorGUILayout.cs:566)
HutongGames.PlayMakerEditor.FsmEditorWindow:Update() (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:276)

Code snippet before and after change is as follows. I'm using Unity 2018.2.9f1 with PlayMaker 1.9.0

Code: [Select]
public class ClassName : FsmStateAction {
public class SubClassName {
// vvv Before Change vvv //
public EnumClassName VariableName = EnumClassName.Value;
// ^^^ Before Change ^^^ //
// vvv After Change vvv //
public FsmEnum VariableName = new FsmEnum("name", typeof(EnumClassName), (int)EnumClassName.Value) { UseVariable = false };
// ^^^ After Change ^^^ //

[RequiredField, Tooltip("Tooltips")]
public SubClassName[] ArrayVariable;
Pages: 1 ... 7 8 [9] 10