Author Topic:  IsEquipped for hand  (Read 251 times)

0 Members and 1 Guest are viewing this topic.

Lord Leo

  • Legendary Member
  • *****
  • Posts: 1171
  • Aka Cat
  • Awards 3 years on site 2 years on site 1 year on site
    • View Profile
    • Awards
  • Xbox: Circle cat113
IsEquipped for hand
« on: April 23, 2016, 06:49:18 PM »
I would like to see the script "IsEquipped" to work for hands
The script would look like this
IsEquipped [Hand|Body] [Right|Left|Body] [Item] [True]

so we can fit it into scripts like this

If
IsEquipped [Hand] [Left|Right] [Semi auto hand gun] [true]
Then
Rest of script

AlienizdPixel

  • Tester
  • Supreme Member
  • *****
  • Posts: 2719
  • Hello
  • Awards 3 years on site Members who have unlocked the robotic avatar Awarded to exemplary forum members 2 years on site Was in the top 10 of the forum stats page as of 4/12/15 1 year on site
    • View Profile
    • Awards
  • Xbox: A1ienizdPixe1
Re: IsEquipped for hand
« Reply #1 on: April 23, 2016, 06:53:57 PM »
That's what the [Left|Right] parameter is for, to determine which hand has the item.
-Alionz

Lord Leo

  • Legendary Member
  • *****
  • Posts: 1171
  • Aka Cat
  • Awards 3 years on site 2 years on site 1 year on site
    • View Profile
    • Awards
  • Xbox: Circle cat113
Re: IsEquipped for hand
« Reply #2 on: April 23, 2016, 06:54:59 PM »
I tried it it doesn't seem to work

Lord Leo

  • Legendary Member
  • *****
  • Posts: 1171
  • Aka Cat
  • Awards 3 years on site 2 years on site 1 year on site
    • View Profile
    • Awards
  • Xbox: Circle cat113
Re: IsEquipped for hand
« Reply #3 on: April 23, 2016, 06:56:42 PM »
EDIT: you cant put both hands in like hudbar sorry :/
« Last Edit: April 23, 2016, 06:58:14 PM by RavenPaw »

Dryym

  • Supreme Member
  • *****
  • Posts: 4334
  • What's yours is mine. ~TM's Resident Master Thief~
  • Awards Members who have unlocked the robotic avatar Awarded to exemplary forum members 2 years on site 3 years on site Site art contributions/TPs in-game/Contest winners 1 year on site
    • View Profile
    • Awards
  • Xbox: dryym
Re: IsEquipped for hand
« Reply #4 on: April 23, 2016, 07:03:25 PM »
Do you mean the ability to query if the player is holding the same item in two hands?

If so, I'd kinda love that. It'd be nice to be able to recreate the 2 handed swing attack of the Drake Sword in Dark Souls.

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