In the interaction editor, select the option "interact with object", there you can do two things:
1.Choose the option run script
2. Choose a series of option:
Ã, Walk to the x,y coordinates of the object,.... Ã, etc
i prefer the first one, then double click over this option and choose "edit" then:
code:
Code: ags
1.Choose the option run script
2. Choose a series of option:
Ã, Walk to the x,y coordinates of the object,.... Ã, etc
i prefer the first one, then double click over this option and choose "edit" then:
code:
cego.Walk(100, 20); //coordinates where theÃ, object is placed
obone.Visible = false; //obone is the name of the object
cego.Addinventory(ibone); //have to put the name of the inventory item