![]() |
[SCRIPT] How to do flying body ? - 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] How to do flying body ? (/thread-13227.html) |
How to do flying body ? - EpicLisbe - 02-10-2012 Hi, i wanna do a body that flews to the player but i dont know the script command and i dont know how to check cordinates RE: How to do flying body ? - flamez3 - 02-10-2012 I am going to answer this question...No one answer with a negative response after that...k? void OnStart() { AddEntityCollideCallback("Player", "ScriptArea_1", "FlyingBody", true, 1); } void FlyingBody(string &in asParent, string &in asChild, int alState) { AddPropImpulse("nameofcorpse", afX, afY, afZ, "world"); } afX - direction along the X-axis afY - direction along the Y-axis afZ - direction along the Z-axis RE: How to do flying body ? - EpicLisbe - 02-10-2012 (02-10-2012, 06:45 PM)flamez3 Wrote: I am going to answer this question...No one answer with a negative response after that...k?Yes but where i can see the afx afy and afz RE: How to do flying body ? - flamez3 - 02-10-2012 (02-10-2012, 06:47 PM)EpicLisbe Wrote:On the corpse you are trying to throw. It will come up with X, Y and Z axis. Put around 10 in the specified axis you want the corpse to be thrown.(02-10-2012, 06:45 PM)flamez3 Wrote: I am going to answer this question...No one answer with a negative response after that...k?Yes but where i can see the afx afy and afz RE: How to do flying body ? - JenniferOrange - 02-11-2012 Try the wiki? http://wiki.frictionalgames.com/hpl2/tutorials/scripting/scaresbyjenniferorange#scare_2_-_flying_jesus RE: How to do flying body ? - Havi - 02-11-2012 I see people like my flying jesus... ![]() RE: How to do flying body ? - flamez3 - 02-11-2012 (02-11-2012, 10:46 AM)Havi Wrote: I see people like my flying jesus...? RE: How to do flying body ? - Havi - 02-11-2012 (02-11-2012, 10:52 AM)flamez3 Wrote:(02-11-2012, 10:46 AM)Havi Wrote: I see people like my flying jesus... Well, I guess I was first to ever include a flying corpse in a custom map... (this map wasn't very well made btw.) After that the expression "flying jesus" occurred. ![]() |