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

#1
Thanks for detailed explanation :) Now I understand how it works :)
#2
Hello, I have a problem with using inventory items in LW Bass 2.0 template
for example:

Code: ags

if(cMe.ActiveInventory == iFlowers) {  
  player.Walk(112, 568, eBlock, eWalkableAreas);
  cMe.Say("Would you like to buy some flowers?");
  cPubowner.Say("Yes, Here`s your money");
  cMe.AddInventory(iMoney);
  cMe.LoseInventory(iFlowers); 
}


works fine, but if I use any other item from inventory on "cPubowner" (not iflowers) nothing happens, game don`t keep unheld events for those items, player dont say "I don't think I should give that away" (like before - without script for iflowers)

what is more interesting if I move "{" before "if" in a script , using any other item from inventory gives me the same effect like using flowers, except for walking. Player just say stuff, i loose flowers (even if i give him something entirely diffrent) i get money, no walking at all...weird. Ccould somoene explain me a problem and show how script should look like?
#3
Thank you kindly Khris - it works like a charm :)
#4
That code works fine for me but how can I activate it in room script? - I am using LW BASS v.2.0 template - after double click on exit hotspot character has to change room - what i have to type in interact hotspot function? ;/
#5
Beginners' Technical Questions / Re: Black gui
Mon 16/06/2014 00:10:43
Thank you very much!  :) :) :)
#6
Beginners' Technical Questions / Black gui
Sun 15/06/2014 22:57:10
Please kill me if that`s a stupid question but for god sake....how to make black gui if black color for guis is setup as transparent...
SMF spam blocked by CleanTalk