How to make a dangerous object

make an object look scary

click its behaviours

go to bevaviour bundles

click dangerous

1 Like

tutorial for new players!

1 Like

how about suspicious object

1 Like

Ok. I’m pretty sure people can figure that out on their own. If you want a better object…
image
Most people don’t want to take the time to click the text over and over again.

If you want some spicy health, input this in the player:

You can copy the code here:

{“data”:{“behavior”:{“v”:“2”,“nodes”:[{“inputCount”:0,“outputCount”:1,“name”:“Once”,“behaviorType”:“logic.triggers.Once”,“x”:-720,“y”:416,“group”:"",“id”:“eca77cc3cb93bf42”,“notes”:“On start, get the number three and set the health to that number”,“n_o”:1,“resetOnLevelStart”:false},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:-450,“y”:384,“group”:"",“id”:“eca79019cd63f740”,“notes”:“Health variable”,“n_o”:1,“startVal”:3,“tag”:"",“roundMode”:1},{“comp_x”:0,“comp_y”:0,“inputCount”:1,“outputCount”:1,“name”:“Bar”,“behaviorType”:“logic.hud.Bar”,“x”:-270,“y”:384,“group”:"",“id”:“eca7b222e03f154c”,“notes”:“Health bar”,“n_o”:1,“val”:5,“max”:10,“frameColor”:-3127447,“barColor”:-3192404},{“inputCount”:0,“outputCount”:1,“name”:“Collision”,“behaviorType”:“logic.triggers.Collision”,“x”:-900,“y”:512,“group”:"",“id”:“eca7d0c5a491d846”,“notes”:“Collide with dangerous object”,“n_o”:1,“targetClassId”:9709594,“targetEntityId”:0,“collisionFilter”:15,“collideWithEntity”:false,“delay”:0},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:-630,“y”:544,“group”:"",“id”:“eca87e1a96e91341”,“notes”:“Subtract your health by one”,“n_o”:1,“startVal”:-1,“tag”:"",“roundMode”:1},{“gateVal”:0,“mode”:“greater than”,“inputCount”:2,“outputCount”:2,“name”:“Filter”,“behaviorType”:“logic.logic.Filter”,“x”:-270,“y”:480,“group”:"",“id”:“eca8a92f5eea684d”,“notes”:“If the health is not greater than zero, meaning it’s zero or lower, then restart the level.”,“n_o”:null},{“inputCount”:2,“outputCount”:2,“name”:“NextLevel”,“behaviorType”:“logic.gameflow.NextLevel”,“x”:-270,“y”:576,“group”:"",“id”:“eca8ced0f4a4d94f”,“notes”:null,“n_o”:null,“levelName”:“Restart Current”}],“links”:[{“input_id”:“eca79019cd63f740i1”,“output_id”:“eca77cc3cb93bf42o0”},{“input_id”:“eca79019cd63f740i2”,“output_id”:“eca87e1a96e91341o0”},{“input_id”:“eca7b222e03f154ci0”,“output_id”:“eca79019cd63f740o0”},{“input_id”:“eca7b222e03f154ci0”,“output_id”:“eca79019cd63f740o0”},{“input_id”:“eca8a92f5eea684di0”,“output_id”:“eca7b222e03f154co0”},{“input_id”:“eca87e1a96e91341i1”,“output_id”:“eca7d0c5a491d846o0”},{“input_id”:“eca87e1a96e91341i1”,“output_id”:“eca7d0c5a491d846o0”},{“input_id”:“eca79019cd63f740i2”,“output_id”:“eca87e1a96e91341o0”},{“input_id”:“eca8a92f5eea684di0”,“output_id”:“eca7b222e03f154co0”},{“input_id”:“eca8ced0f4a4d94fi0”,“output_id”:“eca8a92f5eea684do1”},{“input_id”:“eca8ced0f4a4d94fi0”,“output_id”:“eca8a92f5eea684do1”}]}}}

Also, you can set the bar value to be 3 and full in the editor :upside_down_face:

1 Like