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

Document How to construct a table of actors #57

Open
XeroOl opened this issue Nov 27, 2021 · 5 comments
Open

Document How to construct a table of actors #57

XeroOl opened this issue Nov 27, 2021 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@XeroOl
Copy link
Owner

XeroOl commented Nov 27, 2021

A way to add to the end of a table instead of specifying a specific number?
For people who don't want to make actorpool tables using :GetChildren, but want to copy paste actors directly instead of them all needing a different number in their name.

I'm not sure whar the syntax should be, but the options are probably these:

  1. Name="in mytable"
  2. Name="mytable[next]"
  3. Name="mytable[#]"
  4. Name="mytable[#mytable + 1]"
  5. Other
  6. None, but a doc page pointing to calling :GetChildren on an actorframe containing your pool
@XeroOl XeroOl added this to the version 5 milestone Nov 27, 2021
@HeySora
Copy link
Contributor

HeySora commented Nov 30, 2021

fwiw php's syntax look like this

$array[] = 'my thing';

@XeroOl
Copy link
Owner Author

XeroOl commented Jan 29, 2022

I kind of like the PHP syntax in this case, but it makes things a little bit complicated to implement

@XeroOl
Copy link
Owner Author

XeroOl commented Feb 11, 2022

I think it might be possible to do like array[#array + 1], which I think would be the most natural? I'm not sure

@XeroOl
Copy link
Owner Author

XeroOl commented Feb 18, 2022

didn't happen in version 5

@XeroOl XeroOl removed this from the version 5 milestone Feb 18, 2022
@XeroOl XeroOl added the enhancement New feature or request label Mar 5, 2022
@ChocoboGamer
Copy link
Collaborator

We (me and Xero) have discussed and don't want to add this into the template, but issue will be left open until docs have been modified to mention :getchildren()

@ChocoboGamer ChocoboGamer added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Sep 25, 2022
@XeroOl XeroOl changed the title Name= but for appending to a table Document How to construct a table of actors May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants