Quest - Scripting (Doubt)

Post Reply
Bonnie
Posts: 2
Joined: Mon Aug 11, 2014 12:59 pm

Quest - Scripting (Doubt)

Post by Bonnie » Fri Mar 06, 2015 1:16 pm

Hey so I´m scripting currently Obtaining your Chocob Whistle quest,

I think im almost done but I have a question which might end up all my project

For example : (im going to copy and paste a normal mission from a normal NPC that´s currencly working) just a section

elseif(pRank == 1 and player:hasCompletedMission(SANDORIA,SMASH_THE_ORCISH_SCOUTS) == false) then
player:startEvent(0x07d0); -- Start First Mission "Obtaining your chocobo whistle"
end

where it says player:startEvent(0x07d0)
is there a website such as ffxiah to find items ID, to find Cut-Scene´s numbers and what event this quest im doing is?

Sincerely

User avatar
demolish
Developer
Posts: 262
Joined: Thu Jul 26, 2012 7:12 am

Re: Quest - Scripting (Doubt)

Post by demolish » Fri Mar 06, 2015 1:19 pm

<Giblet[NewBrain]> kj with this first step would be fine on my shit
Click here for a guide on scripting missions.

Delaide
Posts: 478
Joined: Sat Jun 14, 2014 8:58 am

Re: Quest - Scripting (Doubt)

Post by Delaide » Fri Mar 06, 2015 9:54 pm

For item ID, http://www.ffxiah.com/item/15533/chocobo-whistle
The 15533 is the item ID.

Desufire
Posts: 162
Joined: Sun Feb 22, 2015 2:58 am

Re: Quest - Scripting (Doubt)

Post by Desufire » Sat Mar 07, 2015 12:50 am

https://wiki.dspt.info/index.php/Event_IDs

Unfortunately it doesn't tell you WHAT the event is. Only gives you the event ID. So as a GM you have to go to the zone and use @cs "ID" in order to view the event. Then take the ID number and make it a hexadecimal. http://www.binaryhexconverter.com/decim ... -converter

https://wiki.dspt.info/index.php/How_to_Make_a_Quest explains all of this.

Bonnie
Posts: 2
Joined: Mon Aug 11, 2014 12:59 pm

Re: Quest - Scripting (Doubt)

Post by Bonnie » Sat Mar 07, 2015 3:49 pm

Great thank you both for your help :)

User avatar
TeoTwawki
Developer
Posts: 527
Joined: Mon Jul 15, 2013 9:50 pm

Re: Quest - Scripting (Doubt)

Post by TeoTwawki » Sun Mar 08, 2015 1:27 am

Then take the ID number and make it a hexadecimal
both the gm command @cs and the startEvent() and cs= commands in scripts will accept decimal values just fine, you don't have to hexify them.
Hi, I run The Demiurge server.


Image
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
PLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
DO NOT PRIVATE MESSAGE ME ABOUT BUGS

Post Reply