sysFindObject and EF

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

Do the filters E and F in sysFindObject come from the players perspective or do they take into account the source objects perspective?

What are objects with no friends or enemies (such as a shot created with sysCreateWeaponFire with no firer) considered? (yes I know they are not included int sysFindObject but they can be used as the source)
Crying is not a proper retort!
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

f should be fore all constructive, and e should be destructive
(chaos and order do not seem to matter in this case)
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

sE seems to work fine on hostile ships.
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

yes but that is from the point of the player. I would like it to be independent of the players perspective. (like most of the rest of the script)
Crying is not a proper retort!
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

Betelgeuse wrote:yes but that is from the point of the player. I would like it to be independent of the players perspective. (like most of the rest of the script)
you mean, dependant on the ship the script is run on?
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

sE when run with respect to an enemy ship will find the player and the player's wingmen.
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

Wolfy wrote:you mean, dependant on the ship the script is run on?
or shot yes, Atarlost on irc says it is dependent on the ship the script is run on but he didn't test what happens with shots. (or what happens in nil shooter cases)
Crying is not a proper retort!
Post Reply