Skip to content

Commit e4dd527

Browse files
authored
Update DOCUMENTATION.md
1 parent f90f431 commit e4dd527

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

DOCUMENTATION.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ import { createPatch } from 'quickentity-script';
77
```
88
Then call it with the template & blueprint values. Unlike QuickEntity itself, it also supports entering a path instead of a hash.
99
```ts
10-
const myPatch = createPatch(
11-
'[assembly:/_pro/characters/templates/hero/agent47/agent47.template?/agent47_default.entitytemplate].pc_entitytype',
12-
'[assembly:/_pro/characters/templates/hero/agent47/agent47.template?/agent47_default.entitytemplate].pc_entityblueprint'
13-
);
10+
const myPatch = createPatch(getPath('[assembly:/_pro/characters/templates/hero/agent47/agent47.template?/agent47_default.entitytemplate]'));
1411
```
1512
After you're done building everything you can use the following code to save the file.
1613
```ts

0 commit comments

Comments
 (0)