![]() |
Ganiscript parameters?
Hi,
how can i read the params passed to a gani with the script inside the gani? i tried PARAM1, params array, attr array :/ or how can i pass params to a showani gani script? |
There are two ways:
- if you use GS1-style (if (playerenters)...) then you can access the parameters at any time by params[] - if you use GS2 then you get the parameters on the first call to onPlayerEnters(), but you need to check if the parameters actually exist because onPlayerEnters() is also called when you enter other levels: PHP Code:
|
| All times are GMT +2. The time now is 10:04 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.