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: Thessia
Posts: 1,465
Current Game: ME3MP, Arkham Origins
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.


Want to play a game of ME3MP?
Qui-Gon_Glenn on the software of which we shall not name.... add me and the enemy shall fall in chunks of crimson salsa
Qui-Gon Glenn is offline   you may: quote & reply,