What script do i need?? - 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: What script do i need?? (/thread-25910.html) |
What script do i need?? - Amnesiaplayer - 08-20-2014 what script do i need to combine an Empty bucket with a acid container (with area into it.) ?! i'm really doing everything but nothing is working ??! my script look like this PHP Code: void OnStart() i really don't know what to do... and yes bucket name is Bucket and acid area is AcidArea RE: What script do i need?? - Slanderous - 08-20-2014 First you need a useitemcallback thats going to call your function: PHP Code: void OnStart() Go to your level editor, and make sure that your script area you are going to use bucket on has a useitem ticked on (if you dont know where it is, take a look at atachment i added to this post). Now, since we already have useitemcallback we need a function Place filled acid bucket in front of your barrel, and tick it off (set it non active, below the name of the bucket) and call the filled acid bucket "BucketAcid" PHP Code: void FunctionGetAcid(string &in asItem, string &in asEntity) The function baiscally sets the bucket acid we put later on, so you can pick it up. Use "BucketAcid" item later for your acid puzzle purposes (removing slime etc) I also added a func that removed the empty container, and a sound of filling bucket. RE: What script do i need?? - Amnesiaplayer - 08-20-2014 omgg thankss!!! i just didn't use the Functioname... thankyou really much!! finally!! but i have 1 question.. i want to make a parkoer... where steve(grunt) or that skull thing follows you... but to make a parkour you can go through everything but steve just stay behind... like you have to jump through barrels... (static) and steve can't jump.. and he is there an don't do anything... is there an flying enemy or a thing to fix this ?! i want to make a run thing and is there a place where you can download Grunt without sound ?! one time i found but i forgot where... RE: What script do i need?? - Slanderous - 08-20-2014 (08-20-2014, 03:11 PM)Amnesiaplayer Wrote: omgg thankss!!! Unfortunately, I have to smash up your dreams about parkour Grunt* (we don't like calling him "Steve" here), there is no way to do it unless you are pretty advanced at scripting and know some tricks around here. I added grunt without music as attachment, hoping that is what you wanted RE: What script do i need?? - Amnesiaplayer - 08-20-2014 thanks and okay i will call him grunt and if it doesn't work i will just do the run part... but what i hate is that steve is Slow.. and if you run long (with corners) he will lose you and if there are statues he will get stuck but thanks |