Jump to content

Bin4ry

Members
  • Posts

    782
  • Joined

  • Last visited

  • Days Won

    5

Community Answers

  1. Bin4ry's post in Loop soundeffect command. was marked as the answer   
    - script se#atSE -1,{ OnPlay: .Playing = 1; initnpctimer; while(.Playing == 1) { soundeffectall "dont_forget_me_not.wav",0,"hugel"; sleep 26000; } end; OnTimer600000: stopnpctimer; .Playing = 0; end; OnInit: bindatcmd("soundeffect",strnpcinfo(3)+"::OnPlay",99,99); end; } This should work, not really sure what do you want to make anyway.
  2. Bin4ry's post in Check npcskill ? was marked as the answer   
    Can you elaborate more? If you wanted to know whether your npc have casted skill or not you can use a npc variable like .var then check back with if (.var != 0) close;
     
    Not sure what are you trying to do but here's the example:
    if (!.healed) { npcskill "AL_HEAL",10,99,60; .healed = 1; } else { mes "Healed already."; close; } Here is a list of different variable types:
    name - permanent character integer variable name$ - permanent character string variable @name - temporary character integer variable @name$ - temporary character string variable $name - permanent global integer variable $name$ - permanent global string variable $@name - temporary global integer variable $@name$ - temporary global string variable .name - NPC integer variable .name$ - NPC string variable .@name - scope integer variable .@name$ - scope string variable #name - permanent local account integer variable #name$ - permanent local account string variable ##name - permanent global account integer variable ##name$ - permanent global account string variable
  3. Bin4ry's post in How to add @effect permanent on certain map was marked as the answer   
    prontera,150,150,0 script HiddenEffect 111,{ // Used while to make it loop while(.Effect) { // Interval delay of each effect sleep 1000; // Not sure if this is needed but it seems like only changing .Effect will not stop While from looping if (.Effect) { // Random 25 types of effect switch(rand(25)) { case 0: misceffect 1; break; case 1: misceffect 7; break; case 2: misceffect 12; break; case 3: misceffect 15; break; case 4: misceffect 16; break; case 5: misceffect 28; break; case 6: misceffect 30; break; case 7: misceffect 34; break; case 8: misceffect 43; break; case 9: misceffect 65; break; case 10: misceffect 67; break; case 11: misceffect 75; break; case 12: misceffect 77; break; case 13: misceffect 85; break; case 14: misceffect 97; break; case 15: misceffect 98; break; case 16: misceffect 102; break; case 17: misceffect 104; break; case 18: misceffect 119; break; case 19: misceffect 121; break; case 20: misceffect 128; break; case 21: misceffect 130; break; case 22: misceffect 134; break; case 23: misceffect 153; break; case 24: misceffect 170; break; case 25: misceffect 226; break; } } } OnToggle: if (.Effect) { set .Effect, 0; dispbottom "Effect enabled!"; } else { set .Effect, 1; dispbottom "Effect disabled!"; } end; OnInit: bindatcmd "toggleeffect",strnpcinfo(3)+"::OnToggle",99,99; // Bind command @toggleeffect for account level 99 set .Effect, 0; // Disabled by default end; } This should work, you can use @toggleeffect to turn the effect on and off.
  4. Bin4ry's post in Request Request was marked as the answer   
    Use search feature & http://spriterepository.com/
  5. Bin4ry's post in @request Biggners rAthena Help was marked as the answer   
    MySQL and rA platform is definitely separate thing. MySQL is a database system and rA only a server emulator which store data into MySQL databases.
    If you can't install MySQL you should go to MySQL forum and request support there instead.
×
×
  • Create New...