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
PLEEAASEE HELP?
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#12
RE: PLEEAASEE HELP?

(05-06-2012, 12:39 PM)AirmanerX Wrote:
Spoiler below!

(05-06-2012, 12:38 PM)Xanthos Wrote:
(05-06-2012, 12:33 PM)AirmanerX Wrote:
(05-06-2012, 12:29 PM)Xanthos Wrote:
(05-06-2012, 12:23 PM)AirmanerX Wrote: Ok, thanks. Another thing (sorry about all the questions)

What do I add to the hps file if i want to make more doors + keys. where do i add it?
You would add another Function in the OnStart.



Like So
void OnStart
{
AddEntityCollideCallback("Player", "Blah", "Blah", false, 1);

AddUseItemCallback("", "Key", "Blah", "Blah", true);

AddUseItemCallback("", "Key", "Blah", "Blah", true);

}

Then you add another on of the script functions thingys. Directly under the OnStart Section



void blah(string &in asParent, string &in asChild, int alState)
{
SetLampLit("candlestick_floor_18", true, false);
}


void blah(string &in asItem, string &in asEntity)
{
SetLevelDoorLocked("Blah", false);
PlaySoundAtEntity("", "unlock_door", "Player", 0, false);
RemoveItem("Key");

}


void blah(string &in asItem, string &in asEntity)
{

SetSwingDoorLocked("blah", false, true);
PlaySoundAtEntity("", "unlock_door", "Player", 0, false);
RemoveItem("blah");
}

(05-06-2012, 12:23 PM)AirmanerX Wrote: Also, when I put a doorframe02 its invisible. Is there a way to solve it?
Check the "Active" box under the name of it
Sorry, not Door Frame. Door Way.
Check if you have any map_cache files hiding around in your custom story folder.
If so delete and try again with the test.

I dont
Is it like a transparent look to it?
Then the box must not be checked for active, fix by selecting the door way and checking the box "Active"

05-06-2012, 12:42 PM
Find


Messages In This Thread
PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 11:45 AM
RE: PLEEAASEE HELP? - by Xanthos - 05-06-2012, 11:51 AM
RE: PLEEAASEE HELP? - by Rownbear - 05-06-2012, 11:57 AM
RE: PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 12:19 PM
RE: PLEEAASEE HELP? - by Xanthos - 05-06-2012, 12:20 PM
RE: PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 12:23 PM
RE: PLEEAASEE HELP? - by Xanthos - 05-06-2012, 12:29 PM
RE: PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 12:33 PM
RE: PLEEAASEE HELP? - by Xanthos - 05-06-2012, 12:38 PM
RE: PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 12:39 PM
RE: PLEEAASEE HELP? - by Xanthos - 05-06-2012, 12:42 PM
RE: PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 12:45 PM
RE: PLEEAASEE HELP? - by Rownbear - 05-06-2012, 12:26 PM
RE: PLEEAASEE HELP? - by Xanthos - 05-06-2012, 12:47 PM
RE: PLEEAASEE HELP? - by Rownbear - 05-06-2012, 12:53 PM
RE: PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 07:17 PM



Users browsing this thread: 1 Guest(s)