SphereCommunity
Sysmessage by gm - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Sysmessage by gm (/Thread-Sysmessage-by-gm)



Sysmessage by gm - MrCube - 04-03-2017 08:14 PM

Hi, i just was wondering if its possible to get evals by just writing in game for example without showing <eval <tag0.testpoints>> but real number ?
src.sysmessage my test points <eval <tag0.testpoints>>


RE: Sysmessage by gm - Catalan_mistral - 04-04-2017 12:06 AM

Don't think so but you can use a workaround

Code:
[Function Testpoints]
RETURN <eval <tag0.testpoints>>

then in the script you can

Code:
src.sysmessage my test points <Testpoints>



RE: Sysmessage by gm - Artyk - 04-04-2017 12:32 AM

To have a value stored in tag, var, ecc.. as decimal you can simply add "d" as prefix
<dtag0.testpoints>

If you want to see the value in-game use .show what_you_want (.xshow to use a target)


RE: Sysmessage by gm - MrCube - 04-04-2017 01:26 AM

Thx. Guys


RE: Sysmessage by gm - Catalan_mistral - 04-04-2017 02:17 AM

ahh well sorry I was wrong, but nice to learn something new Smile wondered what the d was for but hadn't got round to looking it up Sad