I have been trying to get this script to work to scan house sign boards to see if they are - slightly, somewhat, fairly, greatly, in danger of collapsing or demolition pending ... and just alert me but I cant get it to work ... I had it sort of working then it went mad and said every house was falling.
Please could anyone take a look and fix it for me please ... much appreciated.
if findtype 0xbd2 'any' 'ground'
clickobject 'found'
if injournal 'Fairly' 'system'
msg 'Found IDOC!' 26
pause 500
clearjournal
// Ignore this sign so it does not repeat until next login
ignoreobject 'found'
endif
Cant Get This To Work .. Help Please!
-
- Posts: 131
Cant Get This To Work .. Help Please!
Last edited by RareSeller on December 9th, 2016, 10:01 am, edited 1 time in total.
Re: Cant Get This To Work .. Help Please!
while @findtype 0xbd2 'any' 'ground'
waitforproperties 'found' 5000
if @property 'Condition: This Structure is Slightly Worn' 'found'
msg 'Found IDOC!' 26
elseif @property 'Condition: This Structure is Somewhat Worn' 'found'
msg 'Found IDOC!' 26
endif
ignoreobject 'found'
endwhile
waitforproperties 'found' 5000
if @property 'Condition: This Structure is Slightly Worn' 'found'
msg 'Found IDOC!' 26
elseif @property 'Condition: This Structure is Somewhat Worn' 'found'
msg 'Found IDOC!' 26
endif
ignoreobject 'found'
endwhile
The Silvertiger likes this.
Top
-
- Posts: 131
Re: Cant Get This To Work .. Help Please!
Works perfectly thanks so much for your help
The Silvertiger likes this.
Top