NWN MOVIES - Jump to comments -
Title Lesson 06 - Objects (Part 1) Author Maximus Submitted / Updated 07-29-2003 / 05-12-2005 Category Scripting Lessons - Basic Movie Format Viewlets Description Objects (Part 1) Goals : Learn what objects are and how to create them Keywords: objects, OBJECT_SELF, tags, resref, blueprints Links :
Files
Posted by combel ( 65.121.xxx.xxx ) at 2005-05-03 19:58:26 these new skins suck, or i am an idiot I can't download this.
Posted by combel ( 65.121.xxx.xxx ) at 2005-05-03 19:56:44 these new skins suck, or i am an idiot I can't download this.
Posted by Old_Scores_Transfered at 2004-02-20 10:32:35 Voted 10.00 on 02/20/04 This is a compilation of the old system into a single score. There were 4 that made this score of 10.00 then rounded to 10.
Posted by Mari ( ..xxx.xxx ) at 2003-11-09 20:15:00 For those that are still confused, the offending line
location lLocation = GetLocation(GetObjectByTag(NW_WAYPOINT001));
should read
location lLocation = GetLocation(GetObjectByTag("NW_WAYPOINT001"));
Posted by Anonymous ( ..xxx.xxx ) at 2003-11-06 10:03:00 oh and btw ur missin the ; after ur 'nw_drgred003"
Posted by nisma ( ..xxx.xxx ) at 2003-11-06 10:01:00 fair and pharcyde did u put those cotation within the brackets? i tried it and it works fine...:O
Posted by FaiR ( ..xxx.xxx ) at 2003-10-19 01:32:00 "I later realized there was supposed to be quotations around the waypoint tag"
Even if you do that it still doesn't work...
Posted by Pharcyde ( ..xxx.xxx ) at 2003-08-24 15:18:00 it should actually have "GetLocation" instead of "Get" there i was mid edit when i copied it; but it still doesnt work.
Posted by Pharcyde ( ..xxx.xxx ) at 2003-08-24 15:16:00 ive tried to create the script in the tutorial and get a
24/08/2003 23:14:48: Error. 'spawncreature' did not compile.
spawncreature.nss(5): ERROR: PARSING VARIABLE LIST
and it highlights the line with the get location stuff on...
void main()
{
int nObjectType = OBJECT_TYPE_CREATURE;
string sTemplate = "nw_drgred003"
location lLocation = Get(GetObjectByTag(NW_WAYPOINT001));
int bUseAnimation = TRUE;
CreateObject(nObjectType, sTemplate, lLocation, bUseAnimation);
}
what am i doing wrong?
Posted by OmniPaul ( ..xxx.xxx ) at 2003-08-03 12:39:00 Great tutorial for newbie scripters like me, but there was an error that kept coming when I tried to create an object using the script. I later realized there was supposed to be quotations around the waypoint tag, which were absent in the example. Otherwise, these are great tutorials. Thanks a lot!
Posted by Stephen Norris ( ..xxx.xxx ) at 2003-08-02 02:34:00 Contrary to this tutorial, IMHO the quickest way to get a resref is to open the View->Show Preview Window window after selecting the creature...
You must be
Logged In to post comments in this section.