[SOLVED] Another name for an action.

ageoffable
15 Jan 2017, 03:53

I have a book as an object in my game.

I can't work out how to make 'read book' have the same effect as 'use book' (but 'read' not count as 'use' for any other object).


XanMag
15 Jan 2017, 04:00

Add the verb 'read' to the verb tab for the book. Copy-paste the use scripts you have to the read verb.


The Pixie
15 Jan 2017, 16:10

Better, add the verb read to the verb tab for the book. Have the usescript call the read script:

do(this, "read")

That way if the text changes, you only need to update it one place, and you can be sure they will both do the same thing.


ageoffable
19 Jan 2017, 06:12

Thanks!