SphereCommunity
Which one trigger fires on spellbook? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Which one trigger fires on spellbook? (/Thread-Which-one-trigger-fires-on-spellbook)



Which one trigger fires on spellbook? - Rizz - 12-09-2012 10:41 PM

Which one trigger fires on spellbook when you add a scroll into it?
I tryed drop_self but nothing.
Thx.


RE: Which one trigger fires on spellbook? - Skul - 12-10-2012 10:25 PM

Code:
@[item]dropon_item
if (<act.type>==t_scroll)
  if (<argo.type>==t_spellbook)
    //code
  endif
endif



RE: Which one trigger fires on spellbook? - Rizz - 12-11-2012 06:32 AM

It does not work Sad


RE: Which one trigger fires on spellbook? - Rizz - 12-11-2012 09:31 AM

Found

Code:
ON=@dropon_self

    if (<argo.type>==t_scroll)
        blablabla
    endif



RE: Which one trigger fires on spellbook? - Extreme - 12-20-2012 02:39 AM

(12-10-2012 10:25 PM)Skul Wrote:  
Code:
@[item]dropon_item
if (<act.type>==t_scroll)
  if (<argo.type>==t_spellbook)
    //code
  endif
endif
Just to advice for new users, this trigger is for chars.