Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

PSYS_SRC_TARGET_KEY needs key data

Altern8 McMillan
Registered User
Join date: 27 Mar 2007
Posts: 36
09-09-2007 17:31
Hi there,
does anyone have an idea why I am not getting particles moving towards a target?

All it needs is

PSYS_SRC_TARGET_KEY, UUID

and maybe

PSYS_PART_FLAGS, PSYS_PART_TARGET_POS_MASK
(not sure if the flag is needed)

target can be a rezzed object, defined by key
or an avatar defined by key

Doesn't matter for me. All I get is

PSYS_SRC_TARGET_KEY needs key data

What key data?

Confused

Thx and greetz

A8
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
09-09-2007 22:18
Make sure the parameter you are passing in as the UUID is actually either a key variable, a llList2Key call, or a typecast string constant (key)"01234567-89ab-cdef-0123-456789abcdef".

If it is anything else (like a string variable), you will have to typecast it like the constant above. It's not enough that the data actually looks like a key, the type of the actual parameter MUST be a key.
Altern8 McMillan
Registered User
Join date: 27 Mar 2007
Posts: 36
09-10-2007 08:15
oooh

thx a lot

it is obvious: PSYS_SRC_TARGET_KEY needs key data

same error as something else needs integer data or float data and so on.

ur right

maybe I should stop programming after 12 hours, makes me blind and foolish

thx again and greetz

A8