Сode - 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: Сode (/thread-20464.html) Pages:
1
2
|
RE: Сode - darksky - 02-23-2013 if you only call GetButtonPressed with "PressButton_1" ,"PressButton_2",... wouldn't it be better to make the function like this? Code: string GetButtonPressed(string entity) RE: Сode - NaxEla - 02-24-2013 (02-23-2013, 11:04 PM)darksky Wrote: if you only call GetButtonPressed with "PressButton_1" ,"PressButton_2",... wouldn't it be better to make the function like this? Yes, that would be better :p Good thinkin' RE: Сode - tonitoni1998 - 02-24-2013 Took me like 30 min until i understood that code. Finally got it i guess gonna try doing it myself tomorrow RE: Сode - nightsxp - 02-24-2013 (02-23-2013, 06:12 PM)NaxEla Wrote: I made a code for this a while ago... let me see if I still have it. ._. diiificult =.= but thankss |