![]() |
The trick with the sound - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: The trick with the sound (/thread-4457.html) Pages:
1
2
|
RE: The trick with the sound - Armored Cow - 09-19-2010 I'm curious. When you make a function, how do you know what to put into the parentheses? Such as Code: TimerCreakDoor(string &in asTimer) Code: UseKey(string &in asItem, string &in asEntity) Or the one you posted. I don't understand how you can determine what goes in there. RE: The trick with the sound - Pandemoneus - 09-19-2010 I am using the Script Functions in the Wiki for reference. To give an example: Code: //Function syntax: Func(string &in asTimer) The first line tells me that I have to use (string &in asTimer) as parameters for a function I call with a timer. MyFunction(string &in asTimer) |