Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
Action.LoadAPicture Hotspot(5),"Picture_name_goes_here.jpg"
Hotspot(5).move X*15,Y*15,W*15,H*15
PlaySound GetPath + "notes.wav", False---If you want noise..
mercedes wrote:Hi there...are you wanting to move this hotspot..once..or are you wanting to move it around more then once..?
The syntax is
- Code: Select all
Action.LoadAPicture Hotspot(5),"Picture_name_goes_here.jpg"
Hotspot(5).move X*15,Y*15,W*15,H*15
PlaySound GetPath + "notes.wav", False---If you want noise..
You put this in Hotspot(4) lets say...is what I did here...to make Hotspot(5) move....
Post back if this isn't what u are looking for..
You replace X Y W H ---with the coordinates you want..
'this goes in procedures
Sub MoveHotspot
X=X+1
Y=Y+1
Hotspot(5).move X*15,Y*15
End Sub
'this goes to the hotspot
Action.CreateTimedEvent moveHotspot
Lyberodoggy wrote:
- Code: Select all
'this goes in procedures
Sub test
X=X+1
Y=Y+1
Hotspot(5).move X*15,Y*15
End Sub
'this goes to the hotspot
Action.CreateTimedEvent test
See what happens and experiment
x=5
do until x<100
Action.CreateTimedEvent 1, "Hotspot(5).move X*15,70*15", True
x=x+1
loop
Return to Adventure Maker Technical Support and Bug Reports
Users browsing this forum: No registered users and 0 guests