Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: AI functions
---
# AI - functions for working with AI
# AI functions (zPE)
Functions to work with the new [`C_Trigger`](../classes/c_trigger.md) class and NPC's AI queue.

## `AI_CallScript`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: HLP functions
---
# HLP - help functions
# HLP functions (zPE)
Helper functions generally used for safety checks, to get specific information from the engine or to interface with the configuration `.ini` files.

## `Hlp_HasFocusVob`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Log functions
---
title: Log functions
---
# Log functions (zPE)
As discussed on [Inside Gothic](https://ataulien.github.io/Inside-Gothic/QuestLog/), vanilla Gothic has no way of getting the status of a quest. These functions implement that functionality.

## `Log_GetTopicStatus`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: MDL functions
title: MDL functions
---
# MDL - model functions
# MDL functions (zPE)
Functions to tweak animation and other model related settings.

## `Mdl_GetAnimationIndex`
Expand Down
16 changes: 15 additions & 1 deletion docs/zengin/scripts/extenders/zparserextender/externals/menu.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Menu function
---
title: Menu functions
---
# Menu functions (zPE)
External functions for working with menu.

## `Menu_SearchItems`
!!! function "`Menu_SearchItems`"
Expand All @@ -10,6 +14,16 @@

- `mask` - regex like mask for searching

## `Open_Link`
!!! function "`Open_Link`"
Opens a link in the browser

```dae
func void Open_Link( var string link ) {};
```

- `link` - link to open in the browser

### Example
This function is used in the Union Menu [API script](../daedalus_injection/index.md#api-script).
In this script the `Menu_SearchItems` external is used to collect all Union menu scripts that are placed into the Union & Plugins menu that will appear in the game if you use any of the plugins that use this feature.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: MOB functions
title: MOB functions
---
# MOB - interactive object functions
# MOB functions (zPE)
Functions to manipulate interactive objects like destroying MOBs, setting lockpick combination and such.

## `Mob_Destroy`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: NPC functions
---
# NPC - character functions
# NPC functions (zPE)
NPC related functions.

## `Npc_SetAsHero`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: WLD functions
---
# WLD - world manipulation functions
Functions related to the world.
# WLD functions (zPE)
External functions related to the world.

## `Wld_ChangeLevel`
!!! function "`Wld_ChangeLevel`"
Expand Down
6 changes: 3 additions & 3 deletions docs/zengin/scripts/externals/ai.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: AI functions
---
# AI functions
# AI functions (Vanilla)
Functions for working with NPCs AI queue. Every function is added to the AI queue of the specified NPC and executed in the order they were added.

## Functions
Expand Down Expand Up @@ -803,8 +803,8 @@ Functions for working with NPCs AI queue. Every function is added to the AI queu

**Parameters**

- `#!dae var C_NPC slf` - instance of the NPC
- `#!dae other` - instance of the other NPC
- `#!dae var C_NPC slf` - instance of the waiting NPC
- `#!dae var C_NPC oth` - instance of the NPC to wait for

## Deprecated

Expand Down
2 changes: 1 addition & 1 deletion docs/zengin/scripts/externals/doc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Doc functions
---
# Doc external functions
# Doc functions

Doc functions are used to control the document manager. They allow you to fine tune the display of maps, letters and books.

Expand Down
4 changes: 2 additions & 2 deletions docs/zengin/scripts/externals/hlp.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: HLP functions
title: HLP functions
---
# HLP - help functions
# HLP functions (Vanilla)
Helper functions, generally used for safety checks, and specific operations.

## Functions
Expand Down
4 changes: 2 additions & 2 deletions docs/zengin/scripts/externals/log.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Log functions
title: Log functions
---
# Log external functions
# Log functions (Vanilla)
Log externals are used to manipulate players log and to track quest progress.

## Functions
Expand Down
2 changes: 1 addition & 1 deletion docs/zengin/scripts/externals/mdl.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: MDL functions
---
# MDL functions
# MDL functions (Vanilla)
Functions to tweak animation and other model related settings.

## Functions
Expand Down
5 changes: 4 additions & 1 deletion docs/zengin/scripts/externals/menu.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Menu functions
---
title: Menu functions
---
# Menu functions (Vanilla)
Menu functions are used to perform operations while being in the menu.

!!! Danger
Expand Down
5 changes: 4 additions & 1 deletion docs/zengin/scripts/externals/mob.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# MOB functions
---
title: MOB functions
---
# MOB functions (Vanilla)
Functions for creating and checking items in a oCMobContainers (chests etc.).

## Functions
Expand Down
2 changes: 1 addition & 1 deletion docs/zengin/scripts/externals/npc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: NPC functions
---
# NPC - character functions
# NPC functions (Vanilla)
NPC related functions.

## Functions
Expand Down
4 changes: 2 additions & 2 deletions docs/zengin/scripts/externals/ta.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: TA functions
---

# TA - routine functions
Functions for setting NPC daily routines.
# TA routine functions
External functions for setting NPC daily routines.

## Functions

Expand Down
2 changes: 1 addition & 1 deletion docs/zengin/scripts/externals/wld.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: WLD functions
---
# WLD - world manipulation functions
# WLD functions (Vanilla)
Functions related to the world.

## Functions
Expand Down