Jump to content

How to store position variables in GECK


Glenstorm

Recommended Posts

Hi.

 

What do I do if I want to store a position dynamically in GECK?

 

as in

 

scn scriptName

ref refName

begin blockName
    set refName to refCreatingObject.PlaceAtMe ObjectToBeCreated 1, 0, 0
end

 

What is the refCreatingObject here? How do I initialise such an object?

 

P.S. I'm aware of the PlaceAtMe bloated issue and won't be using it for long.

Link to comment
Share on other sites

When you call place at "me", you are creating a new object to be placed somewhere. "Me" is the object near where you want it placed. So whatever object you want the new object placed near, is refCreatingObject.

How do i create an empty object? Same thing except no model

Link to comment
Share on other sites

An XMarker would do the job.

 

Thank you. Can anyone direct me to the PlaceAtReticle page on GECK, I can't find it.

 

Otherwise, can someone describe the function to me?

Does PlaceAtReticle suffer the same bloating issues as well? How do you move an already existing reference (persistent) to whatever location the reticle is pointing to?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...