Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Vinsanity_1

Pages: [1]
1
Orion UO Scripts / Question on primary ability syntax (Whirlwind Attack)
« on: November 02, 2023, 07:31:06 PM »
Hello all,

I have recently modified a script to train Bushido with minimum effort. I used this in Yew sheep pen to get my Bushido to 100 as it targets a mob, uses lightning strike, then targets a new mob.

My question is for Whirlwind Attack. Since Whirlwind attack is not a buff, I do not know the language needed to use Whirlwind Attack, wait until it hits a mob, then repeat.

Right now I can only get it to toggle on/off with "wait", which is not optimal. Any help here would be greatly appreciated. Please let me know if you have any questions. Thanks!

-V

p.s. Feel free to use my Bushido sheep pen script below.

Code: Javascript
  1. function attackNearestMob(){
  2. var target, range = 14;
  3.  
  4. for(;;){
  5. var mobs = Orion.FindTypeEx(any, any, ground, 'mobile|live|inlos', 8, 'gray|enemy').sort(function(a, b){
  6. return a.Distance() - b.Distance();
  7. })[0];
  8. if(mobs){
  9. Orion.Print("Attacking " +mobs.Name());
  10. if(mobs.Hits("%") == 100){
  11. Orion.AddWaitTargetObject(mobs.Serial());
  12. Orion.InvokeVirtue('Honor');
  13. }
  14. Orion.Attack(mobs.Serial());
  15. while(mobs.Exists()){
  16. if(Player.Mana() > 10 && !Orion.BuffExists('Lightning Strike'))
  17. Orion.Cast('Lightning Strike');
  18. Orion.Wait(500);
  19. }
  20. Orion.Print("Target dead");
  21. } else {
  22. Orion.Print("No targets found");
  23. Orion.Wait(2000);
  24. }
  25. }
  26. }

2
New member introductions / Hello.
« on: October 29, 2023, 04:49:54 PM »
The year was 1997. I was a senior in high school with a 56k modem and a lot of free time. I was a huge Ultima series fan and heard of Ultima Online from a friend. I HAD to get it. I worked out a deal with my brother to share an account and split the monthly payment. Dialing up to your ISP back then was the worst. If it was late at night, my mom would hear the modem (skreeeeeeeeeetch eeeeeeeerrrrk) and come shut me down.

My first experience playing was surreal. I was the master of my own destiny. I picked up lumberjacking, scribing, archery... my builds were a mess but I had such a fun time building skills with visions of greatness to strive for. Sonoma was my server of choice as it had the most stable connection. I made friends, communicated through ICQ (is that still a thing?) and joined a guild.

College struck for me and I managed to take over my brothers account and keep active (as I could). My main character then was a bank thief build with an eye for silver vanq weapons. So many good times running around brit bank... I ended up graduating college and playing up until 2004. Unfortunately my guild at the time (and I) swapped games to Star Wars Galaxies.

I've always had a special place in my heart for UO, recently coming back to the game last month. I'm currently relearning the ropes and having a great time. I do some scripting in my career and thought it would be really interesting to see the limits of scripting in UO (if there are any, hah) and add to this community.

Thanks for taking the time to read this.

-V

Pages: [1]