B
BeastyBoy
Guest
Here's the code, and for some reason, the object "obj item" won't get the variable "item_id". I am running windows YYC but the same error occurs in the normal windows export.
xx=argument0
yy=argument1
block_id=argument2
item=instance_create(xx,yy,obj_item)
if block_id="forest dirt" {
item.item_id=0
}
else if block_id="stone" {
item.item_id=1
} else {
item.item_id=1
}
never mind, found the problem
xx=argument0
yy=argument1
block_id=argument2
item=instance_create(xx,yy,obj_item)
if block_id="forest dirt" {
item.item_id=0
}
else if block_id="stone" {
item.item_id=1
} else {
item.item_id=1
}
never mind, found the problem
Last edited by a moderator: