Can i make the player have always the same answer to stuff that i dont want the player to talk to?
heres an example:
talking to other character: player"Hey", other character "hello"
talking to a table: "i cant talk to that!"
talking to a picture: "i cant talk to that!"
talking to a wall: "i cant talk to that!"
always saying "i cant talk to that!", to the stuff i will not allow the character to talk to?
like a recurrent speech in all the objects the player cannot talk to?
Have a look at unhandled_event in the manual. It's declared in the global script and executes whenever there is no other script assigned to an event.
Usage: unhandled_event (int what, int type)
Where:
WHAT TYPE Description
1 1 Look at hotspot
1 2 Interact with hotspot
1 3 Use inventory on hotspot
1 4 Talk to hotspot
1 7 Pick up hotspot
1 8 Cursor Mode 8 on hotspot
1 9 Cursor Mode 9 on hotspot
2 0 Look at object
2 1 Interact with object
2 2 Talk to object
2 3 Use inventory on object
2 5 Pick up object
2 6 Cursor Mode 8 on object
2 7 Cursor Mode 9 on object
3 0 Look at character
3 1 Interact with character
3 2 Speak to character
3 3 Use inventory on character
3 5 Pick up character
3 6 Cursor Mode 8 on character
3 7 Cursor Mode 9 on character
4 1 Look at nothing (ie. no hotspot)
4 2 Interact with nothing
4 3 Use inventory with nothing
4 4 Talk to nothing
5 0 Look at inventory
5 1 Interact with inventory (currently not possible)
5 2 Speak to inventory
5 3 Use an inventory item on another
5 4 Other click on inventory