Syon Posted October 4, 2022 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 42 Reputation: 11 Joined: 10/31/16 Last Seen: November 5, 2024 Share Posted October 4, 2022 I am using sc_start SC_CLOAKING,15000,10,10000,SCSTART_NOICON; sleep2 15000; sc_end SC_CLOAKING; as part of my script but it only works if the player has the Cloaking skill. It is not the case for the AGI, BLESS though sc_start SC_INCREASEAGI,240000,10; It works as a charm. Just wondering how to force player to use cloaking even if they don't have the skill. During my tests, I found if I use the following it works: skill "AS_CLOAKING",10; sc_start SC_CLOAKING,15000,10,10000,SCSTART_NOICON; sleep2 15000; sc_end SC_CLOAKING; Is this the proper way? Would it cause to accidently define Cloaking skill permanently to the player? Quote Link to comment Share on other sites More sharing options...
0 _Terra Posted October 4, 2022 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 170 Reputation: 55 Joined: 07/15/13 Last Seen: 11 hours ago Share Posted October 4, 2022 In what escenario want you have cloaking? While in battle or depending on some situation? If you want cloaking while in battle you should see doc/script_commands.txt and search *autobonus 1 Quote Link to comment Share on other sites More sharing options...
0 Syon Posted October 8, 2022 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 42 Reputation: 11 Joined: 10/31/16 Last Seen: November 5, 2024 Author Share Posted October 8, 2022 On 10/4/2022 at 3:34 PM, EIysium said: In what escenario want you have cloaking? While in battle or depending on some situation? If you want cloaking while in battle you should see doc/script_commands.txt and search *autobonus Thanks, @Elysium. I was able to make it work with the following code: skill 135,10,1; //give cloaking skill temporary sc_start SC_CLOAKING,15000,10,10000,SCSTART_NOICON; //Use cloaking skill lv. 10 with 100% chance and do not send ICON to the client sleep2 15000; sc_end SC_CLOAKING; //remove cloaking after 15 seconds sleep end; I want it to use cloaking after it ports to a player. Cloaking should last 15 seconds and not send icon to the client.SOLVED Quote Link to comment Share on other sites More sharing options...
Question
Syon
I am using
sc_start SC_CLOAKING,15000,10,10000,SCSTART_NOICON; sleep2 15000; sc_end SC_CLOAKING;
as part of my script but it only works if the player has the Cloaking skill. It is not the case for the AGI, BLESS though
sc_start SC_INCREASEAGI,240000,10;
It works as a charm. Just wondering how to force player to use cloaking even if they don't have the skill.
During my tests, I found if I use the following it works:
skill "AS_CLOAKING",10; sc_start SC_CLOAKING,15000,10,10000,SCSTART_NOICON; sleep2 15000; sc_end SC_CLOAKING;
Is this the proper way? Would it cause to accidently define Cloaking skill permanently to the player?
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.