Page 1 of 1

charprint....

Posted: 2007-11-28 19:59:26
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

Posted: 2007-12-02 03:14:48
by Naish
up
someone help me pls :cry:

Posted: 2007-12-02 03:34:40
by Grin
there isn't...
but why do u need it?
May be u need something to mark object?

Posted: 2007-12-02 06:41:31
by Naish
right!


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


tnz again ^^

Posted: 2007-12-02 12:59:12
by Grin
u can use ,track
or more usefull ,mfgi

Posted: 2007-12-03 00:31:57
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:

Posted: 2007-12-03 01:56:21
by Grin
look at ,mfgi
u can draw fake objects and delete them...
Use both Add and Delete with delay...

Posted: 2007-12-03 04:11:35
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

Posted: 2007-12-03 04:44:42
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

Posted: 2007-12-03 08:57:44
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 ^^

Posted: 2007-12-03 10:53:03
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.. :)

Posted: 2007-12-03 14:42:12
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:)