Cannot find field think

Topics regarding Scripting with Reality Factory
Post Reply
Danimita92
Posts: 335
Joined: Sat Feb 09, 2008 5:47 pm
Location: Lanzarote/Canary Islands/Spain

Cannot find field think

Post by Danimita92 » Mon Aug 18, 2008 12:18 am

Hi everybody. I was trying to script a "scripted weapon" and tried using the self.think variable to give the weapon firerate. But when I try it, it says something like "Cannot find field think" or something like that, I can't really remember, since it was on a different computer

User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: Cannot find field think

Post by Juutis » Mon Aug 18, 2008 12:37 am

self.think is used to move between orders. self.ThinkTime is the variable that controls how often the order is executed.
Pain is only psychological.

Danimita92
Posts: 335
Joined: Sat Feb 09, 2008 5:47 pm
Location: Lanzarote/Canary Islands/Spain

Re: Cannot find field think

Post by Danimita92 » Mon Aug 18, 2008 12:39 am

Oh, yeah, sorry, I got them confused. It was "cannot find field ThinkTime"

Post Reply