ArrayEsp
Revision as of 13:39, 14 February 2008 by imported>Haama (Created)
Beta Function
This function has not been fully tested yet, and is not ready to be used in a released mod. It may not have the same function in later versions, may require the script to be recompiled, or simply may be removed. Use for testing purposes only until the author of the function says otherwise.
A command for Pluggy
Syntax:
(EspID:long) ArrayEsp ArrayID:long EspID:long Global:short
Returns or sets the EspID of the array.
- If EspID is not specified or invalid, it returns the EspID of the calling mod.
- If the EspID flag is set, it will set the array EspID to the specified EspID, and return the EspID.
- If the array does not exists, it returns -1.
- Set the Global flag to 1 if the array is tagged with the EspID of another mod and you want to change it. If Global is 0 or unset the function will fail.
- If the array is protected you will not be able to change the EspID.
- You can get the EspID of another array regardless of the Global flag.