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
help script stuff sorta
MrJackrabbit Offline
Junior Member

Posts: 26
Threads: 10
Joined: Nov 2013
Reputation: 0
#14
RE: help script stuff sorta

(12-23-2013, 03:37 AM)JustAnotherPlayer Wrote: Here ya go bro.
If you have any more problems, post it here.

thank ya very much brahh

well i have another problem.
i get the needle (which is the item i am using to unlock the door) and when i attempt to use it on a door it says "cannot be used this way".

if your willing to help:


void OnStart()
{
AddUseItemCallback("", "hollow_needle_1", "mansion_1", "FUNCTION", true);
}

blah blah blah
blah blah

onEnter blah

onLeave blah



void FUNCTION(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked(asEntity, false, true);
PlaySoundAtEntity("", "unlock_door", asEntity, 0, false);
RemoveItem(asItem);
}
12-23-2013, 04:00 AM
Find


Messages In This Thread
help script stuff sorta - by MrJackrabbit - 12-22-2013, 09:19 PM
RE: help script stuff sorta - by Kullin - 12-22-2013, 11:30 PM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 12:01 AM
RE: help script stuff sorta - by Kullin - 12-23-2013, 12:11 AM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 12:21 AM
RE: help script stuff sorta - by Kullin - 12-23-2013, 12:49 AM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 01:21 AM
RE: help script stuff sorta - by PutraenusAlivius - 12-23-2013, 01:28 AM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 01:31 AM
RE: help script stuff sorta - by Romulator - 12-23-2013, 01:57 AM
RE: help script stuff sorta - by PutraenusAlivius - 12-23-2013, 02:10 AM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 02:59 AM
RE: help script stuff sorta - by PutraenusAlivius - 12-23-2013, 03:37 AM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 04:00 AM
RE: help script stuff sorta - by PutraenusAlivius - 12-23-2013, 04:15 AM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 04:56 AM
RE: help script stuff sorta - by PutraenusAlivius - 12-23-2013, 05:56 AM



Users browsing this thread: 5 Guest(s)