Comments (4)
Ok I added an optional parameter for including deleted references (1 including, 0 excluding).
Also added filter type 90 to only return deleted references.
Need extensive test.
@Forlini91 can you or lubronbrons test if this solve the need of your tests cases?
Please report.
from xobse.
Ok, the command seems to work as expected, but I have noticed something in the code and in the tests:
In Commands_MiscReferences.cpp:
class RefMatcherActor
{
public:
bool m_includeDeleted;
RefMatcherActor(bool includeDeleted) : m_includeDeleted(includeDeleted)
{ }
bool Accept(const TESObjectREFR* refr)
{
if (refr->IsDeleted() && !m_includeDeleted)
return false;
else if (refr->baseForm->typeID == kFormType_Creature)
return true;
else if (refr->baseForm->typeID == kFormType_NPC && refr->baseForm->refID != 7) //exclude the player
return true;
else
return false;
}
};
specifically:
... && refr->baseForm->refID != 7)
This filter is only applied when you use the form filter for actors. When you don't use any filter, the player reference is included. Is this intended?
from xobse.
You should ask to the one who originally wrote the code.I really don't know.
I'm closing the issue
from xobse.
Close in c8386b1
from xobse.
Related Issues (20)
- OnHitWith event doesn't triggers on hitting dead bodies HOT 2
- Enhancement proposal: add functions for retrieving an amount of running EffectShaders and stopping particular amount of EffectShaders
- v22.7 Causes Crash with Feature in Maskar's Oblivion Overhaul HOT 2
- Issue with Inventory Reference Iteration HOT 4
- Get value from stringMap by variable HOT 14
- GetTileChildren and GetTileTraits can't utilize variables HOT 4
- Latest version breaks mod organizer 2 HOT 1
- message saying "The latest Oblivion Script Extender is not detected. morroblivion requires the latest version of xOBS€ to run, Please exit the game now and check your installation" I am using xOBSE 22.7.
- OnControlEvent returns wrong "action" when triggered by mouse buttons HOT 3
- C2 Special Combat Moves HOT 5
- Input Functions Not Working with TES4JaPatch016_beta3 HOT 10
- Apparel items do not return their icon path.
- Dynamic mesh swap mods have issues HOT 1
- Why do unvoiced npcs say "How can I help you?" and how to get rid of that? HOT 1
- Some issues regarding PushActorAway
- Rewrite and Streamline the User Function manager
- Per-Script InvenotryReferences
- GetAlchMenuApparatus doesn't work as documented HOT 2
- 22.9 wont work for some reason HOT 3
- obse error HOT 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 xobse.