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

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

  • 0
Posted

i will try something if happen anything will post :P

 

I still can't understand you.

  • 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 :/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock