Jump to content
  • 0
Sign in to follow this  
iCORE

[Request] Script

Question

is it possible to make a quest script like this

 

player should finish the quest to equip an specific item.

 

Edit:

 

give the npc 500 Red Potion to equip Glorious Items

Edited by Naori

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hmm...

 

You can edit all glorious items OnEquip script like this:

OnEquipScript: <"	if( somevariable != something ) {		unequip EQI_HAND_R;		unequip EQI_HAND_L;		dispbottom "Weapon evades your firm grasp and slips out of your hand.";	}">

It's unequipping both hands to prevent abuse from sin classes with their double wielding.

 

And then just set that "somevariable" after quest is finished. You can make it account-wide if you want.

Share this post


Link to post
Share on other sites
  • 0

what i mean is you need to finish a quest to equip the weapon not restrict weapon from being double.

Share this post


Link to post
Share on other sites
  • 0

That's exactly the problem solution I gave for. If quest isn't complete (somevariable isn't set to something) right when equipping item it'll unequip itself. If it's not weapon then change unequipped slot (EQI_HAND_R and EQI_HAND_L).

Here's full list:

EQI_HEAD_TOP (1)          - Upper head gearEQI_ARMOR (2)             - Armor (Where you keep your Jackets and Robes)EQI_HAND_L (3)            - What is in your Left hand.EQI_HAND_R (4)            - What is in your Right hand.EQI_GARMENT (5)           - The garment slot (Mufflers, Hoods, Manteaus)EQI_SHOES (6)             - What foot gear the player has on.EQI_ACC_L (7)             - Accessory 1.EQI_ACC_R (8)             - Accessory 2.EQI_HEAD_MID (9)          - Middle Headgear (masks and glasses)EQI_HEAD_LOW (10)         - Lower Headgear (beards, some masks)EQI_COSTUME_HEAD_LOW (11) - Lower Costume HeadgearEQI_COSTUME_HEAD_MID (12) - Middle Costume HeadgearEQI_COSTUME_HEAD_TOP (13) - Upper Costume HeadgearEQI_COSTUME_GARMENT (14)  - Costume GarmentEQI_SHADOW_ARMOR (15)     - Shadow ArmorEQI_SHADOW_WEAPON (16)    - Shadow WeaponEQI_SHADOW_SHIELD (17)    - Shadow ShieldEQI_SHADOW_SHOES (18)     - Shadow ShoesEQI_SHADOW_ACC_R (19)     - Shadow Accessory 2EQI_SHADOW_ACC_L (20)     - Shadow Accessory 1
Edited by Garr

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.