View Single Post
  #3  
Unread 08-05-2009, 03:49 PM
alinabal alinabal is offline
A Young Mystail Rat
 
Join Date: Sep 2006
Server: Antonia Bayle
Posts: 4
Default

Quote:
Originally Posted by gm9 View Post
For a custom window something like this (this is just the script part):
<Text DynamicData="/GameData.SpellInfo.Bank_5.Key_12.ReuseSec" Name="B5K12Reuse" />
<Button Name="ManaFlowRT" OnPress="rt Mana Flow down, you will get it in Parent.B5K12Reuse.Text seconds" />
Thanks, i tried with this

Code:
<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="32,308" Name="ManaFlowing" PackLocation="center,center" ScrollExtent="206,242" size="206,242" UserMovable="true">

    <Text DynamicData="/GameData.SpellInfo.Bank_5.Key_12.ReuseSec" Name="B5K12Reuse" />

    <Button Location="2,48" Name="BtnSemiElf" OnPress="rt Mana Flow down, you will get it in Parent.B5K12Reuse.Text seconds" ScrollExtent="100,32" Size="100,32"  Style="/CommonElements.PushButton.data.style">Mana Down</Button>
    
    <Page Name="WindowFrame" PackSize="absolute,absolute" ScrollExtent="206,242" Size="206,242" Visible="false">
        <Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Frame" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DesktopWindowFrame.data.frame.rect" ScrollExtent="206,242" size="206,242" />
        <Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Bkg" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DesktopWindowFrame.data.bkg.rect" ScrollExtent="206,242" Size="206,242" />
    </Page>
</Page>
And clicking the button just targets the last person to send you a tell. Any ideas?
Reply With Quote