Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organize support for new features under TPC's raw command #3034

Open
jetrotal opened this issue Jun 13, 2023 · 3 comments
Open

Organize support for new features under TPC's raw command #3034

jetrotal opened this issue Jun 13, 2023 · 3 comments

Comments

@jetrotal
Copy link
Contributor

jetrotal commented Jun 13, 2023

We discussed recently about running new features through TPC raw command:
image

would be cool to know how to organize exclusive command IDs to finally implement new features to the Player
e.g.: @raw 11111, "string", 0, 1, 2, 3, 4, 5

@jetrotal
Copy link
Contributor Author

jetrotal commented Jun 13, 2023

Posting this here, to not lose track on it:

Currently there is space for 999 event commands in the range of 2000-2999.

There could be some basic grouping at least:

  • Map related: 2000-2099
  • Battle related: 2100 - 2199
  • Language related: 2200-2299

#2338

@jetrotal
Copy link
Contributor Author

image
On rm2k, all multiline command IDs sarts with 2, instead of 1. is this relevant to us?

@Ghabry
Copy link
Member

Ghabry commented Jun 14, 2023

No, this is just the structure in the event commands of 2k but has no implications for us

jetrotal referenced this issue in EasyRPG-NewFeatures/Player Jun 18, 2023
PathFinder(UseVarID, ID, UseVarX, x, UseVarY, y), command ID 20001

UseVarID = 1= >Use variables[ID] instead of ID
ID = EventID, 0 for player
UseVarX = 1 => Use variables[x] instead of x
x = destination X
UseVarY = 1 => Use variables[y] instead of y
y = destination Y

ActivateEvent(UseVarX, x, UseVarY, y), command ID 20002

UseVarX = 1 => Use variables[x] instead of x
x = destination X
UseVarY = 1 => Use variables[y] instead of y
y = destination Y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants