Make 'SpawnArchetype' Glow

2 views
Skip to first unread message

Matt

unread,
Sep 5, 2011, 2:56:35 AM9/5/11
to benv2423-2011
Hey guys,
im tryin to edit the 'SpawnArchetype' so that depenidng on how far
away the spawned object is from another particular object it iwll glow
(much like the example shown in the earlier weeks).

i am unsure of how i am to assign the 'materialParam' to the
spawnArchetype, or if its even possbile

does anyone have nay clues to this? cheers

Jules Cromarty

unread,
Sep 5, 2011, 7:13:38 PM9/5/11
to benv2423-2011
You can link the Entity:SpawnArchetype node directly to the
Entity:MaterialParam node to do this. Link the 'Succeeded' output of
the Entity:SpawnArchetype node to the 'ChooseEntity' input of the
Entity:MaterialParam node.
So every time an Entity is spawned you are able to change it's
material parameters but only until the next entity is spawned
Reply all
Reply to author
Forward
0 new messages