Ok I did this alias reference to an object into the scene ....
I get all those errors :
Starting 1 compile threads for 1 files...
Compiling "IcebergA"...
e:\giochi\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\IcebergA.psc(8,25): cannot name a variable or property the same as a known type or script
e:\giochi\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\IcebergA.psc(13,13): Enable is not a function or does not exist
e:\giochi\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\IcebergA.psc(13,13): cannot call the member function Enable alone or on a type, must call it on a variable
e:\giochi\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\IcebergA.psc(15,11): SplineTranslateToRef is not a function or does not exist
e:\giochi\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\IcebergA.psc(15,11): cannot call the member function SplineTranslateToRef alone or on a type, must call it on a variable
e:\giochi\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\IcebergA.psc(16,17): disable is not a function or does not exist
e:\giochi\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\IcebergA.psc(16,17): cannot call the member function disable alone or on a type, must call it on a variable
e:\giochi\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\IcebergA.psc(17,11): MoveTo is not a function or does not exist
e:\giochi\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\IcebergA.psc(17,11): cannot call the member function MoveTo alone or on a type, must call it on a variable
No output generated for IcebergA, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on IcebergA
When I compiled the folowing script attached to the alias .... how cna I make this work ?
Scriptname IcebergA extends ReferenceAlias ObjectReference Property b Auto ObjectReference Property a Auto ObjectReference Property IcebergA Auto Event OnCellLoad() IcebergA.Enable() Debug.Trace("Iceberg A Enabled") IcebergA.SplineTranslateToRef(b, 1.0, 1.0) IcebergA.disable() IcebergA.MoveTo(a)endEvent