Author Topic: Confused as normal  (Read 2963 times)

0 Members and 1 Guest are viewing this topic.

Offline InsideoutTopic starter

  • Full Member
  • ***
  • Posts: 183
  • Activity:
    0%
  • Reputation Power: 2
  • Insideout has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
Confused as normal
« on: April 30, 2013, 12:19:07 PM »
0
Okay been reading the script tutorials. For bandages and such. How does the script know when your wounded etc to use these items? Read something about journal scanning ?

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: Confused as normal
« Reply #1 on: April 30, 2013, 12:27:03 PM »
0
Okay been reading the script tutorials. For bandages and such. How does the script know when your wounded etc to use these items? Read something about journal scanning ?

Script Engines nowadays are able to read your status data. So you can call those Attributes and write checkups like
if Hits < MaxHits and then operate under the knowlegde " if you have no longer maxhits you are wounded". Same You can do for items. Each item in the world can be scanned. You can scan for those by giving the right identifier and when you find something, operate the handling of use the Item. Now we talk about Journal Scanning. Most Actions showing some output into the Game Journal. So you can try to read and compare the content and add operations, what should happen when a specific line\text\content appear. You may should check Tutorials a little bit more for more details.

Tags: