[QUEST] LOL My first quest writing everrrrrrrrrrrr

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[QUEST] LOL My first quest writing everrrrrrrrrrrr

Mamu
This post was updated on .
heres the video

https://www.youtube.com/watch?v=B0XMgpxgpjc

heres the quest

Main
{
    questname  "Test of Might"
    version    1.0
}
state Begin
{

    action  AddNpcText(13, "Good morning, [name]! Are you here to test your might?");
    action  AddNpcText(13, "Kill all 5 waves of monsters and prove your worth and get reward");
   
    action  AddNpcInput(13, 1, "Yes I am ready.");
    action  AddNpcInput(13, 2, "No, I am not ready.");

    rule    InputNpc(1) goto WaveOne
    rule    InputNpc(2) goto Reset
}
state WaveOne
{
    action     PlaySound(74);    

    action  SpawnNpc(105, 10);

    rule    KilledNpcs(105, 10) goto Wave2
}
state Wave2
{
    action     AddNpcPM(13, "Yes you are going good now kill 2nd wave.");    

    action     PlaySound(74);

    action  SpawnNpc(71, 10);

    rule    KilledNpcs(71, 10) goto Wave3
}
state Wave3
{
    action     AddNpcPM(13, "Yes you are going good now kill 3rd wave.");

    action     PlaySound(74);    

    action  SpawnNpc(171, 10);

    rule    KilledNpcs(171, 10) goto Wave4
}
state Wave4
{
    action     AddNpcPM(13, "Yes you are going good now kill 4th wave.");

    action     PlaySound(74);

    action  SpawnNpc(51, 10);

    rule    KilledNpcs(51, 10) goto Wave5
}
state Wave5
{
    action     AddNpcPM(13, "Yes you are going good now kill Final wave.");

    action     PlaySound(74);
 
    action  SpawnNpc(142, 10);

    rule    KilledNpcs(142, 10) goto Reward
}
state Reward
{

    action     ShowHint("Congratulations you recieved 5000 Exp");

    action  AddNpcPM(13, "Well done here is your 5000 Exp reward as promised");

    action  GiveExp(5000);

    action  Reset();
}
state Reset
{
    action  AddNpcText(13, "Come back when you are ready");
    action  Reset();
}

Poop