Frictional Games Forum (read-only)

Full Version: Item Combination Use Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys, I am working on a custom story for a final project in school (pretty cool right?). I just have one problem so far. So I can combine the hammer and chipper to make a hammer and chipper, but I cannot get that item to open a door. I really need this, because I will use it later as well. Thanks guys!
Do you have a script for it?
(05-14-2013, 07:46 PM)Tomato Cat Wrote: [ -> ]Do you have a script for it?

For what? Combining the items?
No, using it on the door.

Are you getting any sort of error, or is it just not working?
(05-14-2013, 07:57 PM)Tomato Cat Wrote: [ -> ]No, using it on the door.

Are you getting any sort of error, or is it just not working?

Ah. No, it just does not work. Although I know that naming this item also doesn't work, so it might have to do with that since you don't physically pick up the hammer and chipper.
What is it you're trying to do?
(05-14-2013, 08:04 PM)Tomato Cat Wrote: [ -> ]What is it you're trying to do?

So I combined two items that I will use to open a door, but opening a door requires a name (say the name of a key). Does my created item have a name?

(05-14-2013, 08:04 PM)Tomato Cat Wrote: [ -> ]What is it you're trying to do?

I am so sorry. It looks like I fixed my problem. Thanks anyways.
Yeah, I think it's asName argument.

PHP Code:
GiveItem(stringasNamestringasTypestringasSubTypeNamestringasImageNamefloat afAmount); 

So in your case it's "hammer_and_chipper"