Page 1 of 1

Quest - Scripting (Doubt)

Posted: Fri Mar 06, 2015 1:16 pm
by Bonnie
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

Re: Quest - Scripting (Doubt)

Posted: Fri Mar 06, 2015 1:19 pm
by demolish

Re: Quest - Scripting (Doubt)

Posted: Fri Mar 06, 2015 9:54 pm
by Delaide
For item ID, http://www.ffxiah.com/item/15533/chocobo-whistle
The 15533 is the item ID.

Re: Quest - Scripting (Doubt)

Posted: Sat Mar 07, 2015 12:50 am
by Desufire
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.

Re: Quest - Scripting (Doubt)

Posted: Sat Mar 07, 2015 3:49 pm
by Bonnie
Great thank you both for your help :)

Re: Quest - Scripting (Doubt)

Posted: Sun Mar 08, 2015 1:27 am
by TeoTwawki
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.