Jump to content

Move a character to a new zone (otr to non) in LUA


SquallLeonhart

Recommended Posts

You mean the character the user is looking on in the detail page? No, that isn't possible.

 

Or do you have anything else in mind. Perhaps get the identifier for a character, which Name you know?

 

Yes, the identifier of the character the user is looking on in the detail page.

My purpose exactly :

 

1. In the detailed page of a character, I created a command "Fight"

2. When the user clicked on the "Fight" command, save the character id somewhere

3. A Battle function is used to do the fighting

4. When the character is killed, retrieved the character id and use the <char id>:MoveTo(nil) to remove the character from the zone (as it is dead)

 

See what I mean ?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...
×
×
  • Create New...