Author Topic: looking for ingress  (Read 1688 times)

0 Members and 1 Guest are viewing this topic.

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1291
    • View Profile
looking for ingress
« on: January 20, 2021, 02:38:51 PM »
findaspect() can search for ingress.
There is now command(FUNCTION, 59, 1, 0), this sets a flag inside findevent() which lets it exit as soon as it finds the first ingress. This is handy when you just want to quickly search when a planet has the next ingress. You don't need to calculate an end time for the search, just use 250 years or something.
For an example see horoscope extra ingress.ab
Greetings from Groningen Netherlands.

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1291
    • View Profile
Re: looking for ingress
« Reply #1 on: January 23, 2021, 03:34:24 PM »
This has changed, findaspect now has the array options expanded to 20 chars:

Syntax: int findaspect(real start, real end, char p1[16], char asp[11], char option[20], real angle, real lon, real lat, real zone);
See it's help.

The extra options are:

9 exit after first find ingress
10 search void of course.

The rest of the options array is for future use.
Greetings from Groningen Netherlands.