SphereCommunity
How unshrink - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: How unshrink (/Thread-How-unshrink)



How unshrink - Monty - 07-04-2013 01:25 AM

Is there any way to unshrink t_figurine from code.

I try it and different but nothing every time.
Code:
[FUNCTION UNSHRINK]
TARGETF f_unshrink <SRC.UID>

[FUNCTION f_unshrink]
ARGO.TRIGGER @DCLICK
ARGO.TRIGGER @DCLICK <SRC.UID>
ARGO.TRIGGER @DCLICK , <SRC.UID>

In console is not errors.


RE: How unshrink - RanXerox - 07-04-2013 01:33 AM

Try USE or USEITEM ( http://wiki.sphere.torfo.org/index.php/Items )


RE: How unshrink - Monty - 07-04-2013 04:02 PM

(07-04-2013 01:33 AM)RanXerox Wrote:  Try USE or USEITEM ( http://wiki.sphere.torfo.org/index.php/Items )

First I want to thank you for the advice. This run well only if src is online I need something what unshrink t_figurine without player i try use npc but this is error. It is possible unshrink t_figurinu without people on my server?


RE: How unshrink - Shaklaban - 07-04-2013 09:29 PM

ref1=<link> //im not at home, not sure which property of the t_figurine holds the uid of the creature
ref1.p=x,y,z,m
ref1.update
remove


RE: How unshrink - RanXerox - 07-05-2013 03:12 AM

The TRYSRC command lets you select the SRC you want... the revision notes describe it like this:

TRYSRC <uid> <verb>, executes <verb> with <uid> as the SRC.


RE: How unshrink - Monty - 07-05-2013 08:27 AM

(07-04-2013 09:29 PM)Shaklaban Wrote:  ref1=<link> //im not at home, not sure which property of the t_figurine holds the uid of the creature
ref1.p=x,y,z,m
ref1.update
remove

Awesome, really thank you.