Forum rules - please read before posting.

Giving a character objects

Hi,

So i need to give a NPC two objects, and one both objects are given, this must be noted and interactions changed.

ie. an npc can only do a task, if two objects are given to him.

When one is given, the npc says i need the other one too and vice versa, but i am confused how to ensure that the npc knows whether he has both objects.

What is the easy way to do this/

thanks!

Comments

  • Create two local boolean variables, e.g: NPC_Has_Knife and NPC_Has_Fork.  You can then set/check these variables independently using the Variable: Set and Variable: Check Actions respectively.
  • Create two local boolean variables, e.g: NPC_Has_Knife and NPC_Has_Fork.  You can then set/check these variables independently using the Variable: Set and Variable: Check Actions respectively.
  • great thanks, that is much easier than the mass of action lists i just put together to achieve this!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.