Not parsing Target Name
So,
I need to experiment more but I am confused. When a variable mapped to the target name is used as the first command in a list of commands performed in an onpress... it works. However, when the same command and variable is in middle of the commands... nothing... no error, none of the commands are executed. Here is an example of where it does not work: Code:
<Composite Size="230,40" Alignment="Center" Orientation="Horizontal" PackLocation="LEFT,TOP" PackSize="a,f" SpacingType="Fill"> Aseop |
You may get better results with the TNAME part if you do a little setup. I don't use do_file_commands so I'm not sure how they affect the command stack, but try the following (untested):
Code:
<Button Name="stanza002" OnPress=" |
Can I extract that MyEmote= to a variable in the button itself instead of in onpress? Thanks for the reply, this actually helps me figure out variables a bit more...
Aseop |
You can preload the variable as long as you have an event (OnShow, OnPress, OnMove, etc.) to handle it.
Code:
. |
I am not sure I get that last but will play with it. I have actually pinpointed the issue to use of quotes which I think you suggestion should help with (as well as an old post by drums).
Also accidentally discovered that %t in a file used for do_file_commands sort of works. It acts like %s and it does not care about the targets actual sex is (random it, he, she), but it sort of works. More than I can say for the other % shortcuts. Wondering if it will work like that if embedded directly in an onpress. Thanks Darq, aseop |
All times are GMT -5. The time now is 05:49 PM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI