The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
How can i copy npc array from another NPC?
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
anacondaq
I have few questions.
1.) Is that possible to do next thing? (or any another altenative)
NPC_A
NPC_B
2.) Is that possible to copy array from destination array in NPC to source array? Example:
NPC_A
NPC_B
NPC_C (here i want to get NPC based arrays to 3rd NPC from above)
3.) About variables names and their "visible zone" in NPC
Tell me please, if i have two NPC, for example
NPC_A
NPC_B
Does both variable names will work with UNIQUE (NPC BOUNDED variable) or it will be only one variable for both?
I mean, Does NPC variables (it's hard to explain with my english) https://en.wikipedia.org/wiki/Scope_(programming)?
4.)
I like to read script code from different scriptes here (AnieRuru, Euphy) (i'm somethings learning some new tricks in their scripts)
Is there any good examples of advansed scripting examples?
(i do not talk about wiki exaples like dyn menu, or if/else statement (var)?:this:else, i'm talking about more examples of that tricks);
For example mini questions about some command
There is no error
In documentation is
I saw that command in few scripts, does that mean it's totally remove array? Or what that is do?
Thank you.
Edited by AnacondaqqLink to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.