Comments (4)
#16 will add this. Decided to go with the behaviour that exists in vanilla with requiring the OK button to execute. The code will only execute if its not empty and open as empty.
In terms of locality, I decided it might be best for QOL that the code run where the object is local since I think most of the commands that are used by Zeus' in this attribute require arguments local. This can easily be changed to be global if you think that would be better.
In terms of the history, it is currently limited to 20, but again, can be increased if you think that number is too low. For the bookmarking feature, I still need to think about how to cleanly integrate that into a UI.
Would love to you hear your thoughts on this and again thanks for the feedback.
from zen.
Thank you for the feature request. When going to implement this I was unsure exactly what way would be best since changes to attributes in ZEN are only applied for attributes that had a selection occur.
So, if the user was to enter code, it would execute when the user pressed ok, but the next the user opens the attributes display, should it execute again when the user presses ok? My original solution was to add a button next to the input box.
On the topic of saving executed code pieces, there needs to be limit on the number of stored items since we are storing it in profileNamespace
. What would suggest is a good number? 20? 50?
I like the idea of bookmarking frequently used items but I am unsure how to integrate that into a UI.
from zen.
In achilles, the code-entry box is a 'one-time' use unless you load a last command through the drop-down of last used commands. So it'll pop back up empty. A button next to the input box would be kind of convenient too though.
from zen.
Excellent, thanks for this feature. I'm not exactly sure what general limitations are for a UI. On a bare minimum, assuming you're very hamstringed, I'd say a little star button that adds the current code in the exec box to a longer(?) list or just tells you if adding a new one will push out an old favorite
from zen.
Related Issues (20)
- Reload Zeus interface automatically when a setting needs it to take effect
- Reinforcement Module | Multiple Groups of Units
- Error when trying to spawn "Decorations" of mods in Zeus (factions) (vehicles, helicopters, weapons) HOT 1
- Vehicle Loadout Editor for ACE Interaction Menu HOT 1
- Killing unit via Zeus crashes the game (closes) HOT 4
- Error pop up when using zeus HOT 1
- Save Object Simulation State in Export Mission SQF
- Use Chatter module while remote controlling an AI unit.
- Zeus ping other zeuses
- "Alert AI" - Radius Module HOT 3
- Only allow manipulating area markers when in marker tab HOT 3
- Add CBA Setting for Marker Editing Functionality HOT 1
- Keys folder is missing in the mod HOT 1
- Properties crashing game. HOT 8
- Add the ability to disembark on ropes in the call for reinforcements menu HOT 7
- Two factions became one HOT 1
- A way to control whole Squads/Teams through remote control HOT 1
- Zeus Enhanced makes vanilla factions disappear HOT 2
- New ACE3 Lay Trenches not working with ZEN HOT 1
- Q: Does ZEN work with units players and block vehicle entry HOT 1
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 zen.