Thanks egocarib, I got this working, but it looks like once you have a given Grass Form type loaded into Papyrus, there is virtually nothing you can actually do with it. Eg you can't use any of the Game.FindClosest() methods to retrieve some grass instances, and SKSE Cell.GetNumRefs() returns 0 for the count of objects of that type (37) in the current cell.
It's basically like the grass objects don't actually exist as objects (I know they are procedurally created based on the landscape textures, so that's probably why).
Oh well, that's my mod idea out the window!
Thanks anyway. For reference, here was the script I was playing about with:
ScriptName GrassTest Extends Quest{}Event OnInit() Debug.Notification("GrassTest: init"); RegisterForSingleUpdate(3.0); EndEventEvent OnUpdate() Debug.Notification("GrassTest: onUpdate"); ; Load grass from Form ID. Form FieldGrass01 = Game.GetFormFromFile(0x000135BE, "Skyrim.esm"); ; Get the decimal ID. Int grassID = FieldGrass01.GetFormID(); ; Get the SKSE type: kGrass = 37 Int grassType = FieldGrass01.GetType(); ; Count how many instances of this type exist in current cell. Cell kCell = Game.GetPlayer().GetParentCell(); Int totalInstances = kCell.GetNumRefs(grassType); Debug.Notification("GrassTest: loaded grass! id:"+grassID+" type:"+grassType+" total:"+totalInstances); ; Locate closest instance (never seems to find any!). ObjectReference closestGrass = Game.FindClosestReferenceOfTypeFromRef(FieldGrass01, Game.GetPlayer(), 20.0);EndEvent