Jump to content

Temporary No Return Item Drops

Overview
Creator: Orithan Added: 07 Apr 2024 Tags: 2.55, Combo, Generic Downloads: 9
Rating[?]: No rating
View Script Download Example
(1.75 MB)
Information

Description Setup Reviews Comments

REQUIRES std.zh TO BE IMPORTED
  • Enable the "Combos run Scripts on Layer #" checkboxes in ZScript -> Quest Script Settings, under the "Script" tab. You will probably want to enable them for at least Layers 0, 1 and 2.
  • Import the scripts or add them to your script file, set ITEMSPR_MISC_TEMPNORETURN_ID to an unused itemsprite->Misc[] index and compile.
  • Assign the scripts in the Assign Compiled Scripts window, either automatically by clicking the "Smart Assign" option on the compile success screen or by manually assigning them. If you manually assign them, TempNoReturnItemCombo can be found under the Combodata tab, TempNoReturnItemGeneric can be found under the Generic tab.
  • Go into Quest -> Init Data and navigate to the GenScript tab. Click on "TempNoReturnItemGeneric" in the list and click on the "Edit" button. Check the "Run from Start" box and nothing else - The script handles the rest for you.
  • To make the item spawn, make a combo and assign it the "TempNoReturnItemCombo" script under the scripts tab. Set the ItemID and Mode (click on the ? buttons if you want more information). The item will spawn when that combo is revealed on the screen, be placed directly or if another combo changes to show it via slashing a bush combo or whatever. Do this for any items you wish to spawn.
  • Enjoy!