User Tools

Site Tools


scripting:samples:buildingproxevents

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:samples:buildingproxevents [2023/05/04 19:17] mitscripting:samples:buildingproxevents [2025/05/28 18:58] (current) – external edit 127.0.0.1
Line 3: Line 3:
 <code> <code>
 $kBuildingIDForProxEvents = 5 $kBuildingIDForProxEvents = 5
-$kProxDistanceMeters = 20+$kProxDistanceMeters = 40
 $kBuildingHiddenTime = 30 $kBuildingHiddenTime = 30
  
Line 15: Line 15:
  
  
-// This event will be triggered when the player gets within 20m of Building Number 5+// This event will be triggered when the player gets within 40m of Building Number 5
 // The 'buildingspecialevent' command with mode 9 will hide the building for 30 seconds // The 'buildingspecialevent' command with mode 9 will hide the building for 30 seconds
 Event( "BuildingIDProxEnter", "$kBuildingIDForProxEvents" ) Event( "BuildingIDProxEnter", "$kBuildingIDForProxEvents" )
scripting/samples/buildingproxevents.1683227879.txt.gz · Last modified: (external edit)