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
Needle on Door [SOLVED]
Karai16 Offline
Member

Posts: 164
Threads: 24
Joined: Apr 2011
Reputation: 0
#1
Photo  Needle on Door [SOLVED]

Hey guys, I'm once again trying to get something to work, and it just doesn't... Huh
I'm trying to get a door open with a needle, but it just says that I cannot use the needle that way
void OnStart()
{
AddUseItemCallback("", "HollowNeedle", "GamesDoor", "UsedItemOnDoor", true);
}

void UsedItemOnDoor(string &in asItem, string &in asEntity)
{
    SetSwingDoorLocked(asEntity, false, true);
    PlaySoundAtEntity("", "unlock_door", "GamesDoor", 0, false);
    RemoveItem(asItem);
}

Can anybody tell me what's wrong?

Custom stories:
Her Games (100% Complete)
Her Games, All Bugs Fixed (100% Complete)
(This post was last modified: 05-13-2011, 09:11 PM by Karai16.)
05-13-2011, 06:47 PM
Find


Messages In This Thread
Needle on Door [SOLVED] - by Karai16 - 05-13-2011, 06:47 PM
RE: Needle on Door - by dragonlordsd - 05-13-2011, 06:52 PM
RE: Needle on Door - by Anxt - 05-13-2011, 06:57 PM
RE: Needle on Door - by dragonlordsd - 05-13-2011, 07:07 PM
RE: Needle on Door - by Anxt - 05-13-2011, 07:08 PM
RE: Needle on Door - by Karai16 - 05-13-2011, 08:15 PM
RE: Needle on Door - by dragonlordsd - 05-13-2011, 07:11 PM
RE: Needle on Door - by Acies - 05-13-2011, 08:23 PM



Users browsing this thread: 1 Guest(s)