01-13-2014, 04:21 AM
Hi there i'm working on my current mod "Hopsital Of Horror"
and i can't remember how to make entites to interact , so for examepl
Player clicks on a lets say a body then he found something , im trying to remember but been a while sence i was creating this mod , and i would love to see if someone helped me with this one , please help me !
UPDATE:
got everything to work but it dosn't work with my keycard open door scripts?
it has same name with "Sec_blue_1" :O
here is the script
"
void doctorinteract(string &in asEntity)
{
SetMessage("Mes", "bodymessage", 15);
GiveItem("Sec_Blue_1", "Sec_Blue_1.ent", "Bluecard", "Sec_Blue.tga", 1);
}
"
and i can't remember how to make entites to interact , so for examepl
Player clicks on a lets say a body then he found something , im trying to remember but been a while sence i was creating this mod , and i would love to see if someone helped me with this one , please help me !
UPDATE:
got everything to work but it dosn't work with my keycard open door scripts?
it has same name with "Sec_blue_1" :O
here is the script
"
void doctorinteract(string &in asEntity)
{
SetMessage("Mes", "bodymessage", 15);
GiveItem("Sec_Blue_1", "Sec_Blue_1.ent", "Bluecard", "Sec_Blue.tga", 1);
}
"