Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: AndreasBlack on Sat 16/04/2022 17:58:32

Title: X,Y Character Speed value changes when Double-clicking (Thumbleweed Template)
Post by: AndreasBlack on Sat 16/04/2022 17:58:32
The values get's overwritten when doubleclicking for some reason, so both X, and Y uses the "doubleclick speedrun" speed, since i'm not a mastercoder i have no idea what's causing it. Been looking into the scripts, but i'm absolutely clueless as to why that is happening.
Title: Re: X,Y Character Speed value changes when Double-clicking (Thumbleweed Template)
Post by: Khris on Sat 16/04/2022 22:46:15
Call this in game_start or your first room_Load:
Code (ags) Select
  Verbs.VerbGuiOptions[eVerbGuiRunOnDoubleClick] = false;

(Type  Verbs.VerbGuiOptions[eVe  to get an auto-complete window showing all the available options)
Title: Re: X,Y Character Speed value changes when Double-clicking (Thumbleweed Template)
Post by: AndreasBlack on Sun 17/04/2022 08:05:37
Ahh, Nice thanks as always!