of     1   

kashlen152
#183486062Saturday, February 13, 2016 5:26 AM GMT

Hi! I am trying to make a game similar to Undertale or Earthbound... basically, an RPG with Turn-Based combat! But I just have two questions... 1. Would it be possible to do this using a GUI interface or would I have to spend more time to script animations for battles WITHOUT a GUI? I figure it would be possible to use a GUI-except for the fact I do not yet know how to combine AI (the enemies) and the GUI.... That's why I am having trouble choosing. 2. If I can use a GUI, how would I make the AI work in it? That is my only issue is the AI!
sayhisam1
#183486188Saturday, February 13, 2016 5:29 AM GMT

Store the data of each fight in _G or something server sided. Then use remotefunctions and remoteevents to render the events of the fight client sided, and to communicate the player's actions to the server. In order to connect AI, just have it wait until _G says it is its turn, and have it call a function that emulates an AI response to the current data in _G. Then, just render its actions on the player's side as well.
chimmihc
#183486207Saturday, February 13, 2016 5:29 AM GMT

1. Of course. 2. What does that have to do with using GUIs?

    of     1