Monster multiple node path problem. - 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: Monster multiple node path problem. (/thread-8893.html) |
Monster multiple node path problem. - AlexRobillard - 06-30-2011 I want to make a single monster walk on the path I choose, which involves going around corners then stopping, then going back. How would I do this? This is the code that I am using (Monster2): Code: void OnStart() RE: Monster multiple node path problem. - xtron - 06-30-2011 Code: SetEntityActive("Monster2" , true); When it's a float you need to add a decimal ex: 3 should be 3.0 and since it's a float you need to add f afterwards, like this: 3.0f RE: Monster multiple node path problem. - Kyle - 06-30-2011 Actually, when it's a float, it can be a float or int. The computer calculates it as 3.0 either way. If you put in 3, you will get: int: 3 float 3.0 |