09-07-2012, 03:05 PM
I want to place a note but I do not want this note is collected, or that a user approaches the note can not collect. In level editor put "static object" but the note is still collecting. How can I do?
(09-07-2012, 05:02 PM)GoranGaming Wrote: [ -> ]You can't. You will have to create a new model that looks exactly the same and is not a note.Or try placing a blockbox on the note itself. It is in "technical" in the level editor. Invisible in-game, but visible in the editor. Not sure if this works, though.
(09-07-2012, 05:05 PM)Nemet Robert Wrote: [ -> ]Or try placing a blockbox on the note itself. It is in "technical" in the level editor. Invisible in-game, but visible in the editor. Not sure if this works, though.It works, although it's not viable if you want the note to move for whatever reason.
(09-07-2012, 05:05 PM)Nemet Robert Wrote: [ -> ]The blockbox won't work, but the Invisible_box_mass will(09-07-2012, 05:02 PM)GoranGaming Wrote: [ -> ]You can't. You will have to create a new model that looks exactly the same and is not a note.Or try placing a blockbox on the note itself. It is in "technical" in the level editor. Invisible in-game, but visible in the editor. Not sure if this works, though.
(09-07-2012, 05:58 PM)beecake Wrote: [ -> ]Or you could surround it by an area and make the area have an interact callback. With this callback you could provide a message like: "I should not read this right now"That won't stop players from reading the note, though. You CAN still pick it up, but to do that, you just need to be inside the script zone that you can interact with. It happened to me.
(09-07-2012, 05:59 PM)Nemet Robert Wrote: [ -> ]Not if the note is on a table, and the area is only just covering the note... The player would not be able to get inside the area(09-07-2012, 05:58 PM)beecake Wrote: [ -> ]Or you could surround it by an area and make the area have an interact callback. With this callback you could provide a message like: "I should not read this right now"That won't stop players from reading the note, though. You CAN still pick it up, but to do that, you just need to be inside the script zone that you can interact with. It happened to me.
(09-07-2012, 07:03 PM)Your Computer Wrote: [ -> ]Putting down the DAE file that represents the note should have worked, but there's also SetEntityInteractionDisabled.Just use SetEntityInteractionDisabled on the note and it's fixed.