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

Topics - Swamp Witch

#1
Is there a way to script if an object is on a hotspot?
#2
In my global script, I am using this:

function repeatedly_execute() {
Ã,  // put anything you want to happen every game cycle here
Ã,  if (GetLocationType(mouse.x,mouse.y) > 0) {
Ã,  Ã,  Ã, mouse.UseModeGraphic(eModePointer); }
Ã,  else {
Ã,  Ã,  Ã, Mouse.UseDefaultGraphic(); }

so that whenever the mouse rolls over a hotspot it will turn to the pointer.Ã,  The problem is, whenever the cursor is holding an inventory item and rolling over the hotspot, the inventory item disappears and the cursor turns into the pointer.Ã,  Moving away from the hotspot will display the inventory item again.Ã,  How can I code it so this will not happen?Ã,  This is a first person game and the only cursor modes I am using is "interact".
#3
I have a gui that pops up whenever a puzzle is completed successfully with a character image on a button and a label that displays their score.  The character image on the button looks grayed out.  Is there something I need to set to prevent this from happening?
#4
Move Object
I am trying to move an object and it won't move.  I have this:
object[1].Move(98, 77, 4); defined under the "run script" for the interaction.  This is a first person game using two characters.

Drag and Drop
Can someone tell me how to do this with 2.7 code.  I've tried several things and they are not working:

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=14984.0
#5
Is it possible to have a pop up box/gui that will display the inventory item that was just picked up?
#6
When working with a first person game and using two characters, how do I make the second character invisible?  Example, each room is set with the "Hide Player Character" checked.  If character one moves around the rooms, he/she is invisible.  When character one goes into a room where character two is, you can see the character 2.  How do I make character 2 invisible?
#7
Is there a way to disable the status bar and get the top of the room image back?
#8
I am trying to make the cursor turn to the hand graphic when I run over a hotspot.Ã,  After changing the script, I can't pick up anything from my inventory. In the game start function, I am using this:

mouse.UseModeGraphic(eModePointer);

So that I will have the pointer until I come to a hotspot,

In the repeatedly execute function, I have this:

function repeatedly_execute() {
Ã,  // put anything you want to happen every game cycle here
Ã,  if (GetLocationType(mouse.x,mouse.y) > 0) {
Ã,  Ã,  Ã, mouse.Mode = eModeInteract; }
Ã,  else {
Ã,  Ã,  Ã, mouse.Mode = eModeInteract;
Ã,  Ã,  Ã, mouse.UseModeGraphic(eModePointer); }
}

What did I do wrong?
#9
Is it possible to create a First Person game but using two characters that can be switched back and forth and they would also have their own inventory?  For example when you start up the game, you can choose to play as a female or male.  Say you select male.  You have played with the male character and he has stuff in inventory.  You then can switch to the female character but she will start off with a clean inventory the the male will retain his inventory for when he is played again?  If this is possible, would I use a global init to keep track of each character and their inventory?
SMF spam blocked by CleanTalk