Jump to content

Search the Community

Showing results for tags 'walking'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Bulletin Centre
    • Community News
    • Repository News
    • Ragnarok News
  • Hercules Development Centre
    • Development Discussion
    • Suggestions
    • Development Centre Archives
  • Support & Releases
    • General Server Support
    • Database
    • Scripting
    • Source
    • Plugin
    • Client-Side
    • Graphic Enhancements
    • Other Support & Releases
  • Hercules Community
    • General Discussion
    • Projects
    • Employment
    • Server Advertisement
    • Arts & Writings
    • Off Topic
  • 3CeAM Centre
    • News and Development
    • Community
  • International Communities
    • Filipino Community
    • Portuguese Community
    • Spanish Community
    • Other Communities

Categories

  • Client Resources
  • Graphic Resources
    • Sprites & Palettes
    • Maps & Textures
    • Other Graphics
  • Server Resources
    • Server Managers / Editors Releases
    • Script Releases
    • Source Modifications
    • Plugins
    • Pre-Compiled Server
  • Web Resources

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Discord


Skype


IRC Nickname


Website URL


Location:


Interests


Github

Found 1 result

  1. In need of help with having this script to work. I've been trying to create a template for "walking" NPCs to create more difficult quests (using sprites with walking animation, of course). The NPC exists when enabled, it just doesn't do anything. **The default location (rwc03,49,49,4) can be changed, it's an area I use to test NPCs on, especially this one, since it walks and it's a small map. rwc03,49,49,4 script Shy Eclipse ECLIPSE,{ function offset_select; function step_rand; OnInit: while(1){ offset_select; npcspeed 100; npcwalkto .@npc_x,.@npc_y; .@interval = rand(3,5); // randomized idle duration sleep .@interval*1000; // 1000 millisec = 1 sec } function offset_select{ do{ getmapxy(.@map$,.@x,.@y,1); // gets npc's current location step_rand; .@npc_x = .@x+rand(-.@step_a,.@step_; // randomized offset x-coord .@npc_y = .@y+rand(-.@step_a,.@step_; // randomized offset y-coord }while( !checkcell(.@map$,.@npc_x,.@npc_y,cell_chkpass) ); // checks if selected coords is accessible } function step_rand{ .@step_a = rand(1,10); // randomized offset init range .@step_b = rand(1,10); // randomized offset end range do{ // addresses possible rand() range error .@step_a = rand(1,10); .@step_b = rand(1,10); }while( .@step_a >= .@step_b ); } mes "[Eclipse]"; mes "!! Squik..!"; emotion e_panic; next; if( select("Pet it.:Scare it away.") == 1 ){ mes "[Eclipse]"; mes "**Squik~**"; emotion e_lv; } else { mes "[Eclipse]"; mes "SQUIK!"; emotion e_omg; } close;}
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.