Comments (3)
This mod does something similar to what you have in mind, btw.
from tesv-cobb-api.
The "move" tasks move existing ObjectReferences, while the "spawn" tasks spawn new ones (generally at or relative to the location of an existing ObjectReference). The use case for both is to avoid the performance impact of repeatedly making several latent function calls; they group multiple operations together into a single call.
The main purpose of the "complex" spawn task is for when you need to create a group of ObjectReferences and store them in one or more arrays, such that an ObjectReference's position in the array corresponds to some other list of data, and you need to be able to have Nones in that list. For reference, the main use case for it when I first developed it for Cobb Positioner was spawning furniture marker and furniture entry direction models in-game, where the index of each model needed to match the index of the marker it corresponded to, and where disabled seats or entry directions would therefore require Nones.
For most situations, the more normal "spawner task" objects should be sufficient for simply spawning a group of ObjectReferences from Papyrus at a time.
I'm not sure whether this would be the best approach for your mod idea, though, so I can only clarify what the APIs do.
from tesv-cobb-api.
Consider the construction of Breezehome for example, just the forms that make up the walls n floors. the part that would take literally about a minute to piece together in CK.
So it sounds like, conceptually . . .
- Breezehome forms >
property
> papyrus array (saybreezehome[]
) CobbAPIBatchSpawnComplex
to put the contents of the array into a cell.CobbAPIBatchMoveGroupRel
to position those forms where you want them to go.
Does that sound right?
from tesv-cobb-api.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tesv-cobb-api.