EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 08-23-2005, 12:34 PM
Lange Lange is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2004
Posts: 101
Default 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?

Last edited by Lange : 08-23-2005 at 01:32 PM.
Reply With Quote
  #2  
Unread 08-23-2005, 01:37 PM
Lange Lange is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2004
Posts: 101
Default

LOL. I guess I could just have it do an assist without any parameters, couldn't I?

/making things *way* too complicated for myself...
Reply With Quote
  #3  
Unread 08-23-2005, 04:03 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

OnPress='Target=Name.LocalText'

Thats how I did it on my implied target.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #4  
Unread 08-31-2005, 11:58 AM
Lange Lange is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2004
Posts: 101
Default

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?
Reply With Quote
  #5  
Unread 08-31-2005, 01:27 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

looks ok to me.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:32 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI