Skip to content

Comments

[Feature] Add support to bind multiple targets in a single line#2

Merged
mrowrpurr merged 1 commit intoSkyrimScripting:mainfrom
k0mp1ex:feat/pipe-filter
Jan 3, 2023
Merged

[Feature] Add support to bind multiple targets in a single line#2
mrowrpurr merged 1 commit intoSkyrimScripting:mainfrom
k0mp1ex:feat/pipe-filter

Conversation

@k0mp1ex
Copy link

@k0mp1ex k0mp1ex commented Jan 2, 2023

Description

Add support to bind multiple targets in a single line using all the binding notation available.

Type of change

  • New feature (non-breaking change which adds functionality)

How does it work?

You can bind multiple targets in a single line using all the support binding commands, so examples like this are now valid:

scriptName MyCoolScript extends Actor
{
    !BIND SvenRef|0x1348A|$Player|HildeRef
}
...

You can still mix and match and apply them in multiple lines, but it kind of defeats the purpose of allowing single line bindings with multiple targets:

scriptName MyCoolScript extends Actor
{
    !BIND SvenRef|0x1348A|HildeRef
    !BIND FaendalRef
    !BIND $Player
}
...

The changes also work for the files inside Scripts/Bindings like expected. Docs updated as well.

Copy link
Member

@mrowrpurr mrowrpurr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@mrowrpurr mrowrpurr merged commit abd5bc1 into SkyrimScripting:main Jan 3, 2023
@k0mp1ex k0mp1ex deleted the feat/pipe-filter branch January 3, 2023 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants