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 - Siddd

#1
ok ive checked every page to do with this and i cant find the sollution so:

here is what ive done:

EDIT - In a new script: (tried putting it in global .ash .asc ect none work)


import int money;
function dialog_request (int hello){
if (hello==1) {
player.Say("I must have that item!");
cGarry.Say("Okay, it costs 5g.");
if (money>=5) { // 5 is price of thing you are buying
  player.AddInventory(iPoster);
  money-=5;
  cGarry.Say("You bought a realy great item!");
  dSelling.SetOptionState(1, eOptionOff);
  }
  else {
  cGarry.Say("You don´t have enough money!");
  }
}
}




and then in the global script:

int money = 10;  //Will give the player 10 dollars to start with
export money;


however it comes up unresolved import when ive done everything (or so i think) that needs to be done
#2
I was wandering how i could "buy" an item off a shop keeper i made which puts the item i buy in my inventory and takes out money from my inventory. Thanks
#3
sorry this is so simple but i cant find how to do it:

how do i add music to the game? and can i add any music that i want?
#4
Hey im not sure if this is the right place to post but it seems like a hint and tips kind of thing:

does anyone know any good places where i can download good objects in bmp format?

would be very greatful.
#5
I'm unsure how to change the position of the character when he enters a new room. i know how to change it when you first start the game but not when you change rooms. anyone help?
SMF spam blocked by CleanTalk