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
Hps...
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#1
Hps...

Hello why does only my hps work when i have 01.map atm i have Cellarbase.map and made a Cellarbase.hps and it dosnt work Sad whats the issue

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
(This post was last modified: 02-26-2012, 08:33 PM by jessehmusic.)
02-26-2012, 03:45 PM
Website Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#2
RE: Hps...

Evidently your Cellarbase.hps has an error in it.

02-26-2012, 04:39 PM
Find
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#3
RE: Hps...

(02-26-2012, 04:39 PM)Obliviator27 Wrote: Evidently your Cellarbase.hps has an error in it.

oid OnStart()

{
AddUseItemCallback("", "The Lost Key", "Lockeddoor_1", "KeyOnDoor", true);
}

void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Lockeddoor_1", false, true);
PlaySoundAtEntity("", "unlock_door", "Lockeddoor_1", 0, false);
RemoveItem("The Lost Key");
}

void OnEnter()

{

}

void OnLeave()

{

}

cant find any errors

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
02-26-2012, 04:43 PM
Website Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#4
RE: Hps...

void OnStart. Not oid OnStart

02-26-2012, 05:02 PM
Find
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#5
RE: Hps...

(02-26-2012, 04:43 PM)jessehmusic Wrote:
(02-26-2012, 04:39 PM)Obliviator27 Wrote: Evidently your Cellarbase.hps has an error in it.

oid OnStart()

{
AddUseItemCallback("", "The Lost Key", "Lockeddoor_1", "KeyOnDoor", true);
}

void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Lockeddoor_1", false, true);
PlaySoundAtEntity("", "unlock_door", "Lockeddoor_1", 0, false);
RemoveItem("The Lost Key");
}

void OnEnter()

{

}

void OnLeave()

{

}

cant find any errors
you have oid on start it should be void OnStart()
XD

02-26-2012, 05:02 PM
Find
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#6
RE: Hps...

(02-26-2012, 05:02 PM)Datguy5 Wrote:
(02-26-2012, 04:43 PM)jessehmusic Wrote:
(02-26-2012, 04:39 PM)Obliviator27 Wrote: Evidently your Cellarbase.hps has an error in it.

oid OnStart()

{
AddUseItemCallback("", "The Lost Key", "Lockeddoor_1", "KeyOnDoor", true);
}

void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Lockeddoor_1", false, true);
PlaySoundAtEntity("", "unlock_door", "Lockeddoor_1", 0, false);
RemoveItem("The Lost Key");
}

void OnEnter()

{

}

void OnLeave()

{

}

cant find any errors
you have oid on start it should be void OnStart()
XD
still dosnt work :/

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
02-26-2012, 05:33 PM
Website Find
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#7
RE: Hps...

(02-26-2012, 05:33 PM)jessehmusic Wrote:
(02-26-2012, 05:02 PM)Datguy5 Wrote:
(02-26-2012, 04:43 PM)jessehmusic Wrote:
(02-26-2012, 04:39 PM)Obliviator27 Wrote: Evidently your Cellarbase.hps has an error in it.

oid OnStart()

{
AddUseItemCallback("", "The Lost Key", "Lockeddoor_1", "KeyOnDoor", true);
}

void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Lockeddoor_1", false, true);
PlaySoundAtEntity("", "unlock_door", "Lockeddoor_1", 0, false);
RemoveItem("The Lost Key");
}

void OnEnter()

{

}

void OnLeave()

{

}

cant find any errors
you have oid on start it should be void OnStart()
XD
still dosnt work :/

oh : ( try replacing the void keyondoor with this void KeyOnDoor(string &in asItem, string &in asEntity);



02-26-2012, 05:35 PM
Find




Users browsing this thread: 2 Guest(s)