the-mirror-gdp / the-mirror

The open-source Roblox & UEFN alternative giving you freedom to own what you create. An all-in-one, real-time, collaborative game development platform built on Godot.
https://themirror.space
Other
1.1k stars 97 forks source link

Updated the 'Add Equipable' screenshot so that it shows that a data c… #214

Open NChampion opened 3 weeks ago

NChampion commented 3 weeks ago

Updated the 'Add Equipable' screenshot so that it shows that a data connection is needed to the obj: On Object port of the 'Add Equipable' script block. It's mis-leading currently and testing that code block in build mode will fail but it works in preview/production.

I was playing around with GDScript and wanted to try adding an equippable but the only documented way of doing that was via visual scripting. So, I threw together a quick visual script but was met with an error message upon running it in build mode.

image

I went back to reference the tutorial included in the documentation but I was thrown off because there wasn't a connection to the On Object in the screenshot. Obviously removing the connection also fails in build mode. I tried previewing the space despite the error message but I couldn't get it to add the gun into my hotbar. I could get simple chat to trigger in build mode and previewed just fine but the gun wouldn't add to my hotbar. Eventually I realized that a team needs to be selected for it to work properly. I'm not sure if it's an instantiation/initialization issue but if the teams window is closed the equipment will not be added to the player's hotbar.

Hopefully the screenshot will help clear up confusion for someone else. I will submit separate bug reports for the other related issues.

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **mirror-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/the-mirror/mirror-docs/6c1t5cFTv8Vx6UB31stqRjN6yHwE)) | [Visit Preview](https://mirror-docs-git-fork-nchampion-dev-the-mirror.vercel.app) | | Jun 25, 2024 10:05pm |