Difference between revisions of "User talk:Tibixe"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Tibixe
imported>DragoonWraith
Line 1: Line 1:
[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 22:27, 15 August 2006 (EDT): About your request for SetRefEssential for OBSE: Couldn't you use [[CreateFullActorCopy]] and [[SetEssential]] to create an essential version of an actor which is referenced repeatedly?
[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 22:27, 15 August 2006 (EDT): About your request for SetRefEssential for OBSE: Couldn't you use [[CreateFullActorCopy]] and [[SetEssential]] to create an essential version of an actor which is referenced repeatedly?


:[[User:Tibixe|Tibixe]] 04:49, 16 August 2006 (EDT)
My problem was to make an ''Actor Copy'' essential. But setessential acts like a return function when it is used with a reference variable. (That caused my mod to create a new actor every frame...) I also added an entry to [[SetEssential]], but marked it as minor edit (I thought a line is a minor edited, now I know it isn't).


[[User:Tibixe|Tibixe]] 04:49, 16 August 2006 (EDT)
::[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=2>D</font>ragoon <font face="Oblivion,Daedric Runes" size=2>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 10:17, 16 August 2006 (EDT): Twas a good edit, don't worry. Anyway, it being a return statement isn't a problem, you know. I'd do something like this:
My problem was to make an ''Actor Copy'' essential. But setessential acts like a return function when it is used with a reference variable. (That caused my mod to create a new actor every frame...) I also added an entry to [[SetEssential]], but marked it as minor edit (I thought a line is a minor edited, now I know it isn't).
if ( GetDisabled == 0 )
  set copy to CreateFullActorCopy
  copy.SetEssential
  Disable  ;disable the original
endif
::If you'd like, you could post your code and I'll see what's up with it.
 
::For now, though, I'm going to take SetRefEssential off the Wish List.

Revision as of 09:17, 16 August 2006

Dragoon Wraith TALK 22:27, 15 August 2006 (EDT): About your request for SetRefEssential for OBSE: Couldn't you use CreateFullActorCopy and SetEssential to create an essential version of an actor which is referenced repeatedly?

Tibixe 04:49, 16 August 2006 (EDT)

My problem was to make an Actor Copy essential. But setessential acts like a return function when it is used with a reference variable. (That caused my mod to create a new actor every frame...) I also added an entry to SetEssential, but marked it as minor edit (I thought a line is a minor edited, now I know it isn't).

Dragoon Wraith TALK 10:17, 16 August 2006 (EDT): Twas a good edit, don't worry. Anyway, it being a return statement isn't a problem, you know. I'd do something like this:
if ( GetDisabled == 0 )
  set copy to CreateFullActorCopy
  copy.SetEssential
  Disable  ;disable the original
endif
If you'd like, you could post your code and I'll see what's up with it.
For now, though, I'm going to take SetRefEssential off the Wish List.