Skip to content
PCA3D Adventure Studio — 3D, 2D and more
DISCOVER
Overview Explore features Screenshots Compare engines Try the demoWEB
LEARN & CREATE
Documentation PDF downloads Video tutorials
THE COMMUNITY
Completed games In development News Devlog Bug tracker
YOUR FIRST ADVENTURE
2DYour first 2D adventureThe Sock Exchange · 6 parts 3DYour first 3D adventureFirst Light · 6 parts

A story only you can tell.

Bring it to life with PCA3D.

Get PCA3D
Contact usForums

Made for adventure makers.

PCA3D Adventure StudioDocumentation
Back to websiteSign in
Skip to reading
Documentation
PDF library
PCA3D DOCUMENTATION

Find the answer. Keep creating.

Search the complete guide text, then jump straight to the lesson you need.

/

731 matching pages

Results for inventory

PCA Script Programming

215 Gameplay: Saving, language and project settings

…Objects 239 Designer: Triggers 247 Designer: Rooms 252 Designer: Inventory 254 Designer: GUIs 257 Designer: Dialogues 258 Designer: Quests 259 Designer: Objectives 260 Designer: Assets 261 Designer: Cameras 263 Designer: Spawn Points 264 Designer: Cu…

Scripting · Page 6
PCA Script Programming

8. Comparisons, logic and precedence

… true; stops early on true not | Reverse a test player has key | Inventory possession, not array membership objects.archive_door exists | The referenced record exists function run() let power = true let code_entered = false let override = true let al…

Scripting · Page 15
PCA Script Programming

9. If, else if and else

…n can_open(): boolean if not powered return false end return has_inventory("key") end return ends the current function. A false return value is still just data: a caller has to inspect it. Returning false does not automatically cancel an unrelated ac…

Scripting · Page 16
PCA Script Programming

10. Functions and parameters

…4. A loop is usually better than recursion for walking a list of inventory items. Type annotations describe supported value types; they do not turn a function into an exposed visual node by themselves. Figure 4. Small named functions keep puzzle chec…

Scripting · Page 17
PCA Script Programming

22. Gameplay calls and readable commands

…ickup play sound chime set camera to wide end function run() add_inventory({"itemId": "key", "count": 1}) set_object_visible({"entityId": "key_pickup", "visible": false}) play_sound({"assetId": "chime", "channel": "puzzle"}) action("CameraShake", {"d…

Scripting · Page 29
PCA Script Programming

23. A key, a lock and a one-time reward

…if door_open say "It is already unlocked." return end if not has_inventory("key") say "I need the archive key." return end door_open = true score += 5 play_sound({"assetId": "chime", "channel": "puzzle"}) show_message({"text": "The archive is unlocke…

Scripting · Page 30
PCA Script Programming

36. A complete, reusable interaction pattern

…ding a large framework behind them. It reads saved state, checks inventory, prevents a second simultaneous attempt, calls gameplay actions and reports a useful return value. global archive_open = false global archive_busy = false global score = 0 fun…

Scripting · Page 44
PCA Script Programming

39. Configure the project and authored interfaces

… state; use a running game to test scripts and event chains. For inventory/save widgets, target the intended outer panel, slot, thumbnail or navigation part. Their image and corner-radius overrides can be separate. Use a setter for the specific key r…

Scripting · Page 47
PCA Script Programming

40. What “all designer functions” means

…Whole-GUI and element helpers; list-box, carousel, model, video, inventory/save-widget actions. Dialogue / Cutscene | Run/end sessions and supported dialogue mutations; author complex graphs/timelines in their designers. Inventory / Quests / Variable…

Scripting · Page 48
PCA Script Programming

is_valid()

…s a record ID; use an actual reference or a specific lookup. has_inventory() and aliases has_inventory(item, character = "player", count = 1) Check inventory possession through the game’s inventory route. Returns: Boolean. Aliases: player_has() has_i…

Scripting · Page 61
PCA Script Programming

if_player_was_here()

… local let. A direct PCA if expression is clearer for locals. if_inventory_item_was_used() if_inventory_item_was_used(item) Check the item supplied in the current interaction context. Returns: Boolean. if_inventory_item_was_used("key") Possession and…

Scripting · Page 64
PCA Script Programming

unlock_hint()

…isual_script({"scriptId": "utility_pca"}) In use. Put the door's inventory check in open_door, then call that script from the door's Use response. Keep the conditional logic in that one place instead of copying it into several event lists.

Scripting · Page 80
PCA Script Programming

execute_preposition()

… | Choose a Verb Designer ID. | Blank First Object (entity:id or inventory:id) sourceId | Text. | Blank Second Object (entity:id or inventory:id) targetId | Text. | Blank Timing. The call waits for its runtime routine to return; no additional complet…

Scripting · Page 85
PCA Script Programming

Gameplay: Objects, descriptions and scene life

…r an item pickup, hiding its world representation and giving its inventory definition are two distinct actions. set_object_action_enabled() Enable / Disable Object Action | Action ID: SetObjectActionEnabled Enable or disable one object's interaction …

Scripting · Page 116
PCA Script Programming

set_object_visible()

…visible": true}) In use. Hide the workbench key after giving its inventory item. Hiding is not a collision-size editor or a substitute for disabling a trigger. For reusable pickup logic, target this in a script with an object caller.

Scripting · Page 118
PCA Script Programming

despawn_object()

…spawning a visible item does not automatically remove a matching inventory item.

Scripting · Page 120
PCA Script Programming

switch_character()

…configured as playable. The new character can have its own room, inventory, HUD and journal settings. It is not a command to swap the visible model on the same actor. is_current_room() Is Current Room | Action ID: IsCurrentRoom Test the current room …

Scripting · Page 141
PCA Script Programming

stop_attach_point_watch()

…urce point and the target's grip point when available. Giving an inventory lantern and attaching a visible lantern are separate operations.

Scripting · Page 165
PCA Script Programming

detach_object()

…osition it as required. Detaching does not automatically give an inventory item back or select a new animation.

Scripting · Page 166
PCA Script Programming

list_box_add_item()

…d be able to select the row. For list boxes bound to an array or inventory, change the data source rather than expecting manual entries to override it permanently.

Scripting · Page 175
Previous results26 / 37Next results
PCA3D Adventure StudioA DiPerla Game Productions project.
SitemapPrivacyCommunity guidelinesContactDiscord
© 2026 PCA3D Adventure Studio

Where will you go next?

Search guides, features, screenshots and engine comparisons.

Browse all guidesExplore the toolkitTry PCA3D in your browser

Open full image