Editors Depot

[ArmA] SPON Core by Spooner

Version 0.5.3
Added 04 Nov 2008
Downloads 1388
Demo included Yes
Filesize 703.7KB
User rating 5/5

Core components required by most of the other SPON script packs. Many of the features provided here might be of use in creating your own missions and scripts.

SPON Core debugging log, client-side version

Features

- Standard
    * Provides common features used by other SPON components, such as SPON VBIED, SPON Recognise and SPON Map.
    * User event handling: Any player or server can broadcast local or global events. Those that have previously registered for the event will have their code run (Used very similarly to standard ArmA events).
    * Broadcasting object variables with SPON_publicObjectVariable.
    * Key event handling: Allows de-coupled key event handlers to be set up (normally a new key event handler deletes any existing handler).
    * Some global variables (read-only) to complement the built-in "isServer".
    * SPON_formatTime function is available: Formats an elapsed time, in seconds, as 0:00:00 or 0:00:00.000, which is appropriate for formatting elapsed time ("time" command), but not time of day.

- Optional
    * Debug log:
          o Makes a permanent record of all debug messages, viewable in a window, thus not cluttering up the chat window with debug messages.
          o Allows the client to view all debug messages that have been generated on the client or the server at any time (JIP clients can only see server messages generated after they joined)!
    * Automatic monitoring of in-game men and vehicles:
          o Lists of player, men and vehicle objects in the mission are kept updated.
          o SPON events are published whenever any of these is found on the server for the first time and when a player is first or last found on the server. These events can be used to perform init actions on the objects, without the need of addons (Although init might be slightly delayed after the object has been created).

Known Issues
   * Variables updated with SPON_publicObjectVariable are not automatically updated for JIP players (though JIP players will get any new values sent after they have joined).
   * Debug message logging on dedicated servers is currently broken.

View the forum thread for this resource here.


Click to see 16 other resources by this author.


Search OFPEC Editors Depot

COMREF

The OFPEC Command Reference contains details of all scripting commands available to the editor.

Beginner's Tutorial

All you need to know about how to start editing.

Multiplayer Tutorial

This tutorial explains the mysteries of multiplayer editing.

OFPEC Tutorials

OFPEC hosts several quality tutorials written specifically for the site by staff and members...

OFPEC Tags

Register a tag, browse for addon keys...