Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

While it is possible to add the new logic to the existing line 1011, unless you understand the code syntax it's better to simply make new lines.

so this one pretty much becomes the new line 1011 then right? 

Sorry, I've never done this before

The start of the function should look similar to this:

func addrelations(person, person2, value):
    if person == null || person2 == null:
        return
    if person == player || person2 == player || person == person2:
        return