and thanks for the response.
I should put in script i attempt to make for my game, easier for others to follow.
Code:
class SeqAct_MyUberMobileButton extends SeqAct_MobileAddInputZones;
/* Our X and Y coordinates */
var() float YLoc;
var() float XLoc;
/** All the details needed to set up a zone */
//var() editinline MobileInputZone NewZone;
event Activated()
{
NewZone.X = XLoc;
NewZone.Y = YLoc;
}
DefaultProperties
{
////Button
ObjName="Add My Unique Input Zone"
ObjCategory="Mobile"
XLoc = 0
YLoc = 0
InputLinks(0)=(LinkDesc="In")
OutputLinks(0)=(LinkDesc="Out")
////Variable external setup
VariableLinks(1)=(ExpectedType=class'SeqVar_float', LinkDesc="YLoc", bWriteable=true, PropertyName=YLoc)
VariableLinks(2)=(ExpectedType=class'SeqVar_float', LinkDesc="XLoc", bWriteable=true, PropertyName=XLoc)
}
was trying to find a way to access the mobile buttons' variable for my game. but in the process I end up creating another button sequence. What am i doing wrong in this script?
Bookmarks