Data Realms Fan Forums
http://45.55.195.193/

Instance name\present name ?
http://45.55.195.193/viewtopic.php?f=1&t=12320
Page 1 of 1

Author:  grenade [ Mon Sep 29, 2008 9:44 am ]
Post subject:  Instance name\present name ?

Whats better to use ? And i know b21 use present names, so if i change present on instance i can use any b21 mod(not the lua anyway)?

Author:  Gotcha! [ Mon Sep 29, 2008 9:53 am ]
Post subject:  Re: Instance name\present name ?

I'd go with PresetName, although I have no idea why it was changed.
Be sure to spell it right when you change it though: PresetName, not PresentName. ;)

Author:  grenade [ Mon Sep 29, 2008 10:18 am ]
Post subject:  Re: Instance name\present name ?

Ok,Thx.

Author:  findude [ Mon Sep 29, 2008 12:24 pm ]
Post subject:  Re: Instance name\present name ?

I think PresetName should be used for the "original" objects etc.
and InstanceName when making a CopyOf.
Or the other way around, I'm not sure.
Making CopyOf's and just changing stuff doesn't seem to work always,
you need to supply a InstanceName now.

Author:  Kallemort [ Mon Sep 29, 2008 12:36 pm ]
Post subject:  Re: Instance name\present name ?

I think Data is just replacing some old stuff but is doing it more gently this time around, so we don't need to convert every single mod.

Author:  Lord Tim [ Mon Sep 29, 2008 3:14 pm ]
Post subject:  Re: Instance name\present name ?

Use PresetName. InstanceName is only still there for compatability, and I don't know how long it will continue to be there.

Anyways, all the Lua code uses PresetName.

actor.InstanceName gives you nothing.
actor.PresetName gives you the name.

Author:  grenade [ Mon Sep 29, 2008 3:17 pm ]
Post subject:  Re: Instance name\present name ?

Ok , i understood.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/