Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: Externalised Merchants
Re: New feature: Externalised Merchants[message #360470 is a reply to message #360449] Mon, 29 June 2020 03:38 Go to previous messageGo to previous message
Kitty

 
Messages:473
Registered:October 2017
Location: Germany
I'm no-way sure about this, but here is my assumption on how it probably should look like:


Either something like this:

if ( sSectorX == 6 and sSectorY == SectorY.MAP_ROW_C and bSectorZ == 0 and ubMerchantID == 63 and ubBodytype == 13 and usQuoteNum == 13 )then 

     PlaySound("Sounds//Merchant63//The price is right.ogg")

end

or something like this:


if ( sSectorX == 6 and sSectorY == SectorY.MAP_ROW_C and bSectorZ == 0 ) then 
    if ( ubMerchantID == 63 and ubBodytype == 13 and usQuoteNum == 13 ) then
	
	  PlaySound("Sounds//Merchant63//The price is right.ogg")
    end

end

or:

if ( sSectorX == 6 and sSectorY == SectorY.MAP_ROW_C and bSectorZ == 0 ) then 
    if ( ubMerchantID == 63 and ubBodytype == 13 ) then
        if (usQuoteNum == 13) then
	
	  PlaySound("Sounds//Merchant63//The price is right.ogg")
        

        elseif (usQuoteNum == 14) then

          PlaySound("Sounds//Merchant63//The price is tight.ogg")

        end
    end
end



If this is bull, I beg to be corrected.

[Updated on: Mon, 29 June 2020 03:55]




How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN

I need more details. (Didi Hallervorden)

Report message to a moderator

Master Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New feature: Take prisoners, interrogate them
Next Topic: New Quest: a questline continues...
Goto Forum:
  


Current Time: Fri Nov 29 04:53:04 GMT+2 2024

Total time taken to generate the page: 0.01357 seconds