how the facing's woring?

Description: Internal scripting system of SMBX-38A Engine based on the simple VB-like language
Moderators: Lx Xzit, Yoshi021, 5438A38A, Moderators, Semi-moderatos

Ariinui
Topic author, Duke
Duke
Ariinui
Topic author, Duke
Duke
Age: 23
Reputation: 19
Posts: 137
Joined: 5 Mar 2017

Post #1by Ariinui » 1 Nov 2017, 19:26

my question's simple: how does work the NPC(id).facing function's working?
i know that id if the npc id, my question is more about the boolean: i know of boolean's working, but which side's the true and which one's the false?

PvP_FINGER M
Citizen
Citizen
PvP_FINGER M
Citizen
Citizen
Reputation: 1
Posts: 5
Joined: 6 Jun 2018
Location: Larisi

Post #2by PvP_FINGER » 6 Jun 2018, 14:38

1(true) - left
0(false) - right

Eri7 M
Count
Count
Avatar
Eri7 M
Count
Count
Age: 17
Reputation: 73
Posts: 259
Joined: 19 Dec 2016
Location: Germany , Bonn

Post #3by Eri7 » 8 Jun 2018, 16:48

PvP_FINGER wrote:1(true) - left
0(false) - right
Its the opposite , .facing = 0 means left and .facing = 1 means right
Join the discord server about Nova Projects.
Image

I support:
Image

Ariinui
Topic author, Duke
Duke
Ariinui
Topic author, Duke
Duke
Age: 23
Reputation: 19
Posts: 137
Joined: 5 Mar 2017

Post #4by Ariinui » 8 Jun 2018, 20:14

thanks but i've learned it already :P but i'm sure that it'll be usefull for other persons


Return to “TeaScript”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest