Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment:
Migrated to Confluence 5.3
Excerpt |
---|
Provides WZ 3.2 compatible componentAvailable() function... |
Component type constants
The script defines component type constants (COMP_*
) on all versions of Warzone.
Notes:
- See "Notes" section of componentAvailable() for a list of constants
componentAvailable()
Use this function exactly as you would on Warzone 3.2: componentAvailable()
Notes:
- The component type parameter is optional
- If no component type is specified, go.guessComponentType() is used to guess it on WZ 3.1
- The script defines all component type constants (see "Notes" section of componentAvailable() for a list)
- Native function used on WZ 3.2
Tips:
- Specify the component type parameter for full reliability
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|
Div | ||
---|---|---|
| ||
ReliabilityWarzone 3.1: The reliability of componentAvailable() depends on the accuracy of the go.guessComponentType() function. Warzone 3.2: The native function remains unchanged so full reliability is assured. |
Div | ||
---|---|---|
| ||
PerformanceThis script does not adversely affect performance. If a custom go.guessComponentType() function is used that does not implement any form of caching, performance may be affected. |