Jump to content

grobyczen

Members
  • Posts

    20
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

grobyczen's Achievements

Poring

Poring (1/15)

0

Reputation

  1. Thanks for the information Euphy. For now, I think I will use the cutin commmand
  2. Thanks uDe, the link you provided is useful. However I want to use the .spr file directly, and not every .bmp file individually.
  3. Hello, I'm working on a custom Slot Machine minigame tha looks like this. I've already created the .spr and act files, and as you can see it's based on the slot machine that shows up when you use a pet catching item. The problem is, I don't know how to make it show in game. I've created a NPC that does all the code to calculate if you win or not, but I haven´t been able to find a script command to call the sprite animation. Is there a script command to call the animation? Or do I need to make a source modification? How does it work with the pet catching system? If someone would help me with this, I would be very thankful.
  4. As the title says, is it possible to make an NPC that can only be activated by one player at the time? For example: Player A clicks on the NPC. Player B clicks on the NPC; then it receives a message: "Sorry, NPC is busy talking to player A". Thanks in advance.
  5. Thanks OOP. One last question: Is there any problem if I change that max number? Should I have any considerations when doing that?
  6. Hi, Can anyone help me to make this bit of code work? deletearray .@JSName$[0],getarraysize(.@JSName$[0]); for(set .@i,1; .@i < 13 ; set .@i,.@i+1){ ///// This generates a list with Job Names. setarray .@JSName$[.@i], jobname(.@i); } mes .@npc$,$sep$,"Select an option."; next; for(set .@i,0; .@i < (getarraysize(.@JSName$[0])) ; set .@i,.@i+1){ /////<<<-- Need Help! switch(select(( implode( .@JSName$, ":" ) ))) { case (.@i): mes .@JSName$[.@i] close; } I want to make a dynamic switch(select) with dynamic choices. When I try to run the script, the server says: Any help will be apreciated. Thanks in advance.
  7. As the title says, Is it posible to increase the maximum number of elements in an array? It says on the wiki: Can I change that limit? thanks in advance.
  8. Hi, I'm trying to make a script that erases a fixed set of variables. When I do it one by one like this: prontera,156,174,4 script Reset 752,{ mes "La variable Z es igual a:"; mes $Z; mes "Resetear variable Z a:"; input $Z; next; mes "La variable rossata es igual a:"; mes $rossata; mes "Resetear variable rossata a:"; input $rossata; next; mes "La variable dullahan es igual a:"; mes $dullahan; mes "Resetear variable dullahan a:"; input $dullahan; next; mes "La variable cachorro es igual a:"; mes $cachorro; mes "Resetear variable cachorro a:"; input $cachorro; next; mes "La variable $teo es igual a:"; mes $teo; mes "Resetear variable $teo a:"; input $teo; close2; end; } It works fine. I input the values, and they stay that way. But when I try to use arrays, like this: prontera,156,174,4 script Reset 752,{ setarray .@resetnam$[0],"recluta","$Z","$rossata","$dullahan","$cachorro","$teo"; setarray .@reset[0],recluta,$Z,$rossata,$dullahan,$cachorro,$teo; cleararray .@reset[0],0,(getarraysize(.@resetnam$[0])); mes "Estado de las variables:"; for (.@i=0; .@i < (getarraysize(.@resetnam$[0])); .@i=.@i+1) { mes .@resetnam$[.@i]+" = "+.@reset[.@i]; } close; }//end script ... the message window in the client shows me that all the values are now 0, but they really are not because when I close the "Reset" NPC and check the values on another NPC, they're back to the value they had before I used the "Reset" NPC. Any help to make the array changes work? Thanks in advance.
  9. Thanks Emistry. Is there a way to make them appear/disapear using NPC scripts, something like 'viewpoint'?
  10. He,he. Sorry, didn't know about tha green arrow thing. Done. Thanks again.
  11. If someone would like to help a newbie like me, i have some questions: As the title says, is there any way to make custom markers appear when the command 'viewpoint' is used? Like, instead of an 'X' colored mark there can be a square, a circle or something else? Also, while we are at it, is it posible to change the position of the fixed minimap markers (the little icons on the next image): Are they hard coded on some minimap image file, or is it posible to relocate them trough scripting? If possible, could anyone explain me how to relocate/add/delete them? One last crazy idea: Could it be possible to make the 'viewpoint' command show mini-icons like these on the minimap? Too many questions in one post, but I think they're related. I hope this is not too confusing. Thanks in advance for your time.
  12. Hi. I have been trying to disable the kafra at gef_fild10 (the one outside of Orc Dungeon), but I can't find the .txt to do so. My rAthena is fully updated. Could anyone help me please? Thanks in advance.
×
×
  • Create New...