Jump to content
  • 0

Question

Posted

hello i have one question to you

how can i make to all event showing on 1 command i mean

when write .event to show all event example on 1 time start TvT/CTF

and when press .event to show and 2 event to make chose to who one join

or when press .eventinfo to show who practicion in event i don't know how i explain it

if not undestend i will try explain it again ty for now and sorry is my post is in wrong section :/

9 answers to this question

Recommended Posts

  • 0
Posted

MaxCheaters.com > Lineage II Development English-Greek Section > [General] Lineage II Develop [L2J] English > [Request] Dev Help [L2J] En

 

 

Pm a moderator and tell im to move it there, otherwise you won't get any serious answer here.

 

 

Ps* It's kinda hard to understand what you want to say :/

  • 0
Posted

hello i have one question to you

how can i make to all event showing on 1 command i mean

when write .event to show all event example on 1 time start TvT/CTF

and when press .event to show and 2 event to make chose to who one join

or when press .eventinfo to show who practicion in event i don't know how i explain it

if not undestend i will try explain it again ty for now and sorry is my post is in wrong section :/

u have to create 2 different voice commands!

  • 0
Posted

u have to create 2 different voice commands!

 

its not only that....

he want one command for all events so if he type .eventinfo its show the infos abot the currently running event

if he use just the command he had to make for each event one....

 

dont know how to make it but the command has to check which event is currently running...

just w8 a bit im sure someone will answer your question.

  • 0
Posted

First, make sure your events are derived from the same class. Lets say it's called BaseEvent. Now make a new static or singleton class, we'll call it EventInfo. Make a container (list, vector, whatever) for BaseEvent type objects  inside. Modify the events so that they add themselves to the container when started, and remove themselves when finished. Now you can make your voice command handlers to list running events ( EventInfo.getInstance().listEvents() ), etc, etc. Well that's how i would do it, but it might not be the best solution as i'm still a beginner :/

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
Answer this question...

×   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.



×
×
  • Create New...