Can't assign value to view variables

Non-platform specific questions.

Can't assign value to view variables

Postby EvanBlack » Sat Oct 08, 2011 6:27 am

I am trying to set a variable in view.

I've tried

view->variable (ERROR: Pointer Required)

view.variable (ERROR: Illegal Structure Operation)

getclone("view")->variable (ERROR)

getclone("view.0")->variable (ERROR)


I need access to the view variable or I am going to have to set a global variable which will do the same thing but.... I'd need to access view directly later anyway.
(\__/) ( Soon... The world)
(O.o )< will be mine!____)
(> < )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bunny Overlord 2012!
EvanBlack
 
Posts: 202
Joined: Fri Sep 30, 2011 10:17 am
Score: 19 Give a positive score

Re: Can't assign value to view variables

Postby skydereign » Sat Oct 08, 2011 6:30 am

You seem to come across the oddest problems. view.variable works fine normally.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Can't assign value to view variables

Postby EvanBlack » Sat Oct 08, 2011 6:31 am

No I discovered my problem... you can't assign arrays to actors...
(\__/) ( Soon... The world)
(O.o )< will be mine!____)
(> < )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bunny Overlord 2012!
EvanBlack
 
Posts: 202
Joined: Fri Sep 30, 2011 10:17 am
Score: 19 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest