charprint....

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Naish
Posts: 14
Joined: 2007-11-01 21:53:51
Contact:

charprint....

Post by Naish »

i want to know if exsist a command like charprint but send a text on other charter, like "event ExMsg #charid TEXT" in Euo.

tnz
Naish
Posts: 14
Joined: 2007-11-01 21:53:51
Contact:

Post by Naish »

up
someone help me pls :cry:
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

there isn't...
but why do u need it?
May be u need something to mark object?
Naish
Posts: 14
Joined: 2007-11-01 21:53:51
Contact:

Post by Naish »

right!


another question, is there a method to paint a target when selected like razor target system?


tnz again ^^
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

u can use ,track
or more usefull ,mfgi
Naish
Posts: 14
Joined: 2007-11-01 21:53:51
Contact:

Post by Naish »

track is used only if i want to track a static object on the map, and the coords are the same of player charter when function track is loaded.
i think that don't exsist other system :cry:
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

look at ,mfgi
u can draw fake objects and delete them...
Use both Add and Delete with delay...
Naish
Posts: 14
Joined: 2007-11-01 21:53:51
Contact:

Post by Naish »

my project is create a shared target with injection, and send id enemy trought uomap.
when i selecet an enemy target, must show a text like "TARGET SHARED" upon the head of selected target. :D
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

look here

Code: Select all

sub MarkTarget()
   var target = ''
   var timer = 0
   var temp
   var mark = '0xeed'
   
   while not uo.Dead()
      temp = uo.GetSerial('lasttarget')
      if temp <> '0x00000000' then
         if target <> temp then
            target = temp
            timer = 20
         else
            if timer then
               timer = timer - 1
               uo.mfgi('clear')
               uo.mfgi('add', mark, uo.GetX(target), uo.GetY(target), uo.GetZ(target)+16, 0, "SHARED")
               wait(200)
            end if
         end if
      end if
      wait(100)
   wend
end sub


All new lasttargets will be sign by mark (gold coin) for 6 seconds
Naish
Posts: 14
Joined: 2007-11-01 21:53:51
Contact:

Post by Naish »

ok, this is near what i want, but i need a text and not an object like a coin XD
tnx a lot anyway ^^
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Naish wrote:ok, this is near what i want, but i need a text and not an object like a coin XD
tnx a lot anyway ^^

Try to make text by using fake objects.. :)
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

Naish wrote:ok, this is near what i want, but i need a text and not an object like a coin XD
tnx a lot anyway ^^

u can change coin on something bigger:) if u very want TEXT add graphic in art.mul:)
Post Reply