S
Swegm
Guest
Hi there people !
Im creating an rts style game, and want the tree that collides with woodworker to lose value with 0.1
it kinda works the problem is that all trees on the map loses value. Dunno how to handle this by my own i think .. thanks in advance
Andreas
STEP EVENT in obj_Woodcutter
Im creating an rts style game, and want the tree that collides with woodworker to lose value with 0.1
it kinda works the problem is that all trees on the map loses value. Dunno how to handle this by my own i think .. thanks in advance
Andreas
STEP EVENT in obj_Woodcutter
Code:
if place_meeting(x,y,obj_tree) && state = 'collect'
{
with (obj_tree)
tree -= 0.1
}