Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment:
Migrated to Confluence 5.3
Excerpt |
---|
Enable a player to research a specific droid component... |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
enableComponent(component, player); |
Parameters
...
Parameter | Type | Mandatory | Notes | Game version |
---|---|---|---|---|
component | String | The component name to enable. | 3.1 Beta 1 | |
player | Number | The player who will be able to research this component. | 3.1 Beta 1 |
Return values
Value | Type | Notes | Game version |
---|---|---|---|
undefined | Undefined | Component was made available to research | 3.1 Beta 1 |
<error> | Error | Bad parameters or component/player specified does not exist. | 3.1 Beta 1 |
Example
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|