02-26-2012, 03:45 PM
02-26-2012, 04:39 PM
Evidently your Cellarbase.hps has an error in it.
02-26-2012, 04:43 PM
(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
02-26-2012, 05:02 PM
void OnStart. Not oid OnStart
02-26-2012, 05:02 PM
(02-26-2012, 04:43 PM)jessehmusic Wrote: [ -> ]you have oid on start it should be void OnStart()(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
XD
02-26-2012, 05:33 PM
(02-26-2012, 05:02 PM)Datguy5 Wrote: [ -> ]still dosnt work :/(02-26-2012, 04:43 PM)jessehmusic Wrote: [ -> ]you have oid on start it should be void OnStart()(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
XD
02-26-2012, 05:35 PM
(02-26-2012, 05:33 PM)jessehmusic Wrote: [ -> ](02-26-2012, 05:02 PM)Datguy5 Wrote: [ -> ]still dosnt work :/(02-26-2012, 04:43 PM)jessehmusic Wrote: [ -> ]you have oid on start it should be void OnStart()(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
XD
oh : ( try replacing the void keyondoor with this void KeyOnDoor(string &in asItem, string &in asEntity);
whats the issue