Difference between revisions of "Talk:Terminal Fragments"
Jump to navigation
Jump to search
imported>Tania (Can't call functions from other scripts, nor can you create functions within terminal fragments.) |
imported>Qazaaq |
||
Line 1: | Line 1: | ||
Pretty sad and disappointing, that you can't call functions from other scripts through terminal fragments. I don't see the reason for this restriction, when you're allowed to call native functions(additem, etc) which are all called from scripts.(rant) --[[User:Lisselli|Lisselli]] ([[User talk:Lisselli|talk]]) 2017-05-12T13:28:35 (EDT) | Pretty sad and disappointing, that you can't call functions from other scripts through terminal fragments. I don't see the reason for this restriction, when you're allowed to call native functions(additem, etc) which are all called from scripts.(rant) --[[User:Lisselli|Lisselli]] ([[User talk:Lisselli|talk]]) 2017-05-12T13:28:35 (EDT) | ||
:Are you sure that is an actual restriction on fragments? This compiles just fine for me. | |||
<source lang="papyrus"> | |||
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment | |||
Scriptname Fragments:Terminals:TERM_MyTerminal_00000802 Extends Terminal Hidden Const | |||
;BEGIN FRAGMENT Fragment_Terminal_01 | |||
Function Fragment_Terminal_01(ObjectReference akTerminalRef) | |||
;BEGIN CODE | |||
; | |||
;END CODE | |||
EndFunction | |||
;END FRAGMENT | |||
;END FRAGMENT CODE - Do not edit anything between this and the begin comment | |||
AssaultronHeadModStealthScript Property Script Auto Const Mandatory | |||
</source> | |||
What kind of error or result are you getting?[[User:Scrivener07|Scrivener07]] ([[User talk:Scrivener07|talk]]) 2017-05-13T22:20:47 (EDT) |
Revision as of 21:20, 13 May 2017
Pretty sad and disappointing, that you can't call functions from other scripts through terminal fragments. I don't see the reason for this restriction, when you're allowed to call native functions(additem, etc) which are all called from scripts.(rant) --Lisselli (talk) 2017-05-12T13:28:35 (EDT)
- Are you sure that is an actual restriction on fragments? This compiles just fine for me.
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
Scriptname Fragments:Terminals:TERM_MyTerminal_00000802 Extends Terminal Hidden Const
;BEGIN FRAGMENT Fragment_Terminal_01
Function Fragment_Terminal_01(ObjectReference akTerminalRef)
;BEGIN CODE
;
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
AssaultronHeadModStealthScript Property Script Auto Const Mandatory
What kind of error or result are you getting?Scrivener07 (talk) 2017-05-13T22:20:47 (EDT)