How to (de)activate a Neighborhood per Scenario: Difference between revisions
Jump to navigation
Jump to search
m Frank@tygron.nl moved page How to (de)activate a Neighborhood to How to (de)activate a Neighborhood per Scenario |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Editor location| | {{Editor location|scenario}} | ||
{{Editor steps|title=(de)activate [[Neighborhoods]] per scenario|Load or create a project with existing Neighborhoods in the editor|From the [[Ribbon]] of the editor, select Multi-Scenario > Scenarios|On the [[Left Panel]] of the Editor, select (expand) the scenario where neighborhoods need to be (de)activated| | {{Editor steps | ||
|title=(de)activate [[Neighborhoods]] per scenario | |||
|Load or create a project with existing Neighborhoods in the editor | |||
|From the [[Ribbon]] of the editor, select Multi-Scenario > Scenarios | |||
|On the [[Left Panel]] of the Editor, select (expand) the [[scenario]] where neighborhoods need to be (de)activated | |||
|At the bottom of the expanded options for the selected level, select 'Events'. | |||
|Click ''Add'' in the [[Right Panel]] to create a new server event. | |||
|Select the event that has been added in the list above. | |||
|In the [[Bottom Panel]], select the LogicEventType '''NEIGHBORHOOD_SET_ATTRIBUTE'''. | |||
|For the selected event, select the neighborhood that you want to (de)activate. | |||
|Fill in the attribute '''ACTIVE''' for the ''Valid attribute name''. | |||
| Use the ''Attribute value'' 0 to deactivate and 1 to activate the neighborhood.}} | |||
[[Category:How-to]][[Category:Neighborhood]] | {{article end | ||
|seealso=*[[Neighborhood]] | |||
*[[Scenario]] | |||
|api=*[[Api session event editor scenario set event]] | |||
*[[Api session event logic neighborhood set attribute]] | |||
}} | |||
[[Category:How-to's]][[Category:Neighborhood]][[Category:Scenario]] | |||
Latest revision as of 13:37, 10 July 2026
How to (de)activate Neighborhoods per scenario:
- Load or create a project with existing Neighborhoods in the editor
- From the Ribbon of the editor, select Multi-Scenario > Scenarios
- On the Left Panel of the Editor, select (expand) the scenario where neighborhoods need to be (de)activated
- At the bottom of the expanded options for the selected level, select 'Events'.
- Click Add in the Right Panel to create a new server event.
- Select the event that has been added in the list above.
- In the Bottom Panel, select the LogicEventType NEIGHBORHOOD_SET_ATTRIBUTE.
- For the selected event, select the neighborhood that you want to (de)activate.
- Fill in the attribute ACTIVE for the Valid attribute name.
- Use the Attribute value 0 to deactivate and 1 to activate the neighborhood.