Custom Event Case

Started by IuStrenght on Fri, 12/23/2016 - 08:03

Topic category: Help with MCreator software

Last seen on 19:45, 15. Dec 2018
Joined Aug 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom Event Case
Fri, 12/23/2016 - 08:03

So, i want a Custom Event Case, the oposite of "hasPlayerinInventory".
I made a Stabilizator and an Uranium Ore, i want the Uranium ore to explode if player hasn't stabilizator kit in inventory and not to explode if he has the stabilizator kit in inventory

Is this possible?

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I don't use MCreator's event
Fri, 12/23/2016 - 11:28

I don't use MCreator's event system , but did you try "!hasPlayerinInventory" ?

Last seen on 19:45, 15. Dec 2018
Joined Aug 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I want the opposite of that.
Fri, 12/23/2016 - 18:41

I want the opposite of that.

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ehmm.. I did not write 
Fri, 12/23/2016 - 20:09

Ehmm.. I did not write "hasPlayerinInventory" , I wrote "!hasPlayerinInventory" 
The "!" means in most programming languages "not" so "if !Something" means "if is NOT Something"