and command

younggloves
Hi guys, wonder if anyone could help me. I'm trying to create a situation where if the player enters a room holding three separate objects from different locations earlier, and speaks to a person in that room, something .
I've tried using the expression player is holding object, but it only accounts for one thing.
There must be a way of saying 'item1' and 'item2' then.....
Hope that makes sense.
Thanks for any help

younggloves
Sorry guys did'nt come over very well there, lost half of my message.
I'll try again.

What I'm trying to do is set up a situation using the "if" statement.
"if" player speaks to a chacter in the game then he gets rewarded.
I can do that using the command "if player is holding object" no problem.
What I'd like however is for the player to have to have 3 seperate objects to acheive success.
The drop down list only lets you choose one object.
I've looked on the script and found the relevant section and had a play arround guessing with adding the other objects in, and using "and", "+" "," but i'm still without success.
I'm sure this can be done if I was a bit cleverer....lol
Hope that makes a little more sense,
Thanks for the help
Ben :D

Pertex
Do you mean that you want to do something like "if player is holding object1 and player is holding object2 and player is holding object3" ?
If you want to work only with the gui, you can do it like this:
if1.jpg

Or you can use an expression like this:
if2.jpg

younggloves
That's super thank you very much I'll have a try in a bit

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums