Eviles 179 Report post Posted April 30, 2017 System Name: Special Apparel Shop - Monster Model Credits: @Billy, Idea for debug npc page calculation, ApparelShop.Init(); @Satan, Release and debug/organization of system; Undead Pirates Online, System idea original scripts; Introduction: A decoration shop where players can try the apparel before purchase it. Trigger to summon a monster model and show the player the apparel. The requeriment to purchase any apparel of this shop is a Special Apparel Card, price can be easily set to each apparel on the table. You can define the card on the var ApparelShop.Card. Apparel model has been set with Dream Island coordinates, change if used in another map. Functions: ApparelShop.SummonMob(), ApparelMonsterModel(). Change Logs: - Script Created (08/12/2016) - Release of scripts v1.0 (04/30/2017) - Original scripts by UPO Old scripts 14 Quote Share this post Link to post Share on other sites
Wantows 22 Report post Posted May 1, 2017 "Lira Apparel" Wtf :v Kappa Quote Share this post Link to post Share on other sites
MonkeyCode 453 Report post Posted May 1, 2017 Hey @Satan, nice scripts. If you don't mind, I have some comments and suggestions. Usage of Eudemon, - that is, a command to prompt the npc talk/texts. once click on any of the apparel strings, the NPC model will be summoned and begin following the user. Ofcourse, restrictions must also be thought of: only in certain map, only 1 model at a time, how long each model will follow, etc... If you are up for the challenge, I am up to guide/help if needed. 1 Quote Share this post Link to post Share on other sites
RedMAN 22 Report post Posted August 16, 2017 (edited) i try install this but my npc dont talk and cant hide after spawn i add all sdk lines, make 1 test-npc in characterinfo with apparels, change coordinates to near fountain place gs start without any errors Цитата local modelRole = CreateChaX(m, 223400, 278700, 0, 1900000, r) SetChaLifeTime( modelRole, 7200000 ) Цитата elseif SpecialAppMob.step == 9 then ChaMove(SpecialAppMob.monsterrole,223425,277825) elseif SpecialAppMob.step == 13 then ChaMove(SpecialAppMob.monsterrole,223400,278700) +my npc spawn after click "try" correct +main npc trade appareal correct pls help with this Edited August 16, 2017 by RedMAN Quote Share this post Link to post Share on other sites
Eviles 179 Report post Posted August 16, 2017 @RedMAN For npc walk works it's needed a tick on cha_timer, which the function ApparelMonsterModel(ignore,role) does it arealdy, but it's hooked on another function. Main reason for it doesn't working is: 1. You don't have custom_cha_timer and didn't read end of file which i said to disable hook if doesn't use and call it from cha_timer; 2. Maybe you configured it out on cha_timer instead of custom_cha_timer, but forget to change functions params; 3. For npc talking it's needed the function Say() if u doesn't have; Quote Share this post Link to post Share on other sites
RedMAN 22 Report post Posted August 17, 2017 (edited) 20 часов назад, Satan сказал: @RedMAN For npc walk works it's needed a tick on cha_timer, which the function ApparelMonsterModel(ignore,role) does it arealdy, but it's hooked on another function. Main reason for it doesn't working is: 1. You don't have custom_cha_timer and didn't read end of file which i said to disable hook if doesn't use and call it from cha_timer; 2. Maybe you configured it out on cha_timer instead of custom_cha_timer, but forget to change functions params; 3. For npc talking it's needed the function Say() if u doesn't have; ill try it today thx for fast reply Edited August 17, 2017 by RedMAN Quote Share this post Link to post Share on other sites
RedMAN 22 Report post Posted August 18, 2017 В 16.08.2017 в 22:39, Satan сказал: @RedMAN For npc walk works it's needed a tick on cha_timer, which the function ApparelMonsterModel(ignore,role) does it arealdy, but it's hooked on another function. Main reason for it doesn't working is: 1. You don't have custom_cha_timer and didn't read end of file which i said to disable hook if doesn't use and call it from cha_timer; 2. Maybe you configured it out on cha_timer instead of custom_cha_timer, but forget to change functions params; 3. For npc talking it's needed the function Say() if u doesn't have; DONE! thank you. It was cha_time hook and my function name ChaSay (not CharSay) 1 Quote Share this post Link to post Share on other sites
noanshadow 7 Report post Posted August 9, 2020 Link dead Quote Share this post Link to post Share on other sites
Eviles 179 Report post Posted August 9, 2020 @noanshadow Hello! The link is still up, you can view codes by clicking on release of scripts v1.0 or direct by accessing the link below: https://pastebin.com/rUW7XRYK 1 Quote Share this post Link to post Share on other sites