![]() |
Help with Grunt - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Help with Grunt (/thread-6713.html) Pages:
1
2
|
Help with Grunt - xToxic - 02-25-2011 Hey, I need some help with my grunt on my map. So far I have managed to make it activate when I move inside an area box, and then it will move onto the path nodes. But my problem now is that i want the grunt to de-activate when it moves to the last path node. Help me please ![]() RE: Help with Grunt - nkmol - 02-25-2011 (02-25-2011, 05:56 PM)xToxic Wrote: Hey, I need some help with my grunt on my map.you want to fase into smoke? or just de-active? if you want to de-active the monster. just place a script at the last pathnode. Make Callback of the script area and place the opposite of the active script. So Code: SetEntityActive("servant_grunt_1", false); ![]() RE: Help with Grunt - xToxic - 02-25-2011 (02-25-2011, 06:04 PM)nkmol Wrote:[/quote](02-25-2011, 05:56 PM)xToxic Wrote: Hey, I need some help with my grunt on my map.you want to fase into smoke? or just de-active? I was thinking about just de-activate, but if they turn into smoke that would be much cooler ![]() ![]() It doesn't work! RE: Help with Grunt - nkmol - 02-25-2011 Code: void OnEnter() That should work, i don't know how the smoke effect really works. But i know it's possible ![]() RE: Help with Grunt - xToxic - 02-25-2011 thanks xD I suck at scripting ![]() RE: Help with Grunt - Som1Lse - 02-25-2011 (02-25-2011, 06:39 PM)nkmol Wrote: i don't know how the smoke effect really works.That would be FadeEnemyToSmoke(string& asName, bool abPlaySound); Code: void OnEnter() RE: Help with Grunt - xToxic - 02-25-2011 None of this works, All of this gives me errors! x.x RE: Help with Grunt - nkmol - 02-25-2011 (02-25-2011, 07:11 PM)xToxic Wrote: None of this works, All of this gives me errors! x.x please give let us see the error ![]() RE: Help with Grunt - xToxic - 02-25-2011 FATAL ERROR: Could not load script file 'custom_stories/TEST/custom_stories/maps/part2.hps'! main (164, 1) : ERR : Expected ',' or ';' main (171, 1) : ERR : Unexpected token '{' RE: Help with Grunt - Ongka - 02-25-2011 Send me the script and I'll fix that. |