how to count pg in screen

Ask for help

Moderators: Murderator+, Murderator

Post Reply
dagofee
Posts: 10
Joined: 2006-10-29 18:32:39

how to count pg in screen

Post by dagofee »

I was looking for a way to count my enemies in the screen with a function

any ideas?
Infectous
Posts: 55
Joined: 2004-07-29 16:29:52

Post by Infectous »

var Enemy = '0x00000000'
Enemy=UO.JournalSerial(UO.InJournal( 'is attacking you' )-1)

repeat that until ???

UO.Print(' You see ' + Str( UO.Count( Enemy ) ) + ' bad dudes' )

or let it keep counting

can I ask why for? cause there may be other ways to accomplish what you really need

there are also uo.GetNotoriety([object]) but i never used that try a search
Post Reply