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
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#8
RE: AddUseItemCallback on entities that are not doors/chests

(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.

In Ruins [WIP]
03-22-2013, 10:41 PM
Find


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



Users browsing this thread: 1 Guest(s)