Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help AddUseItemCallback on entities that are not doors/chests
ClayPigeon Offline
Member

Posts: 214
Threads: 13
Joined: Mar 2012
Reputation: 8
#10
RE: AddUseItemCallback on entities that are not doors/chests

(03-22-2013, 10:41 PM)NaxEla Wrote:
(03-22-2013, 10:36 PM)ClayPigeon Wrote:
(03-22-2013, 10:33 PM)Wapez Wrote: Then I advice you add a scriptarea around the object you want the player to use the item on, in this case the table. Then you can use the key on the scriptarea, but it feels like the table.

PHP Code: (Select All)
AddUseItemCallback("""key_1""scriptarea_1""UsedKeyOnTable"true); 

Actually I tried doing this before the actual table idea but it didn't work as well. Any other ideas?

In the properties for the area, there's a box that you need to tick so that it lets you use items on the area. I can't remember what it's called though, sorry.

Oh!
It works now, thank you so much Smile
03-22-2013, 10:45 PM
Find


Messages In This Thread
RE: AddUseItemCallback on entities that are not doors/chests - by ClayPigeon - 03-22-2013, 10:45 PM



Users browsing this thread: 1 Guest(s)