Trees scater based on Paint

   1569   1   0
User Avatar
Member
8 posts
Joined: Jan. 2018
Offline
Hi Guys,

I'm working on a simple tool that let me to scatter trees on a grid.
/obj/test02

I just don't know why I got this error on copy2:

Error
Unable to evaluate expression (Undefined variable (/obj/test02/copy2/val1))

I'll be greatfull for help

Attachments:
TREES_MULTIPLICATION_v01.hiplc (771.7 KB)

User Avatar
Staff
3465 posts
Joined: July 2005
Online
we're tying to get people to move away from local variables and use attributes
if you change your expression to: if (@pregion > .5, 1, 0)
it will work
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
  • Quick Links