scripting:samples:buildingproxevents
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| scripting:samples:buildingproxevents [2023/05/04 18:22] – created mit | scripting:samples:buildingproxevents [2025/05/28 18:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| < | < | ||
| $kBuildingIDForProxEvents = 5 | $kBuildingIDForProxEvents = 5 | ||
| - | $kProxDistanceMeters = 20 | + | $kProxDistanceMeters = 40 |
| - | $kBuildingHiddenTime = 60 | + | $kBuildingHiddenTime = 30 |
| // When player logs in activate a building proximity event for them | // When player logs in activate a building proximity event for them | ||
| Line 15: | Line 15: | ||
| - | // This event will be triggered when the player gets within | + | // This event will be triggered when the player gets within |
| + | // The ' | ||
| Event( " | Event( " | ||
| { | { | ||
| | | ||
| | | ||
| - | | + | *explodebuilding $kBuildingIDForProxEvents |
| + | *buildingspecialevent $kBuildingIDForProxEvents | ||
| } | } | ||
| </ | </ | ||
scripting/samples/buildingproxevents.1683224553.txt.gz · Last modified: (external edit)
