![]() |
Quick Implied Target OnPress Question
I know that creating a button with OnPress = "assist group_member_3 autoattack autoattack" will automatically assist group member 3.
I am trying to make an implied target window that will target the implied mob if you click on its name. Will OnPress = "target impliedtarget autoattack autoattack" work? If not, what would the correct syntax be? From The / List: target_group_member target_group_pet target_nearest_npc target_next_pc target_none target_pet target_prev_npc target_self targetpc Is it possible to switch target to the current implied target? |
LOL. I guess I could just have it do an assist without any parameters, couldn't I?
/making things *way* too complicated for myself... |
OnPress='Target=Name.LocalText'
Thats how I did it on my implied target. |
Thanks for the tip Landiin. The few different ways I've tried testing this still haven't worked. I *think* I have it now, but am at work and can't test this.. Does this look right?
Within my implied target type page I have a text field called "Name" that looks like this <Text AbsorbsInput="false" actiontype="Target" DynamicData="/GameData.ImpliedTarget.Name" Font="/Fonts.FontZapf15" LocalText="Darathar" Location="1,16" MaximumSize="129,17" MaxLines="1" Name="Name" ScrollExtent="129,17" ShadowStyle="/ShadowStyles.Outline1" Size="129,17" TextAlignment="Center" TruncateElipsis="false">Darathar </Text> Followed by "TargetButton", a button that looks like this: <Button BackgroundOpacity="0.000" Location="1,16" Name="TargetButton" OnPress="Target=Name.LocalText" ScrollExtent="127,17" Size="127,17" Style="/assist_style" Visible="false"> </Button> Does that look right, am I missing something or maybe I should kill the Style variable? |
looks ok to me.
|
| All times are GMT -5. The time now is 11:17 PM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI