View Single Post
Old 01-27-2012, 12:19 PM   #74
Qui-Gon Glenn
Necessary Roughneck
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Screen Gems Studios
Posts: 1,429
Current Game: TSL & ME2
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
Ok... so let us break this down for ya!

Code:
object oGoodbye;
This tells you everything you need to know. oGoodbye can be any object in the kotor world - a container, a person, the PC, a computer console, etc.

Code:
oGoodbye = GetObjectByTag("n_jordin");
This is defining that oGoodbye is now assigned the value of "n_jordin", which is a tag of an NPC, I am guessing.
Code:
DelayCommand(1.0, DestroyObject(oGoodbye));
Now we understand why the object has been given this clever name "oGoodbye". Whatever object that is assigned to oGoodbye is going to be destroyed. It is going away, goodbye.

So, it could have been called, "oLaterdude", or "oGottago" or "oImouttahere" or "oDestroyme".

Please understand, oGoodbye is referring to a data type.


Qui-Gon Glenn is offline   you may: quote & reply,