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 13:22] – created mit | scripting:samples:buildingproxevents [2023/05/04 14:30] (current) – mit | ||
---|---|---|---|
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: 2023/05/04 13:22 by mit