Theforgot3n1
Member
Posts: 192
Threads: 20
Joined: Apr 2012
Reputation:
6
|
RE: Newbie problems that are driving me crazy!
I like the screenie! Looks good so far. Interesting little stand for the books. Looks slightly weird though.
Anyway.
Since I'm a lazy boy, I'll only answer some.
1.
void Locked(string &in asEntity)
{ if(GetLocalVarInt("MessageSet") != 1)
{
SetMessage("Messages", "Hint1", 4.0f);
SetLocalVarInt("MessageSet", 1);
}
}
You need to write "Locked" at the "Entity" tab (right to the general tab, with the name and all that) on the door you're interacting with, so that this script is played when the door is interacted with.
2.
If, say, you want a grunt to appear, you only need to write in the desired properties.
void AnyCallback(>words here depend on the event: is it a collide, look at, interact, etc?<)
{
SetEntityActive("Grunt",true); // This will activate a grunt with the simple name of "Grunt".
}
3.
Isn't it possible to just mimic an original amnesia snt.? Your name on the code you posted seems fucked up, if that could be the cause? (<font 9pt:normal/auto;;rgb(255, 0, 0);;inherit>laugh3.ogg</font> ???)
4.
Hm, not sure... are you sure the sound abruptly stops, when you move outta the circle?
5.
StartPlayerLookAt(string& asEntityName, float afSpeedMul, float afMaxSpeed, string& asAtTargetCallback);
Fill in yo numbers.
Though I don't get the part "X variables".
|
|
09-20-2012, 05:26 PM |
|