View Single Post
Old 06-10-2009, 12:55 AM   #10
Zatris
A Treant
 
Join Date: Aug 2003
Server: Druzzil Ro
Posts: 27
Interface Author - Click to view interfaces
Default

The attack box-indicator is stuck in the top right i want to move it to the bottom right (figured out) what do i change here :

Code:
<StaticAnimation item="A_AttackIndicatorAnimTop"> <ScreenID>A_AttackIndicatorAnimTop</ScreenID> <Animation>A_AttackIndicatorTop</Animation> <AutoDraw>false</AutoDraw> <AutoStretch>true</AutoStretch> <TopAnchorOffset>0</TopAnchorOffset> <BottomAnchorOffset>3</BottomAnchorOffset> <LeftAnchorOffset>0</LeftAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <TopAnchorToTop>true</TopAnchorToTop> <BottomAnchorToTop>true</BottomAnchorToTop> <LeftAnchorToLeft>true</LeftAnchorToLeft> <RightAnchorToLeft>false</RightAnchorToLeft> </StaticAnimation> <StaticAnimation item="A_AttackIndicatorAnimBottom"> <ScreenID>A_AttackIndicatorAnimBottom</ScreenID> <Animation>A_AttackIndicatorBottom</Animation> <AutoDraw>false</AutoDraw> <AutoStretch>true</AutoStretch> <TopAnchorOffset>28</TopAnchorOffset> <BottomAnchorOffset>32</BottomAnchorOffset> <LeftAnchorOffset>0</LeftAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <TopAnchorToTop>true</TopAnchorToTop> <BottomAnchorToTop>true</BottomAnchorToTop> <LeftAnchorToLeft>true</LeftAnchorToLeft> <RightAnchorToLeft>false</RightAnchorToLeft> </StaticAnimation> <StaticAnimation item="A_AttackIndicatorAnimLeft"> <ScreenID>A_AttackIndicatorAnimLeft</ScreenID> <Animation>A_AttackIndicatorLeft</Animation> <AutoDraw>false</AutoDraw> <AutoStretch>true</AutoStretch> <TopAnchorOffset>3</TopAnchorOffset> <BottomAnchorOffset>28</BottomAnchorOffset> <LeftAnchorOffset>0</LeftAnchorOffset> <RightAnchorOffset>4</RightAnchorOffset> <TopAnchorToTop>true</TopAnchorToTop> <BottomAnchorToTop>true</BottomAnchorToTop> <LeftAnchorToLeft>true</LeftAnchorToLeft> <RightAnchorToLeft>true</RightAnchorToLeft> </StaticAnimation> <StaticAnimation item="A_AttackIndicatorAnimRight"> <ScreenID>A_AttackIndicatorAnimRight</ScreenID> <Animation>A_AttackIndicatorRight</Animation> <AutoDraw>false</AutoDraw> <AutoStretch>true</AutoStretch> <TopAnchorOffset>3</TopAnchorOffset> <BottomAnchorOffset>28</BottomAnchorOffset> <LeftAnchorOffset>4</LeftAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <TopAnchorToTop>true</TopAnchorToTop> <BottomAnchorToTop>true</BottomAnchorToTop> <LeftAnchorToLeft>false</LeftAnchorToLeft> <RightAnchorToLeft>false</RightAnchorToLeft> </StaticAnimation> <StaticAnimation item="A_AttackIndicatorAnimFill"> <ScreenID>A_AttackIndicatorAnimFill</ScreenID> <Animation>A_AttackIndicatorFill</Animation> <AutoDraw>false</AutoDraw> <AutoStretch>true</AutoStretch> <LeftAnchorOffset>4</LeftAnchorOffset> <TopAnchorOffset>3</TopAnchorOffset> <RightAnchorOffset>5</RightAnchorOffset> <BottomAnchorOffset>28</BottomAnchorOffset> <BottomAnchorToTop>true</BottomAnchorToTop> <RightAnchorToLeft>false</RightAnchorToLeft> </StaticAnimation>


how do i attach/move whatever the animation to each side of the window? For a line near the top;
topanchor and leftanchor true, other 2 false and after that set topoffset to 0 bottom set to nPixels thick left offset to 0 and right offset set to window width
even after reading the post about anchors im still a bit confused where to the starting point is and what to set to true/false

Code:
<Button item="PW_CombatStateAnim"> <ScreenID>PW_CombatStateAnim</ScreenID> <RelativePosition>true</RelativePosition> <Style_Transparent>false</Style_Transparent> <Style_Checkbox>false</Style_Checkbox> <DecalSize> <CX>26</CX> <CY>26</CY> </DecalSize> <AutoStretch>true</AutoStretch> <BottomAnchorOffset>26</BottomAnchorOffset> <LeftAnchorOffset>27</LeftAnchorOffset> <RightAnchorOffset>1</RightAnchorOffset> <LeftAnchorToLeft>false</LeftAnchorToLeft> <RightAnchorToLeft>false</RightAnchorToLeft> </Button>


afterplaying around for ummm 2-3 hours with this and starting over once - i figured out adding topanchoroffset to this 2nd section and adjusting all offsets from there what a PITA but this still isnt inside the Frame its supposed to be in.
__________________
Hi I'm a newb, got any plat?

Zatz - The Combine(Drizle Ro)
Zatris is offline   Reply With Quote