Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Coordonnées de la case vers laquelle un event est tourné #475

Open
mamie-nani opened this issue May 30, 2020 · 0 comments
Open

Coordonnées de la case vers laquelle un event est tourné #475

mamie-nani opened this issue May 30, 2020 · 0 comments

Comments

@mamie-nani
Copy link

mamie-nani commented May 30, 2020

Proposition d'une nouvelle commande

Définition de la commande

Objectif de la commande

Renvoyer les coordonnées de la case que l'event regarde, directement devant lui.

Syntaxe de la commande

player_facing_x, player_facing_y, event_facing_x(id), event_facing_y(id)
player_x renvoie par exemple :
player_x - 1 si player_direction == 4
player_x + 1 si player_direction == 6
sinon player_x

En bord de map, renvoie -1 ou false

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant