ucko1991 Posted June 27, 2010 Posted June 27, 2010 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 :/ Quote
0 DarkMagician Posted June 27, 2010 Posted June 27, 2010 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 :/ Quote
0 rafole Posted June 27, 2010 Posted June 27, 2010 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! Quote
0 SkyNet Posted June 27, 2010 Posted June 27, 2010 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. Quote
0 Matim Posted June 27, 2010 Posted June 27, 2010 You are from United Kingdom ? I don't think so. Quote
0 SkyNet Posted June 27, 2010 Posted June 27, 2010 You are from United Kingdom ? I don't think so. i think the same^^ but u know 90% of the guys which use another flag as greece are in real greeks xD Quote
0 ucko1991 Posted June 27, 2010 Author Posted June 27, 2010 i am not from UK :P i will try something if happen anything will post :P Quote
0 Matim Posted June 27, 2010 Posted June 27, 2010 i will try something if happen anything will post :P I still can't understand you. Quote
0 mogo Posted June 27, 2010 Posted June 27, 2010 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 :/ Quote
Question
ucko1991
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
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.