Menu

Show posts

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 Menu

Messages - Hadjiguru

#1
GREAT! It's working. Really spectacular. Thank you!
#2
when testing the game this error message is shown: undefined token 'btnIconInv'
#3
thanks for helping!
where do i code this and how can i can i enable the button again?
#4
im using for my game the iconbar-gui similar to the default game gui template, AGS version: 2.62.
at a certain situation in the game i want only the walk-function to work. disable look/use/talk is easy with the disablecursormode-function.
also i disabled the inventory with disablecursormode (mode_useinv), but now i want the inventory-button also to grey out and the inventory-window not to open, similar to the other buttons. how can i easy acchieve this? thanks!
#5
yes, that s what im looking for. i ll try it. thanks.
#6
yes, its working. is there maybe a possibility to grey out the disabled object-buttons of the iconbar (besides the walk- and the look-button)?
#7
i want to disable every player-option besides the "walk"-option in a single room.
i managed to disable the "use"-, the "look"- and the "talk"-button with

DisableCursorMode(MODE_USE);
DisableCursorMode(MODE_LOOK);
DisableCursorMode(MODE_TALK);

--> it works perfect.

but how can i disable the use of the inventory (an of course enable it again later on)?
#8
Beginners' Technical Questions / Re:timer
Fri 05/03/2004 20:34:59
i had to set three timers and now it works. but im not really satisfied with that. is there no easier way to enable a special feature for some seconds?
#9
Beginners' Technical Questions / Re:timer
Thu 04/03/2004 19:25:23
hum, it doesnt work. i scripted:


if (IsTimerExpired (1)!=1 {//
my code here for the special ability
}

else {//
 code for NOT having the ability;
 }

but now the player-character has always the special ability - with AND without setting the timer before by drinking a magic drink.  
#10
Beginners' Technical Questions / timer
Tue 02/03/2004 20:43:56
is there a possibility to give the player-character a certain ability or an opportunity to do something for a defined space of time (e.g. for 30 seconds after drinking a magic drink)? maybe using the 'set timer'-function?
#11
yes, that does it. thanks.
#12
i'm doing a 256-colour-game. when i put a new object in a room, it has a slightly different colour than the background, although it is painted with the same colour - and should of course have exact the same. it's quite annoying, because every of this objects (e.g. a certain brick in a wall, that should naturally be hidden) catches the eye at once. what can i do?
#13
thanks for help! yes, something like such a little function will do it.  i tried it  but it didnt work.
it says "nested function not supported". what now?
#14
i want a certain sound-signal being heard everytime the player-character gets an inventory item. can i do that without scripting it for every single item?
SMF spam blocked by CleanTalk