in the INTEL section of the bp you just add what you want like:
Cloak = true,
CloakFieldRadius = 20,
there is no default antiteleport intel type, however that does not mean you cannot make one, bo:u has anti teleport, but also with the help of DMS i made a new intel type for it..
i basicly setup a new intel type for anti-teleport
then i made a function for if the unit is in an anti-teleport field..
and also a function to check if the destintation is in an anti-teleport field.
local InAntiTeleportField = self:IsInField('AntiTeleportField')
local DesNotInAntiTeleportField = self:CheckDestinationForAntiTeleport(Destination)
the IsInField function is a generic function in DMS to test if a unit is in an intel field,
the CheckDestintationForAntiTeleport looks like this.. http://pastebin.com/MkN3ujSt
again the main function which gets the units with antiteleportfield is
local units = brain:GetIntelTypeUnits('AntiTeleportField')
in DMS every inteltype unit is seperated into a table in the army brain, so that we can return them from any army at any time.. in this case were getting all units that have the intel type AntiTeleportField were then checking the radius of the units field against the distance to the teleport destination, if the distance is lower than the units radius we break and return false, (invalid destination) else we return true (valid destination). The list of units is returned instantly, with no strain on sim speed, because the table is updated in real time from each army when a unit enables/disables the intel type.
this is a custom intel type provided via dms intel systems, i did it this way so that were not dependant on unit categories to get the units of a certain intel type..
we can return a table of units for any army that use any intel type..
the system is fully automated and updated in real time.