npc().layer

Description: Have any suggestions or new ideas for SMBX-38A? This is a place for you. Good suggestions may appear in future versions of SMBX-38A.
Moderators: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

NESTED ERNEST M
Topic author, Count
Count
Avatar
NESTED ERNEST M
Topic author, Count
Count
Reputation: 66
Posts: 253
Joined: 23 Sep 2017
Location: Perú, Lima
Website

Post #1by NESTED ERNEST » 24 Sep 2019, 17:32

Add the .layer property(string / read-only at least) that reads the layer where the npc is.

So that the condition could be made that certain npc are in the same layer.

with npc(sysval(param1))
if .layer="New Layer" then
end if
end with

Image

AND ALSO TO BLOCKS. -----> block().layer (if it is efficient)

This can be used to make groups with the if.
Last edited by NESTED ERNEST on 29 Sep 2019, 7:26, edited 4 times in total.
Programming NPCs in SMBX-38A is fun:
That is me
Image
Image
Image
Image

I was just trying to help him and he describes me as annoying, and only in two or three posts that he made "I already oppose every suggestion from him",
Image

ROCKMAN GIF IN SMBX 38A

Image

Lx Xzit M
Moderator
Moderator
Avatar
Lx Xzit M
Moderator
Moderator
Reputation: 387
Posts: 750
Joined: 9 Nov 2015
Website

Post #2by Lx Xzit » 24 Sep 2019, 19:05

Their purpose is not quite similar but could be used in a way it is. Anyway, do you mind if I move your suggestion to a new topic? I think it deserves its own topic
VISIT MY YOUTUBE CHANNEL! LX XZIT
Join our 38A Discord server!

Image


Return to “Ideas & Suggestions”

Who is online (over the past 5 minutes)

Users browsing this forum: 4 guests