Huh. Good to know.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menushort x = 0;
while (x<Game.GUICount) {
gui[x].Visible = false;
x++;
}
Quote from: Arjunaz78 on Tue 11/10/2011 22:36:10
I've follow the AGS Editor tutorial/guide about disabling right click mouse option at http://americangirlscouts.org/agswiki/ but i can't get through it because it's absolutely confusing me.Besides the wiki just guiding the old version of AGS Editor. (v2.7) instead of AGS Editor v3.2.1 that i currently using.
Quote from: Ekeko on Mon 10/10/2011 20:57:24Maybe I'm about to say something that might be wrong... But I think that two-character variables can't be used
bool waterTimerEnabled;
function repeatedly_execute()
{
if (IsTimerExpired(1))
{
if (!waterTimerEnabled || (waterTimerEnabled && IsTimerExpired(2))) {
heatUp();
SetTimer(1, 100);
waterTimerEnabled = false;
}
}
}
//[...]
function iWaterBtl_Interact()
{
coolOff();
waterToken--;
if (waterToken == 0) cChristian.LoseInventory(iWaterBtl);
mouse.Mode = eModeInteract;
waterTimerEnabled = true;
SetTimer(2,2400);
}
function on_mouse_click(MouseButton button)
{
CursorMode mode = eModeInteract;
if ((button == eMouseRight) || (button == eMouseRightInv)) mode = eModeLookat;
else if (player.ActiveInventory != null) mode = eModeUseinv;
if ((button == eMouseLeftInv) || (button == eMouseRightInv))
{
InventoryItem *iat = InventoryItem.GetAtScreenXY(mouse.x, mouse.y);
if (iat) {
if (iat.IsInteractionAvailable(mode)) iat.RunInteraction(mode);
else if ((button == eMouseLeftInv) && (player.ActiveInventory == null)) player.ActiveInventory = iat;
else if ((button == eMouseRightInv) && (player.ActiveInventory != null)) player.ActiveInventory = null;
}
}
else if (IsInteractionAvailable(mouse.x, mouse.y, mode)) ProcessClick(mouse.x, mouse.y, mode);
else if ((button == eMouseLeft) && (player.ActiveInventory == null))
{
ProcessClick(mouse.x, mouse.y, eModeWalkto);
}
else if ((button == eMouseRight) && (player.ActiveInventory != null))
{
player.ActiveInventory = null;
}
}
Quote from: timofonic on Mon 03/10/2011 17:44:43I also appreciate my rights as user.
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.123 seconds with 14 queries.