Jump to content
  • 0
Sign in to follow this  
almarket23

"@" variable problem. Please help

Question

Hi everyone. I am doing a custom Instance but I am having a problem with this one.

 

"@"      - A temporary variable attached to the character. 
           They disappear when the character logs out.
 
 
Is there a way to remove this variable to a specific character when he/she go inside a map?
let say for exaample "prontera", instead of logging out to remove this variable can it be possible to remove this when they go to a specific map?
 
 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Yes. When player goes inside a map, you can remove the variable by setting it to 0 or to empty string. Examples:
 

@var = 0;
@var$ = "";

 

The first one for integer variables and the second one for string variables. You can do this in the npc that sends player inside the instance, or using getpartymember() and attachrid() commands as the example of this other topic.
 
R418.109300

Edited by Ragno

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.