Rexdorchester Posted August 3, 2018 Share Posted August 3, 2018 So all I want to do is place an item at the linked ref, which happens to be rexsitemmarker, and it throws the following error. Any ideas?ObjectReference gun = LinkedRef.PlaceAtNode("rexsitemmarker", 10mm)Papyrus Compiler Version 2.8.0.4 for Fallout 4 Copyright (C) ZeniMax Media. All rights reserved. Starting 1 compile threads for 1 files... Compiling "Fragments:Terminals:TERM__01001ED4"... C:\Users\Rexford\AppData\Local\Temp\PapyrusTemp\Fragments\Terminals\TERM__01001ED4.psc(7,64): extraneous input 'mm' expecting RPAREN No output generated for Fragments:Terminals:TERM__01001ED4, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on Fragments:Terminals:TERM__01001ED4 Link to comment Share on other sites More sharing options...
Carreau Posted August 3, 2018 Share Posted August 3, 2018 The error is because you named the property with a number first. Canât do that. Rename it to Gun10mm or something. https://www.creationkit.com/fallout4/index.php?title=Identifier_Reference Is rexsitemmarker an actual node on the 3d model or an x-marker placed into the world? Because of itâs the latter, this is the wrong function. The way you described what you are doing sounds like you want to spawn a 10mm in the game world. Placeatnode would be if you wanted to spawn the gun directly on a 3d model in game. Link to comment Share on other sites More sharing options...
scrivener07 Posted August 6, 2018 Share Posted August 6, 2018 Its what Carreau said. One thing I can add is that a script property will autofill is the property name matches the EditorID. If you have an EditorID that starts with a number but you still want it to autofill, then prefix your property name with a "p" like "p10mm". Link to comment Share on other sites More sharing options...
Rexdorchester Posted August 12, 2018 Author Share Posted August 12, 2018 On 8/3/2018 at 1:44 PM, Carreau said: The error is because you named the property with a number first. Canât do that. Rename it to Gun10mm or something. https://www.creationkit.com/fallout4/index.php?title=Identifier_Reference Is rexsitemmarker an actual node on the 3d model or an x-marker placed into the world? Because of itâs the latter, this is the wrong function. The way you described what you are doing sounds like you want to spawn a 10mm in the game world. Placeatnode would be if you wanted to spawn the gun directly on a 3d model in game.Which would be the right function? I just want to place an item at a marker, that's it. Ideally at a linked reference. Link to comment Share on other sites More sharing options...
Recommended Posts