Create a free account to remove all ad content.

Author Topic:  Why are my gun scripts broken?  (Read 2407 times)

0 Members and 1 Guest are viewing this topic.

Dryym

  • Supreme Member
  • *
  • Posts: 4336
  • What's yours is mine. ~TM's Resident Master Thief~
    • View Profile
  • Xbox: dryym
Re: Why are my gun scripts broken?
« Reply #30 on: January 17, 2016, 12:11:04 PM »
Also, a neat thing ahout mob health is that as long as it is set to target, it hurts people too.


Wait, Then what is the point of having the two health commands then? Mob health affects players, And Health affects mobs. It seems really redundant to me.

Creator of the term "Deathmine "
Jared [19|Oct 07:12 PM]: "It changes everything" Dryym

Craig

  • Developer
  • Extreme Member
  • *
  • Posts: 6655
  • Dig Deep
    • View Profile
    • Twitter
  • Steam: tota1miner
Re: Why are my gun scripts broken?
« Reply #31 on: January 17, 2016, 09:13:30 PM »
If MobHealth allows -qty in DD and Survival, then that is a bug.

Rev Elevenclaw

  • Sr. Member
  • *
  • Posts: 372
    • View Profile
  • Xbox: Rev Elevenclaw
Re: Why are my gun scripts broken?
« Reply #32 on: January 17, 2016, 09:46:45 PM »
If MobHealth allows -qty in DD and Survival, then that is a bug.
I haven't verified whether or not it affects players. But I know it works on mobs.
Focus determines reality...

Stoneart

  • Sr. Member
  • *
  • Posts: 261
  • "There's always time to get your block's off"
    • View Profile
    • Discord link to my game (Coven)
  • Xbox: stoneart
  • PSN: Xx_Phoenix_Down_xX
Re: Why are my gun scripts broken?
« Reply #33 on: January 18, 2016, 12:21:18 AM »
If MobHealth allows -qty in DD and Survival, then that is a bug.

I'm quite sure that when killing mobs with the script, you don't receive any drops. So it's not much of an advantage as far as farming.

Rev Elevenclaw

  • Sr. Member
  • *
  • Posts: 372
    • View Profile
  • Xbox: Rev Elevenclaw
Re: Why are my gun scripts broken?
« Reply #34 on: January 18, 2016, 01:14:18 AM »
I'm quite sure that when killing mobs with the script, you don't receive any drops. So it's not much of an advantage as far as farming.
True. Also no skill related xp gains.
Focus determines reality...

someone224

  • Fresh Meat
  • *
  • Posts: 6
    • View Profile
  • Xbox: Swiftvolcanokid
  • PSN: someone224
  • Steam: thesteamgamer25
Re: Why are my gun scripts broken?
« Reply #35 on: February 05, 2016, 07:54:32 PM »
I have tried all of these suggestions and the gun just won't work,

Here is the script

If
Intersect [Ray] [vrel:0.5,0,0] [vrel:30,0,0] [players|mobs]
Notify [intersect] [global]
Then
Notify [hit] [global]
Mobhealth [target] [-40]
Health [-40]
Endif

Dryym

  • Supreme Member
  • *
  • Posts: 4336
  • What's yours is mine. ~TM's Resident Master Thief~
    • View Profile
  • Xbox: dryym
Re: Why are my gun scripts broken?
« Reply #36 on: February 05, 2016, 08:01:32 PM »
I have tried all of these suggestions and the gun just won't work,

Here is the script

If
  Intersect [Ray] [vrel:0,0,0] [vrel:30,0,0] [players|mobs] [display]
Then
  Notify [hit] [global]
  Context [Player] [Target]
  Health [-40]


That should work as it is what i generally use. Feel free to remove [display] that is just for debugging and seeing how the intersect is working.

Creator of the term "Deathmine "
Jared [19|Oct 07:12 PM]: "It changes everything" Dryym

Rock

  • Elite Member
  • *
  • Posts: 819
  • rock
    • View Profile
  • Xbox: extremely thick
  • PSN: extremely moist
  • Steam: at your service
Re: Why are my gun scripts broken?
« Reply #37 on: February 05, 2016, 10:01:46 PM »
That should work as it is what i generally use. Feel free to remove [display] that is just for debugging and seeing how the intersect is working.
The real problem is... If you run the script before the guns are not in shops, put 'em in shops then rerun the script, the guns don't work. What I mean by shops is the item options thing.
hi

scripts helper

  • Jr. Member
  • *
  • Posts: 97
  • don't drop that duh duh duh duhhhhh
    • View Profile
  • Xbox: z0mbiesponge
  • Steam: <3creppypasta<3
Re: Why are my gun scripts broken?
« Reply #38 on: February 15, 2016, 11:32:45 AM »
Are you running the script on loop?