in game event : add / variable step / change game variable in this node you change: variable origin: Global
"add game variable" type value: value value: the word you want, without spaces (use "_" ) type: string (if you want to use the name, if you want to float a value of 0 or 1
if you choose string, value : you put a word.
you put all this in your event at the end of the event
Then in your event with dialogue, you must change checks the value of the variable.
As always (and also explained in tutorials): variable magic :) E.g. in game tutorial 42.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
what i meant is for example i finish a Main event in the game.. the dialogue for that NPC is change completely, cause i want the NPC to spit out a dialogue depends of the current events..
Trust me, Alex. You'll come to love using variables in Ork. At first i hated it too, but after I got used to them, those suckers can and will do wonders.
Without variables, I couldn't do much of anything.
It would be good if you could google variables and see what they do in C# or any C programming language as it all works the same and it's really interesting to know that.
It's all ints, strings and bools and I love them all. If I had three babies, I might name them Int, String and Bool. : ) Don't think so.
i had a big wall ahead of me right now, i currently working with my workflow ( iclone + substance Painter ) studying variable a bit is the best i can do.. as my mind will explode if i add it to my list :)
I say as Shadow_fire, it's really interesting with ORK ^^ I am a graphic designer, the variable ORK is simpler than iclone (or 3ds Max for me) good luck
in game event :
add / variable step / change game variable
in this node you change:
variable origin: Global
"add game variable"
type value: value
value: the word you want, without spaces (use "_" )
type: string (if you want to use the name, if you want to float a value of 0 or 1
if you choose string,
value : you put a word.
you put all this in your event at the end of the event
Then in your event with dialogue, you must change checks the value of the variable.
add / variable step / check game variable.
(sorry for my english)
https://www.facebook.com/gilshyran
E.g. in game tutorial 42.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
thanks for the help :)
For instance, after the event, add a global variable called 'Main Event Completed'.
Then on the NPC, run a Variable check for 'Main Event Completed', and the updated dialogue you want to add.
---------------------------------------
Personal Twitter: https://twitter.com/AMO_Crate
I make RFI! https://twitter.com/NootboxGames
thanks for the help :)
i really hate variables,it messes my mind :)... but i think it is fundamental in every game so i will live through it ..
http://forum.orkframework.com/discussion/1157/beginner-tutorial-determine-characters-sex-interaction-with-npcs#Item_1
https://www.facebook.com/gilshyran
It would be good if you could google variables and see what they do in C# or any C programming language as it all works the same and it's really interesting to know that.
It's all ints, strings and bools and I love them all. If I had three babies, I might name them Int, String and Bool. : ) Don't think so.
I am a graphic designer, the variable ORK is simpler than iclone (or 3ds Max for me)
good luck
https://www.facebook.com/gilshyran