The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 Area Item Interaction Help
Nomad923 Offline
Junior Member

Posts: 46
Threads: 15
Joined: Dec 2011
Reputation: 2
#1
Script Area Item Interaction Help

Ive got a small problem, i have a script where if you use an chemical on a script area, it adds that chemical into the jar that is in the script area but it is not working correctly. its saying you cant use this item this way. Ive looked into the Amnesia Main Story maps to see how they did it and compared the two. its pretty much the same.

Here is what im using:


AddUseItemCallback("placebottle2", "cuprite", "AreaPlaceJar", "func2", true);


And here is a picture of the script area

http://i777.photobucket.com/albums/yy59/...titled.png

Edit: And ItemInteraction is checked.

[Image: qg_logo.png]
(This post was last modified: 04-15-2012, 06:14 AM by Nomad923.)
04-14-2012, 06:23 AM
Find


Messages In This Thread
Script Area Item Interaction Help - by Nomad923 - 04-14-2012, 06:23 AM



Users browsing this thread: 1 Guest(s)