All Downloads are FREE. Search and download functionalities are using the official Maven repository.

APT.all-test.MOUTBot.elaborations.monitor-map.soar Maven / Gradle / Ivy

echo "\nLoading common/monitor"

# Set monitor to false to disable TCL map monitoring window
sp {elaborate*unreal*monitor
   (state  ^superstate nil)
-->
   ( ^monitor true)
}


###### Compute floor of object and add the floor displacement value as an elaboration
sp {map-monitor*self*floor-displacement
   (state  ^superstate nil
              ^monitor.init true
              ^parameters.floors 
              ^self 
              ^io.input-link.agent.position 

) ( ^height-low ^height-high ^displacement ) (

^z < >= ) --> ( ^floor-displacement ) } sp {map-monitor*item*floor-displacement (state ^superstate nil ^monitor.init true ^parameters.floors ^io.input-link.objects.<< decoration item entity >>.position

) ( ^height-low ^height-high ^displacement ) (

^z < >= ) --> (

^floor-displacement ) } sp {map-monitor*node*floor-displacement (state ^superstate nil ^monitor.init true ^parameters.floors ^map.area.node.position

) ( ^height-low ^height-high ^displacement ) (

^z < >= ) --> (

^floor-displacement ) } sp {map-monitor*area*floor-displacement (state ^superstate nil ^monitor.init true ^parameters.floors ^map.area ) ( ^height-low ^height-high ^displacement ) ( ^mid-z < >= ) --> ( ^floor-displacement ) } sp {map-monitor*move-to-xyz*floor-displacement (state ^superstate nil ^monitor.init true ^self.move-to-xyz.position ^parameters.floors ) ( ^height-low ^height-high ^displacement ) ( ^z < >= ) --> ( ^floor-displacement ) } ## Current Position ## All y are multiplied by -1 to make the map look right #################################################### ### ### Enemy