[SCRIPT] Intro script help and monster nodes [SOLVED] - 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] Intro script help and monster nodes [SOLVED] (/thread-24175.html) |
RE: Intro script help and monster nodes - Romulator - 12-29-2013 I don't know if you have called the monster void anywhere in your code.. Unless I am missing something which you changed later (going off the code in post #12 here). Your parameters suggest that it is a collide callback, which means that you have to collide with something before it happens. You could simply move the lines within the monster void to the appropriate case, or set up a timer instead of a collidecallback. Also, not really required, but remember that the time idle at a pathnode should be a float (may need to fix that on the tutorial on the wiki). So you MAY need to add the appropriate f, like so: PHP Code: AddEnemyPatrolNode("engineer_1", "PathNodeArea_1", 0.0f, ""); Also note that 0 does not mean 0 time at the pathnode, however the 0.001 is the closest to practically no time. If there are more pathnode, be sure to add them to the coding in the similar ways as above, and make sure that the same number of pathnodes are in your Level RE: Intro script help and monster nodes - Damascus - 12-29-2013 (12-29-2013, 05:04 AM)lothabread Wrote: alrighty, a past problem has returned, the manpig will not walk on his own until he sees the player, but i want the player to watch the pig leave the room as they are waking up, dunno why he wont move Try changing all of the PathNode wait times to 0.001f. I don't know for sure if that will fix it, but I always have a bunch of strange problems when it's just set to 0. RE: Intro script help and monster nodes - lothabread - 12-29-2013 got it,so this was my fix. PHP Code: void Manpig01() and i had to call it in the case as it was in the justine hps files PHP Code: case 1: RE: Intro script help and monster nodes [SOLVED] - Romulator - 12-29-2013 There ya go Hope all your coding later on also works out! Good luck on your CS RE: Intro script help and monster nodes [SOLVED] - lothabread - 12-29-2013 mhmm and before i move on, how would it be that i have a demo end screen like the demo of the dark descent ? |