Comments (4)
i have some ideas for this .
we will talk about all tonight when im at home. ;)
from a3-admintoolkit.
/*
File: fn_AAN.sqf
Author: Karel MorickyDescription:
It's showtime!Parameter(s):
_this select 0: STRUCTURED TEXT: Header text
_this select 1: STRUCTURED TEXT: Bottom text (moving)Returns:
Nothing
*/
disableserialization;_header = _this select 0;
_line = _this select 1;([] call bis_fnc_rscLayer) cutrsc ["rscAAN","plain"];
_display = uinamespace getvariable "BIS_AAN";
_textHeader = _display displayctrl 3001;
_textHeader ctrlsetstructuredtext _header;//parsetext "Military press conference
Col. Kane announces the end of the op. Arrowhead";
_textHeader ctrlcommit 0;_textLine = _display displayctrl 3002;
_textLine ctrlsetstructuredtext _line;//"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pulvinar euismod neque, eget malesuada lectus auctor sit amet. Maecenas ac est ipsum. Vestibulum in sapien turpis. Nunc ultricies, tellus ac lacinia consequat, mi massa sodales eros, vel semper justo enim non erat. Cras vitae urna et erat dapibus sagittis ac porttitor odio. Aliquam adipiscing malesuada libero, vitae suscipit mi interdum at. Vivamus sapien metus, ultricies quis ultricies ultrices, venenatis nec orci. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In egestas congue malesuada. Vestibulum gravida ligula volutpat ipsum auctor vulputate. ";
_textLine ctrlcommit 0;
_textLinePos = ctrlposition _textLine;
_textLinePos set [0,-100];
_textLine ctrlSetPosition _textLinePos;
_textLine ctrlcommit 1500;_textClock = _display displayctrl 3003;
while {!isnull _display} do {_textClock ctrlsettext ([daytime,"HH:MM"] call bis_fnc_timetostring);
_textClock ctrlcommit 0;
sleep 60;
};
from a3-admintoolkit.
An example on how to use the AAN by hiding all unnecessary icons, etc..
Still this would be placed into a file located in mission pbo (because all need it):
[parseText "<t size='1.5'>Admin Toolkit Headline</t><br/><t>Some more extra text information</t>", parseText ""] spawn BIS_fnc_AAN;
/* Hide the AAN after X seconds */
[] spawn { sleep 5; (uinamespace getvariable "BIS_AAN") closedisplay 1 };
/* immediately hide the icons, but keep the red bar plus clock */
[] spawn { sleep 0.001; _all = (allControls (uinamespace getvariable "BIS_AAN")); (_all select 2) ctrlShow false; (_all select 3) ctrlShow false; (_all select 0) ctrlShow false; }
from a3-admintoolkit.
As we can not go without adding a function into missionFile (allowing "normal" players) to receive the message response being send from server, I prefer to use the current setup
Ticket closed
from a3-admintoolkit.
Related Issues (20)
- GodMode for RyanZombies mod HOT 4
- Send money and respect to other players HOT 1
- global message system broken for non admins
- possible issue where kick / ban does not work
- Search in DetailsList causes the wrong selected item to be trigger HOT 1
- Improve the detail list to display near by object with (distance / coords) HOT 3
- Installation Problem HOT 8
- Store building information into extDB2
- ExileMod is not loading with ATK HOT 10
- Feature Request HOT 1
- I cant get it to work! HOT 1
- description.ext could not be found HOT 4
- Menu problems HOT 1
- Malware in your README.md
- Can't download the BE Filter Tool HOT 2
- Q: Do you have a comprehensive configuration HOT 3
- Spectate and teleport
- GetItem Problem
- Similar issue to Issue # 45 - Successful login but no commands appear to work HOT 2
- Moderator 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 a3-admintoolkit.