Hi all, I have some problem in advanced use of PLAYMAKER in unity.
I began a simple game to test the monty paradox problem (see in internet).
The program shows 3 closed doors with one treasure behind only one.
You select one door and the program opens another door without any treasure before you open your selected door.
Then It proposes to you to keep your choice or try the other door by clicking on the door.
In the algorithm, I want a “manager” that do actions according to a global variable.
For example, if a first door has been selected, the computer opens another door;
a state with a transition which is the global variable “FirstDoorSelected”
If FirstDoorSelected=true then Gameobject.EnableFSM(FSM2)=true…leads to the animation of the door opening.
So the playmaker script has to react to a click on a door and do different things according to the global variable states
More generally, I probably need to use conditions IF….. but cannot find on internet or forums any accurate ideas…. (I watched all Hutong tutorial Videos, here no triggers to set a variable!)
I do not want to use script if possible which seems to be possible with Playmaker for such a simple program....
Do you have any idea?
Jean Marc
[Playmaker] PB? Can we do such a thing without scripting ?
Règles du forum
Attention, si vous postez un lien vers un package (en guise d'exemple), assurez-vous qu'il ne contient que des éléments personnels et/ou libres de droit (donc sans l'asset PlayMaker dedans)
Sinon c'est assimilé à du piratage par diffusion sans autorisation de contenus protégés
Les modos auront alors comme consigne de carrément supprimer votre question
Attention, si vous postez un lien vers un package (en guise d'exemple), assurez-vous qu'il ne contient que des éléments personnels et/ou libres de droit (donc sans l'asset PlayMaker dedans)
Sinon c'est assimilé à du piratage par diffusion sans autorisation de contenus protégés
Les modos auront alors comme consigne de carrément supprimer votre question
- boubouk50
- ModoGenereux
- Messages : 6247
- Inscription : 28 Avr 2014 11:57
- Localisation : Saint-Didier-en-Bresse (71)
Re: [Playmaker] PB? Can we do such a thing without scripting ?
Bonjour,speccy a écrit :Hi all, I have some problem in advanced use of PLAYMAKER in unity...
vous êtes ici sur un forum français, qui a pour but d'aider les non anglophones, puisque l'aide d'Unity est en anglais.
Merci de traduire votre demande en français pour que la communauté francophone puisse en profiter.
"Ce n'est pas en améliorant la bougie, que l'on a inventé l'ampoule, c'est en marchant longtemps."
Nétiquette du forum
Savoir faire une recherche
Apprendre la programmation
Nétiquette du forum
Savoir faire une recherche
Apprendre la programmation
Re: [Playmaker] PB? Can we do such a thing without scripting ?
Bonjour,
Pour toute questions en Anglais pour PlayMaker, utilisez le forum officiel:
http://hutonggames.com/playmakerforum/index.php
Et mettez ici le lien, j'y repondrais.
Bonne journée,
Jean
Pour toute questions en Anglais pour PlayMaker, utilisez le forum officiel:
http://hutonggames.com/playmakerforum/index.php
Et mettez ici le lien, j'y repondrais.
Bonne journée,
Jean