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 14:17] mitscripting:samples:buildingproxevents [2023/05/04 14:30] (current) mit
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: 2023/05/04 14:17 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki