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

#1
I need some help using an item on a hotspot/character/object.
I searched the forums and downloaded demo games but nothing  :-[.

This is what i have so far
function hHotspot3_Interact()
{
  if (player.InventoryQuantity[iSpear.ID] == 1)
  {
    player.AddInventory(iDrugs,4);
   
  }
  else
  {
    Display("There's something down there but i can;t reach");
   }

}

But i would like it to be something like
function hHotspot3_useItem(iSpear)
{
Display("I found drugs")
player.additem(iDrugs);
}

I want to use cursor 4 but i can;t find any specific example.
PLZ HELP  Embarrassed

I appologise if i did not search good enough. ???
SMF spam blocked by CleanTalk