SRL Archive - OSR Help

Get up text


Main

2010-04-09 04:23:54

Is there a way for me to get npc or player's name that appears in uptext and store it as a string? I tried getuptext but it won't do any thing for me.

i luffs yeww

2010-04-09 10:28:42

You could right click them, I think.

GetUpText should work, though..


s := Between('o ', ' /', GetUpText);
Writeln(s);

Coh3n

2010-04-09 12:02:29

rs_GetUpText returns a string…

Unless you want a partial, in which case I would suggest using Between like i luffs yeww said. :p

i luffs yeww

2010-04-09 22:53:58

'o.O rs_GetUpText AND GetUpText return a string, don't they?

turbobk

2010-04-09 23:08:10

I'm pretty sure rs_GetUpText isn't working as the fonts are outdated.
Correct me if I am wrong. :\

Blumblebee

2010-04-09 23:12:12

From: turbobk
I'm pretty sure rs_GetUpText isn't working as the fonts are outdated.
Correct me if I am wrong. :\


your wrong. afaik anyways, it works for me

i luffs yeww

2010-04-09 23:19:38

Turbo, when's the last time you updated SCAR/SRL? 'o.O

turbobk

2010-04-09 23:40:04

Haha not too sure actually, havn't really made anything for RS in a while.
Probably about a month, and you mean from the SRL Dev repos?

i luffs yeww

2010-04-09 23:44:42

Yes.

Coh3n

2010-04-09 23:56:57

You also need SCAR 3.23. The only way to get it is via SVN Checkout.

Also, I didn't realize there were two functions (GetUpText and rs_GetUpText) :p

turbobk

2010-04-10 00:00:58

Oh rly? I have 3.22.

Coh3n

2010-04-10 00:02:12

From: turbobk
Oh rly? I have 3.22.

Yep. Follow the guide in my signature if you need working uptexts. :)

turbobk

2010-04-10 00:04:34

Sweet as, Thanks. :)

Edit: Got the 'scarprerelease' svn link from your tut.

Coh3n

2010-04-10 00:59:31

From: turbobk
Sweet as, Thanks. :)

Edit: Got the 'scarprerelease' svn link from your tut.

That's the one. ;)