[Idea] Parameter : NCreateGenerator

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: Lx Xzit, Yoshi021, 5438A38A, Semi-moderatos, Moderators

Victor ManuelMR M
Topic author, Marquis
Marquis
Avatar
Victor ManuelMR M
Topic author, Marquis
Marquis
Age: 19
Reputation: 99
Posts: 194
Joined: 7 Feb 2018

Post #1by Victor ManuelMR » 16 Jun 2020, 6:58

Idea of a function that can be very useful.
Function that generates an NPC (but with more parameters)
The names can be:
Spoiler
NCreateAdv
NCreateAdvance
NCreateGen
NCreateGenerator
NCreateSet

Suggested names are welcome.
I hope no one sets me on fire because of this idea...

Code: Select all

Call NCreateGenerator(ID, X, Y, Xsp, Ysp, Angle, Index, Delay, Range, Branches, Advance)

Parameters :
    ID - The NPC-ID that should be spawned.
    X - The X-coordinate of the spawned NPC.
    Y - The Y-coordinate of the spawned NPC.
    Xsp - The X-Speed of the spawned NPC.
    Ysp - The Y-Speed of the spawned NPC.
    Angle - The launch angle of the generator. (-1 : Automatic Aiming)
    Index - The effect type of the generator. (1 : Warp | 2 : Projectile | 3 : No Effect | 4 : Custom)
    Delay - The time interval between each generation (In frame?)
    Range - The launch range of the generator (if the Index is already 4, otherwise nothing will happen).
    Branches - The count of branches of the generator(if the Index is already 4, otherwise nothing will happen).
    Advance - The "advset" field of the spawned NPC.
Last edited by Victor ManuelMR on 17 Jun 2020, 0:32, edited 5 times in total.
Image
[1.4.5] - Dream Team at The Challenging Portals:
Image

Yoshi021 M
Moderator
Moderator
Avatar
Yoshi021 M
Moderator
Moderator
Age: 20
Reputation: 163
Posts: 692
Joined: 15 Feb 2016
Location: Yoshi's Island

Post #2by Yoshi021 » 16 Jun 2020, 15:36

I think NCreateGenerator is the better name.
Links
ImageImageImage
Image
Image
"Going to University is FUN!" :pardon:

NESTED ERNEST M
Count
Count
Avatar
NESTED ERNEST M
Count
Count
Reputation: 71
Posts: 261
Joined: 23 Sep 2017
Location: Perú, Lima
Website

Post #3by NESTED ERNEST » 16 Jun 2020, 20:45

I think that this is what the NcreateGroup function would actually do, (if I'm not mistaken) although from your suggestion I think that the delay parameter doesn't go there, but this is the call of the script itself.

Ncreategroup is not complete, I think.
Programming NPCs in SMBX-38A is fun:
That is me
Image
Image
Image
Image

ROCKMAN GIF IN SMBX 38A

Image

Victor ManuelMR M
Topic author, Marquis
Marquis
Avatar
Victor ManuelMR M
Topic author, Marquis
Marquis
Age: 19
Reputation: 99
Posts: 194
Joined: 7 Feb 2018

Post #4by Victor ManuelMR » 17 Jun 2020, 0:30

Spoiler
NESTED ERNEST wrote:I think that this is what the NcreateGroup function would actually do, (if I'm not mistaken) although from your suggestion I think that the delay parameter doesn't go there, but this is the call of the script itself.

Ncreategroup is not complete, I think.

NESTED ERNEST wrote:I think that this is what the NcreateGroup function would actually do, (if I'm not mistaken) although from your suggestion I think that the delay parameter doesn't go there, but this is the call of the script itself.

Ncreategroup is not complete, I think.

Well, I think it would be impossible NCreateGroup is incomplete, if it were, it would not be available in the editor. (in theory)
Although there are exceptions...
Image
[1.4.5] - Dream Team at The Challenging Portals:
Image


Return to “Ideas & Suggestions”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest