hakuren Posted June 19, 2014 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Share Posted June 19, 2014 how to make an npc that when you talk to that npc will give you slow movement by -100 and duration of 50000milisecond Quote Link to comment Share on other sites More sharing options...
Jyabil Posted June 19, 2014 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 89 Reputation: 7 Joined: 02/27/12 Last Seen: July 22, 2014 Share Posted June 19, 2014 (edited) I would suggest using Decrease Agility Skill or @speed command. Decrease Agility: prontera,50,50,3 script Slower 100,{ sc_start SC_DECREASEAGI,50000,10; // 50 seconds end; } @speed: prontera,50,50,3 script Slower 100,{ atcommand "#speed "+strcharinfo(0)+" 200"; // Just change the 200 for the speed you wanted end; } But you need something like a trigger to make the speed default. If it is an event, they can talk to an npc or enter a portal and insert the code below. @speed (default): atcommand "#speed "+strcharinfo(0)+" -1"; Their speed will also change back to normal if they reconnected/character select. Edited June 19, 2014 by Jyabil Quote Link to comment Share on other sites More sharing options...
hakuren Posted June 19, 2014 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Author Share Posted June 19, 2014 I would suggest using Decrease Agility Skill or @speed command. Decrease Agility: prontera,50,50,3 script Slower 100,{ sc_start SC_DECREASEAGI,50000,10; // 50 seconds end; } @speed: prontera,50,50,3 script Slower 100,{ atcommand "#speed "+strcharinfo(0)+" 200"; // Just change the 200 for the speed you wanted end; } But you need something like a trigger to make the speed default. If it is an event, they can talk to an npc or enter a portal and insert the code below. @speed (default): atcommand "#speed "+strcharinfo(0)+" -1"; Their speed will also change back to normal if they reconnected/character select. woooo it works sir the speed -1; hahahaha thank you Quote Link to comment Share on other sites More sharing options...
Question
hakuren
how to make an npc that when you talk to that npc will give you slow movement by -100 and duration of 50000milisecond
Link to comment
Share on other sites
2 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.