
06-22-2006, 02:46 PM
|
|
Graal Administration
|
Join Date: Jan 2000
Location: Admins
Posts: 11,693
|
|
|
The params[] array is only set when a script function is called from outside, or when an event is invoked on a gani script (and you are using if (playerenters) etc. instead of onPlayerEnters). There is also only one params[] for the whole script engine, so it gets overwritten. It would be too slow to copy the function parameters to a separate array on each function call, also there are many scripts relying on the fact that you can access the original params[] array in subfunctions. |
|
|
|