Vanderbildts Dummy NML questions
Moderator: Graphics Moderators
-
- Engineer
- Posts: 37
- Joined: 24 Feb 2016 16:40
Vanderbildts Dummy NML questions
Hello
how do I find these errors and solve them
It is NML 6
thanks
nmlc info: Concurrent Action10 labels: 1/240 ("6030.nml", line 55421) // Concurrent to what?
nmlc info: Concurrent spritesets: 24/255 ("6030.nml", line 83985)
nmlc info: Concurrent spritegroups: 74/256 ("6030.nml", line 33628)
nmlc info: Concurrent Action2 registers: 99/127 ("6030.nml", line 149350)
nmlc info: Concurrent ActionD registers: 51/64 ("6030.nml", line 34390)
how do I find these errors and solve them
It is NML 6
thanks
nmlc info: Concurrent Action10 labels: 1/240 ("6030.nml", line 55421) // Concurrent to what?
nmlc info: Concurrent spritesets: 24/255 ("6030.nml", line 83985)
nmlc info: Concurrent spritegroups: 74/256 ("6030.nml", line 33628)
nmlc info: Concurrent Action2 registers: 99/127 ("6030.nml", line 149350)
nmlc info: Concurrent ActionD registers: 51/64 ("6030.nml", line 34390)
Re: Vanderbildts Dummy NML questions
These are not errors, they're just some statistics about the GRF file you've just made.Vanderbildt wrote: 18 Oct 2024 17:33 Hello
how do I find these errors and solve them
It is NML 6
thanks
nmlc info: Concurrent Action10 labels: 1/240 ("6030.nml", line 55421) // Concurrent to what?
nmlc info: Concurrent spritesets: 24/255 ("6030.nml", line 83985)
nmlc info: Concurrent spritegroups: 74/256 ("6030.nml", line 33628)
nmlc info: Concurrent Action2 registers: 99/127 ("6030.nml", line 149350)
nmlc info: Concurrent ActionD registers: 51/64 ("6030.nml", line 34390)
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
-
- Engineer
- Posts: 37
- Joined: 24 Feb 2016 16:40
Re: Vanderbildts Dummy NML questions
Thank you very much for the answer. I thought these were indications of possible conflicts. But now I have another question:
Is it possible to return several times with one event and if so, how?
So:
If A then return B and return C...
Thanks for Help
Is it possible to return several times with one event and if so, how?
So:
If A then return B and return C...
Thanks for Help
Re: Vanderbildts Dummy NML questions
A typical switch looks like this:Vanderbildt wrote: 22 Oct 2024 13:48 Thank you very much for the answer. I thought these were indications of possible conflicts. But now I have another question:
Is it possible to return several times with one event and if so, how?
So:
If A then return B and return C...
Thanks for Help
Code: Select all
switch (FEAT_WAKAWAKA, SELF, switch_name, condition) {
1: return 3;
foo: return 4;
bar: return 5;
}
On top of that, passing arguments is also possible,
Code: Select all
switch (FEAT_WAKAWAKA, SELF, switch_name, argument1, argument2, condition) {
0: return 0;
1: return 114514;
}
call this switch using switch_name(arg1, arg2)
Code: Select all
some_variable + argument1 == argument2
Find me on GitHub or on Discord (wensimehrp, or WenSim)
Also find me via QQ: 1049170778, or email: wensimehrp@gmail.com
Green stuff here, may be helpful for content creators.
Also find me via QQ: 1049170778, or email: wensimehrp@gmail.com
Green stuff here, may be helpful for content creators.
Re: Vanderbildts Dummy NML questions
If you are asking if it's possible to return more than one value for the same condition, then no, not in general. Consider for example a callback that asks a vehicle what it's maximum speed right now is, and the vehicle returns "80 km/h and also 300 km/h" - so how fast can the vehicle go? Callbacks are when the game needs to ask a vehicle/other thing about something, and needs a single, unambiguous answer.
-
- Engineer
- Posts: 37
- Joined: 24 Feb 2016 16:40
Re: Vanderbildts Dummy NML questions
Thanks.
foo and bar I found it in C++ descriptions. But unfortunately NML 6 doesn't know them. But after your answer I came up with a solution.
It's purely cosmetic.
I'm just a noob, working with copy and paste trails and errors.
The task was to display 2 different basic parameters in one window.
Here's my solution: PS. The basic Code is from SPI 1.32c by 3Iff
foo and bar I found it in C++ descriptions. But unfortunately NML 6 doesn't know them. But after your answer I came up with a solution.
It's purely cosmetic.
I'm just a noob, working with copy and paste trails and errors.
The task was to display 2 different basic parameters in one window.
Here's my solution: PS. The basic Code is from SPI 1.32c by 3Iff
Who is online
Users browsing this forum: No registered users and 14 guests