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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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