i thought of it before but eventually forgotten it.
-for example i will make a Totalsteal variable..then i will make a attack event that will add a +1 to Totalsteal
-then i will make a skill that damages enemy base on the number of times i successfully steal on a enemy.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
How about a count ? i have this Prosperity variable also..
i have a recruiting mechanics that when you invite someone in your village the Prosperity will go up
Use a Value step and set the Value Type to Game Variable. Define the variable key you want to use, optionally, you can also use object variables for that :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
optionally,how can i trace how much prosperity value currently i have in a dialogue? aside from checking the prosperity (float value) from 0 - 100 ?
You can add the value of a variable using text codes. Use the buttons above the text area (click on More) to add text codes to your text.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
the formula calculation is applicable in my first question because it's battle related..
the prosperity thing i ask next is all about event,let say i made a variable called prosperity, i talked to this dude and he joins in my army if so,the prosperity variable will increase by 1 or any amount i want.. then i can check that prosperity variable for selecting events depends on that prosperity count.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
problem solved..thanks gil :) but i was wondering what's the difference between value & game variable
Game Variable: the value of the defined game variable is used.
E.g. using Value 'key' will use 'key'.
Using Game Variable 'key' will use whatever is stored in game variable 'key'.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
i will use the simpleprosperity event i made as example..
i set a event dialogue steps that every time i talked to that dude it increases the prosperity by 1.. in the change variable step i set the value type of prosperity variable to value and it worked just fine, the prosperity are increasing however it doesn't work whenever i set the value type of prosperity to game variable that's the part i get confused
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!