Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Inventory Item  (Read 2975 times)

0 Members and 1 Guest are viewing this topic.

927589

  • Lurker
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 2
    • View Profile
Inventory Item
« on: May 30, 2014, 06:09:44 PM »

Hi,

i would like to my actor say comment, when i right-click on the item in inventory,
but i didnť find a solution for this.

Please, what should i do?
Logged

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 301
  • Sorry for any bad english in my posts. Game on !
    • View Profile
Re: Inventory Item
« Reply #1 on: May 30, 2014, 09:01:38 PM »

In the inventory item script, write:

on "RightClick"
{
actor.Talk("Comment"); // add more info in this method like the sound file, fonts, etc as well
}
Logged

927589

  • Lurker
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 2
    • View Profile
Re: Inventory Item
« Reply #2 on: May 30, 2014, 10:03:41 PM »

Thanks,
i was trying do something like that, but i was doing it wrong :)
Logged
 

Page created in 0.033 seconds with 20 queries.