How to (de)activate a Neighborhood per Scenario: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
|From the [[Ribbon]] of the editor, select Multi-Scenario > Scenarios | |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 | |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. | |Select the event that has been added in the list above. | ||
|In the [[Bottom Panel]], select the LogicEventType '''NEIGHBORHOOD_SET_ATTRIBUTE'''. | |In the [[Bottom Panel]], select the LogicEventType '''NEIGHBORHOOD_SET_ATTRIBUTE'''. | ||
| Line 17: | Line 17: | ||
*[[Scenario]] | *[[Scenario]] | ||
|api=*[[Api session event editor scenario set event]] | |api=*[[Api session event editor scenario set event]] | ||
*[[Api session event logic neighborhood set attribute]] | |||
}} | }} | ||
[[Category:How-to's]][[Category:Neighborhood]][[Category:Scenario]] | [[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.