Is it possible to make the coin count go over 100 and stop at 9999 and stay the same through the whole episode?
also, when you talk to an npc you lose a certain amount of coins?
![]() Is it possible to make the coin count go over 100 and stop at 9999 and stay the same through the whole episode?
also, when you talk to an npc you lose a certain amount of coins? -No interesting comments here-
| ||
![]() With the normal coins, as I know, there's no way since they're System Variables.
But, you can create your own Global Variable and incresse it by 1 everytime you collect one of your currency( Not normal coins, because then you would still get 1 up every 100 coins, but can be used if you don't care about this) , then, a Script that actives upon talking to someone and that lowers this Global Variable. And, maybe a Custom HUD to show how many coins the player has. | ||
![]()
Could anyone do it for me? I suck at scripting... Code: Select all 'initialize,0,0,0,0,0,0,0,0,0 this is the custom hud script that i'm using, but the global variable amount (0) isn't showing up -No interesting comments here-
| ||
![]() Global Variables can only be used on Game itself. It means: no level editor. See at your Episode itself if the HUD works.
Huge tutorial below:
If some problem happens, reply this post with the error and I'll try to find what's wrong. | ||
![]()
so do i do Code: Select all If gval(Coins) < 9999 Then Then activate it using events Then make a npc death scipt (is it Code: Select all Npckill or Code: Select all Nkill ? then put that to behavior The coin count races up, then stops when i get a coin -No interesting comments here-
| ||
![]()
Yeah. This is to add 1 coin everytime you have less than 9999 coins.
No. You don't need to call NKill. You trigger the first event simply using this, replacing the "Add Coin" to whatever the Script is called.
But, of course. You don't NEED to use a Dragon Coin. Anything will do. | ||
![]()
Thank you, it works -No interesting comments here-
| ||