I want to create a variable to store numbers, but just for a specific player.
I have to use:
Script_commands.txt:
nothing - A permanent variable attached to the character, the default variable
type. They are stored with all the account data in "save\athena.txt"
in TXT versions and in the SQL versions in the `global_reg_value`
table using type 3.
or
"@" - A temporary variable attached to the character.
SVN versions before 2094 revision and RC5 version will also treat
'l' as a temporary variable prefix, so beware of having variable
names starting with 'l' if you want full backward compatibility.
In this case, it will work, but if the server resets i think it gonna disappear.
Observation: Its necessary that variable still stored even if the server restart. I will give this variable to a character when he talks to "NPC 1", then when he talks with the "NPC 2" something will rappen based on the number stored in the variable.
Please: After tell me which is the correct variable to use, plz make an example of how using it?
Question
MojoMojo
I want to create a variable to store numbers, but just for a specific player.
I have to use:
Script_commands.txt:
or
In this case, it will work, but if the server resets i think it gonna disappear.
Observation: Its necessary that variable still stored even if the server restart. I will give this variable to a character when he talks to "NPC 1", then when he talks with the "NPC 2" something will rappen based on the number stored in the variable.
Please: After tell me which is the correct variable to use, plz make an example of how using it?
Edited by MojoMojoLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.