Hello,
Just found and picked up ISXEve and so far I am amazed at the power of it. However I have been playing around with scripts and have a few errors that I can't seem to resolve even though they seem correct.
Another issue I had was using when I was using:
Thanks
Just found and picked up ISXEve and so far I am amazed at the power of it. However I have been playing around with scripts and have a few errors that I can't seem to resolve even though they seem correct.
Trying this out from the code snippets on this forum it does not populate the list and gives me a drone total of 0 (even though I have 4 drones flying about) and they won't return.function main()
{
; Launch all of my drones
; (Note: There are means available of launching specific drones or types of drones if you so desire)
Me.Ship:LaunchAllDrones
; Wait about 20 seconds or so
wait 50
; populate an index of integers with the ID#s of the entities in the area that are of the category type of "Drone" and
; have "Me" as their owner (ie, all of my drones). Again, you can modify this to exclude or include any types of drones
; you desire. You can also control individual drones by using entity datatype methods. The eve datatype method used below
; (and those similar to it) are used for controlling multiple drones at once.
;
; Once we have the array of ID#s, then we can use it with any of the applicable eve datatype methods. This example simply
; tells all of the drones to return to the drone bay.
variable index:int MyDrones
variable int MyDronesCount
MyDronesCount:Set[${EVE.GetEntityIDs[MyDrones,OwnerID,${Me.CharID},CategoryID,18]}]
echo Populating MyDrones List:: ${MyDronesCount} drones total
EVEronesReturnToDroneBay[MyDrones]
}
Another issue I had was using when I was using:
where beltcount is an int, I get the following error:beltcount:Set[${EVE.GetEntities[belts]}]
If anyone could help I would really appreciate it!Illegal statement outside of function definition
Thanks