Author Topic: Creature properties  (Read 3714 times)

0 Members and 1 Guest are viewing this topic.

Offline holmedogTopic starter

  • Jr. Member
  • **
  • Posts: 57
  • Activity:
    0%
  • Reputation Power: 2
  • holmedog has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
Creature properties
« on: October 26, 2011, 01:40:02 PM »
0
Does anyone know how to bring up actual creature properties in EUO?  I currently have the ability to find types and all that, what I want is something like the actual name (note: these would be used for a GUI).

So, if I find a type "GO", I would want it to say "a skittering hopper" instead of "GO".

Offline Crome969

  • Elite
  • *
  • *
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: Creature properties
« Reply #1 on: October 27, 2011, 03:25:42 AM »
0
Does anyone know how to bring up actual creature properties in EUO?  I currently have the ability to find types and all that, what I want is something like the actual name (note: these would be used for a GUI).

So, if I find a type "GO", I would want it to say "a skittering hopper" instead of "GO".
You could use Event property and Scan all Characters of Property until the First $. Then Take out the string until the dfirst $.
The Property is buildet from 2 Parts. Name , Info and setted to one Stringline and then showed in EUO. So you will have to split the Name \Info again:)

Offline 12TimesOver

  • Another Day, Another Vendetta
  • Global Moderator
  • *
  • *
  • Posts: 3694
  • Activity:
    0%
  • Reputation Power: 41
  • 12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.
  • Gender: Male
  • Respect: +321
  • Referrals: 2
    • View Profile
Re: Creature properties
« Reply #2 on: October 27, 2011, 04:16:51 AM »
0
I just have a snippet that I hotkey that let's me target an item and get any info I want including #property, #itemtype, etc. Leave it running while I'm doing stuff and hotkey it everytime I see something new I want to add.

You could also make the script dynamic by adding a menu button that allows people to add their own creatures to the list ;)

X
When they come for me I'll be sitting at my desk
     with a gun in my hand wearing a bulletproof vest
My, my, my how the time does fly
     when you know you're gonna die by the end of the night

Offline freddy

  • Sr. Member
  • *
  • Posts: 271
  • Activity:
    0%
  • Reputation Power: 4
  • freddy has no influence.
  • Gender: Male
  • Respect: +37
  • Referrals: 1
    • View Profile
Re: Creature properties
« Reply #3 on: October 28, 2011, 12:45:31 AM »
0
Code: [Select]
I use something like this:

 [code]
event property #findid
   set %temp_sid #property
   str pos %temp_sid $
   set %del #strres - 1
   str left %temp_sid %del
    set %prop #strres


http://www.scriptuo.com/index.php?topic=8387.0[/code]

Offline Paulonius

  • Elite
  • *
  • *
  • Posts: 2040
  • Activity:
    0%
  • Reputation Power: 29
  • Paulonius is on the verge of being accepted.Paulonius is on the verge of being accepted.Paulonius is on the verge of being accepted.Paulonius is on the verge of being accepted.Paulonius is on the verge of being accepted.
  • Respect: +162
  • Referrals: 1
    • View Profile
Re: Creature properties
« Reply #4 on: October 28, 2011, 06:44:59 AM »
0
TM has a tool that allows you to target and pull up properties on things you click.  Poke around the site. 
This coin declares Caesar is "Dictator for Life." He did serve as Dictator for the remainder of his life, but his life would end only a few weeks after this issue. For Caesar to put his image on coins and essentially declare himself king was too much for Brutus and his republican allies.

"If everything seems under control, you're not going fast enough'
-Mario Andretti

"If everyone is thinking alike, someone isn't thinking."
- General George Patton Jr

Offline holmedogTopic starter

  • Jr. Member
  • **
  • Posts: 57
  • Activity:
    0%
  • Reputation Power: 2
  • holmedog has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
Re: Creature properties
« Reply #5 on: October 29, 2011, 11:59:52 AM »
0
Code: [Select]
I use something like this:

 [code]
event property #findid
   set %temp_sid #property
   str pos %temp_sid $
   set %del #strres - 1
   str left %temp_sid %del
    set %prop #strres


http://www.scriptuo.com/index.php?topic=8387.0[/code]

Exactly what I needed, thank you.
« Last Edit: November 01, 2011, 05:54:42 PM by holmedog »

Tags: