![]() |
[SOLVED] Script won't recogize edited .ent - 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: [SOLVED] Script won't recogize edited .ent (/thread-29856.html) |
[SOLVED] Script won't recogize edited .ent - A.M Team - 04-26-2015 Heres the .hps file: PHP Code: void OnStart() The entity is an edited container item ("chem_chem"), used as a visual representation of filling the container. I want it to be visible when you place the item over a script area, but it's still visible. I tried using item activating and it still won't recognize the .ent. ![]() RE: Script won't recogize edited .ent - Mudbill - 04-26-2015 Can you explain a bit more? Are you saying it's INvisible? As in not there? RE: Script won't recogize edited .ent - FlawlessHappiness - 04-26-2015 (04-26-2015, 04:37 PM)TheDoctorPoo Wrote: I want it to be visible when you place the item over a script area, but it's still visible. So... what is the problem? RE: Script won't recogize edited .ent - A.M Team - 04-26-2015 I wan't this .ent file to be moved outside the map (invisible), notice the move entity position script. UNTIL I use an item on an area, then it will move back to its original position attached to a machine. BUT its not recognizing the entity's name, (chem_chem). Why? ![]() EDIT: It turned out that static objects can't move via script. I'm retarded... RE: Script won't recogize edited .ent - FlawlessHappiness - 04-26-2015 Show us a picture of the name of the entity in the map. The following is not correct. See next comment for clarification of what I meant. Spoiler below!
RE: [SOLVED] Script won't recogize edited .ent - Mudbill - 04-26-2015 Actually, Object > Static can be scripted, but not the default StaticProp type. RE: [SOLVED] Script won't recogize edited .ent - FlawlessHappiness - 04-26-2015 (04-26-2015, 08:11 PM)Mudbill Wrote: Actually, Object > Static can be scripted, but not the default StaticProp type. Oh right, fuck... Sorry. That's what I meant.. |