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, Semi-moderatos, Moderators

Ariinui
Topic author, Duke
Duke
Ariinui
Topic author, Duke
Duke
Age: 28
Reputation: 21
Posts: 141
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
Viscount
Viscount
Avatar
Eri7 M
Viscount
Viscount
Age: 21
Reputation: 109
Posts: 389
Joined: 19 Dec 2016
Location: Germany, Bonn
Youtube channel URL Twitter

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

Image

Image

Ariinui
Topic author, Duke
Duke
Ariinui
Topic author, Duke
Duke
Age: 28
Reputation: 21
Posts: 141
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