How to add quests in game?

I already did the quest got the script in question more now I want to know how to add the quest to the game …

what kinda guests like other player to play ure game? :evil:

@johrey:

what kinda guests like other player to play ure game? :evil:

I asked did not understand how to add a quest …

He is simply asking, he does not know how to add a quest to the game he is asking you!

what kinda guests like other player to play ure game? :evil:

lol sorry then its easy to add guest or players just upload ure cleint and let them down it
after tht check ure ip then give it to them tell them to open the cleint folder then go to config and paste the ip yew gave them in it will be like this
[IPCONFIG]
IP= (put the ip yew gave them here)
PORT=4000
:azn: XD

@johrey:

lol sorry then its easy to add guest or players just upload ure cleint and let them down it
after tht check ure ip then give it to them tell them to open the cleint folder then go to config and paste the ip yew gave them in it will be like this
[IPCONFIG]
IP= (put the ip yew gave them here)
PORT=4000
:azn: XD

No. He wants to implement QUESTS. Not guests, QUESTS.

I’d help you, but I don’t know how either, sorry.

Rofl…

Just wrote a quick & easy quest script. Hope it will serve useful to someone.
Add this script under Select Case Script under Sub ScriptedNPC(Index, Script)
(Works with Eclipse Stable 1.2.2) as i am using it myself without any problem. Not sure about the other versions).

Case 0
If GetPlayerLevel(Index) < 5 then
Call PlayerMsg(Index, “Sorry but you need to be at least lvl 5 to help me…”, BRIGHTRED)

Else
Call PlayerMsg(Index, “[Name of NPC here] says:”, BRIGHTGREEN)
Call PlayerMsg(Index, “Hello traveler, could you buy me a bread please?”, WHITE)
End if

If CanTake(Index, 4, 1) then
Call TakeItem(Index, 4, 1)
Call GiveItem(Index, 6, 1)
Call PlayerMsg(Index, “Thank you for bringing me bread”, WHITE)
End if
Exit Sub
End Select
End Sub

Now create an NPC and change behavior to be type Scripted
and make sure the script number matches the case number of your script.

It’s a small quest script which let’s you do a simple task more then once. Not sure if it’s useful for someone.

Greetings from Russia.
Regards Aramyth.

Quote under here!! V

! Just wrote a quick & easy quest script. Hope it will serve useful to someone.
Add this script under Select Case Script under Sub ScriptedNPC(Index, Script)
(Works with Eclipse Stable 1.2.2) as I am using it myself without any problem. Not sure about the other versions).
! Case 0
If GetPlayerLevel(Index) < 5 then
Call PlayerMsg(Index, “Sorry but you need to be at least lvl 5 to help me…”, BRIGHTRED)
! Else
Call PlayerMsg(Index, “[Name of NPC here] says:”, BRIGHTGREEN)
Call PlayerMsg(Index, “Hello traveler, could you buy me a bread please?”, WHITE)
End if
! If CanTake(Index, 4, 1) then
Call TakeItem(Index, 4, 1)
Call GiveItem(Index, 6, 1)
Call PlayerMsg(Index, “Thank you for bringing me bread”, WHITE)
End if
Exit Sub
End Select
End Sub
! Now create an NPC and change behavior to be type Scripted
and make sure the script number matches the case number of your script.
! It’s a small quest script which let’s you do a simple task more then once. Not sure if it’s useful for someone.
! Greetings from Russia.
Regards Aramyth.
What do you bean by saying index, on a script?

The index is the index number of the player. So, the script checks if the player can do something.

I want to know how to add missions (quests) …

Log in to reply