
11-07-2004, 08:23 PM
|
|
Banned
|
Join Date: May 2004
Location: Burning Blade
Posts: 941
|
|
Quote:
|
Originally Posted by Stefan
NPC Code:
the most confusing thing i've ever seen
Here an example of writing into a file (savelines), the new for-each operator, calling functions with parameters (addControlCreationScript), and calling public functions of other scripts/objects (ScriptEditor.openScriptWindow).
You can do similar things with addstring script,... instead of script.add, passing parameters by setting this. variables, and doing callnpc, but with the new script it's more simple (e.g. the functions of other objects can return values).
|
That's supposed to be simple? |
|
|
|