DanialFX Posted February 19, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 43 Reputation: 0 Joined: 02/10/14 Last Seen: March 25, 2020 Share Posted February 19, 2014 (edited) How can I add some effect on my headgear. Example. I want to add an @effect 120 on my headgear. 29868,Poring_Sack,Poring_Sack,4,20,,10,,10,,1,0xFFFFFFFF,7,2,512,,0,1,1967,{ bonus bAllStats,10; },{@effect 120},{} I know it's funny, i dont have any talent in scripting Edited February 19, 2014 by DanialFX Quote Link to comment Share on other sites More sharing options...
Euphy Posted February 20, 2014 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted February 20, 2014 See: H> How to add special effect, item specialeffect / effect @@sandbox: We usually prefer the 'specialeffect' commands (in this case, Specialeffect2) to Misceffect to more visibly show that it's a player-based effect ('misceffect' will always check NPC data first). It doesn't make any practical improvements, but that's generally the standard. 1 Quote Link to comment Share on other sites More sharing options...
sandbox Posted February 20, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Monday at 04:01 PM Share Posted February 20, 2014 *misceffect <effect number>; This command, if run from an NPC object that has a sprite, will call up a specified effect number, centered on the NPC sprite. If the running code does not have an object ID (a 'floating' NPC) or is not running from an NPC object at all (an item script) the effect will be centered on the character who's RID got attached to the script, if any. For usable item scripts, this command will create an effect centered on the player using the item. A full list of known effects is found in 'doc/effect_list.txt'. The list of those that actually work may differ greatly between client versions. Quote Link to comment Share on other sites More sharing options...
DanialFX Posted February 20, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 43 Reputation: 0 Joined: 02/10/14 Last Seen: March 25, 2020 Author Share Posted February 20, 2014 Thank you Euphy. Quote Link to comment Share on other sites More sharing options...
Question
DanialFX
How can I add some effect on my headgear.
Example. I want to add an @effect 120 on my headgear.
I know it's funny, i dont have any talent in scripting
Edited by DanialFXLink to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.