SRL Archive - Development

GetUpTextAtEx


Wizzup?

2013-03-04 05:38:48

Anyone who actually uses it? I just noticed that it is not in the documentation and not in SRL.
I want to change the API of GetUpTextAtEx (or rather, the params); and I don't want to create a new function.
Plus, the params to GetUpTextAtEx were nearly identical to the params of GetUpTextAt.

So I'm going to change GetUpTextAtEx params. Unless anyone has serious objections.

Untested build here: http://l0.lt/builders/uptext-font-selection

This is mainly for SRL-2007, so be able to select alternative fonts. SRL should be unaffected.

This will be in 993 as well as in 1000+

xtrapsp

2013-03-04 05:48:56

Thanks for this Wizzup :)

Press Play

2013-03-04 05:52:17

Sounds good! No objections :)

Justin

2013-03-04 05:58:08

SRL-OSR* ;) http://villavu.com/forum/showthread.php?t=97730

Wizzup?

2013-03-04 16:43:55

Now in 993 (which is still a moving target, so testing only):

http://l0.lt/builders/simba-prev/builds/52
http://nala.villavu.com/downloads/simba-prev/d3eda87a0938f35ce9b8291138520d7480c2f3a6/

Documentation updated: http://docs.villavu.com/simba/scriptref/ocr.html#rs-getuptextatex

rj

2013-03-04 16:49:23

I object your honor, the defense clearly does not have enough time to change this in his scripts, asking him to do so would break them for weeks.

Naa jk but will us script writers have to change any things in our scripts?

Olly

2013-03-04 17:11:45

I don't think so.. its either this or a crappy hacky way for uptext to work in 2007rs :p

Wizzup?

2013-03-04 18:27:04

From: rjj95
I object your honor, the defense clearly does not have enough time to change this in his scripts, asking him to do so would break them for weeks.

Naa jk but will us script writers have to change any things in our scripts?


Not if you used SRL for uptext. So most likely, nothing will break. (And if it does, it is a simple fix)

speedster

2013-03-05 03:49:36

Well Good thinking! and happy you are still tweaking stuff for us ;)

Although I do wonder how the function looks for the shadow if enabled…

Wizzup?

2013-03-05 08:49:13

From: speedster
Well Good thinking! and happy you are still tweaking stuff for us ;)

Although I do wonder how the function looks for the shadow if enabled…


The shadow is enabled by default in GetUpText, actually. At least in SRL-5. ;)