Jump to content
gunnapong

Neck&ring fused !

Recommended Posts

Hello, I wrote the code.  Complete the necklace and ring  The effect will show, but I can't forge the necklace in the app effect, how should I write the code to fuse the app but the effect is still working?

Hello, I have a question  put on a necklace and a ring  The effect will be displayed immediately, but when I melt the necklace into the "app" the effect disappears, there is a way to make the effect not disappear even after the app is melted. Help me plz

IMG_20220910_043144.jpg

Edited by gunnapong

Share this post


Link to post
Share on other sites

Hey,

 

Try to change the first "if" statement line to this one, it should work - you need to use brackets ( ) 

if( (Dina_x2_ID == 8913) and (Dina_x1_ID == 2569 or Dina_x1_Fusion_ID == 2569) )then

 

Share this post


Link to post
Share on other sites
8 hours ago, Sultan said:

Hey,

 

Try to change the first "if" statement line to this one, it should work - you need to use brackets ( ) 


if( (Dina_x2_ID == 8913) and (Dina_x1_ID == 2569 or Dina_x1_Fusion_ID == 2569) )then

 

Same as before..when you put an item that is forged and removed, the effect is still displayed and removes an item that is not melted into the effect. @Sultan

Share this post


Link to post
Share on other sites

Hello @gunnapong,

 

You can get fused item id using the GetItemAttr() function with the ITEMATTR_VAL_FUSIONID parameter:

local item_in_apparel_id = GetItemAttr(Dina_x1, ITEMATTR_VAL_FUSIONID)

 


Share this post


Link to post
Share on other sites
8 hours ago, V3ct0r said:

Hello @gunnapong,

 

You can get fused item id using the GetItemAttr() function with the ITEMATTR_VAL_FUSIONID parameter:


local item_in_apparel_id = GetItemAttr(Dina_x1, ITEMATTR_VAL_FUSIONID)

 

Can you give me an example, I have a problem. The effect does not stop working. @V3ct0r

Share this post


Link to post
Share on other sites
On 9/18/2022 at 5:44 PM, gunnapong said:

Can you give me an example, I have a problem. The effect does not stop working. @V3ct0r

Is it the glow, or is it a effect such as stunning or gain X stats?


Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
On 9/19/2022 at 1:44 AM, gunnapong said:

Can you give me an example, I have a problem. The effect does not stop working. @V3ct0r

Check that RemoveState() branch in your script working properly.


Share this post


Link to post
Share on other sites
On 10/14/2022 at 2:58 PM, Mesut said:

i want to fuse nightmare hat to apparel where should i add the fuse line?

What is the problem with nightmare hat fusing?


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
Reply to this topic...

×   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.


×
×
  • Create New...