![]() |
Script didn't work... - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Script didn't work... (/thread-8955.html) |
Script didn't work... - H. Filipe - 07-04-2011 Hy i am new in this forum and in Scripting too. I Have a problem with my scripts, i want a lamp to turn on when collide with a area called lampson. I think the script is right. Code: void Lamps(string &in asItem, string &in asEntity) Where is the problem? ![]() RE: Script didn't work... - Kyle - 07-04-2011 It is best to have everything in the void OnStart() that you did not include... Try this: Code: void OnStart() By the way, welcome to the forums! RE: Script didn't work... - Janni1234 - 07-04-2011 Yeah.Kyles script is right ![]() RE: Script didn't work... - H. Filipe - 07-04-2011 Thanks it works. ![]() |