ID:171252
 
    Point
icon = 'floor.dmi'
icon_state = "Point"
density = 0
Enter() // 104
Level1 - 1 // 105

Walls.dm:105:- :warning: statement has no effect
Walls.dm:104:error::empty type name (indentation error?)
Point is indented too much
In response to Artekia
whats the mean? the point is an object
In response to Strawgate
If you use tabs you have to get rid of two tabs before Point.
The no effect error is because you're not actually subtrating anything. -= is to subtract.
In response to Artekia
obj
Blocker
icon = 'Floor.dmi'
icon_state = "Go through"
density = 0
layer = MOB_LAYER+999
Point
icon = 'floor.dmi'
icon_state = "Point"
density = 0
Level1 + 1
No its not
In response to Strawgate
any idea why it dont work?
var/global/Level1


Point
icon = 'floor.dmi'
icon_state = "Point"
density = 0
Level1 += 1


Walls.dm:105:error:Level1:duplicate definition
Walls.dm:105:error:1:duplicate definition
Walls.dm:105:error:-= :instruction not allowed here
In response to Strawgate
I think it needs to be some kind of verb, if your trying to click "Point" use Click()
In response to N1ghtW1ng
no i want two things... i want it so it adds 1 to the global var. and when someone enter's it it minuses 1 off the global var