Editing PlayerStartScript

From Eternity Wiki
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{codepointer|description=
{{codepointer|description=
'''Currently disabled'''. Was used from player weapon frames to call scripts.|usage=
Used from player weapon frames to call scripts.|usage=
'''PlayerStartScript'''(''scriptnum'', ''selectvm'', ''params[0]'', ''params[1]'', ''params[2]'')|parameters=
'''PlayerStartScript'''(''scriptnum'', ''selectvm'', ''params[0]'', ''params[1]'', ''params[2]'')|parameters=
*''scriptnum'': Number of script to call.
*''scriptnum'': Number of script to call.
Line 7: Line 7:
**{{deprecated}}1 or '''levelscript''': Small level (map) script.
**{{deprecated}}1 or '''levelscript''': Small level (map) script.
*''params'': Up to three parameters for the called script function.|notes=
*''params'': Up to three parameters for the called script function.|notes=
Since Small scripting has been removed from Eternity, this codepointer has no effect. To be able to call ACS scripts (which use ''selectvm'' = 2, which isn't supported by this function), use '''[[StartScript]]''' instead.
Currently this codepointer only supports the deprecated Small scripting system. To be able to call ACS scripts (which use ''selectvm'' = 2, which isn't supported by this function), use '''[[StartScript]]''' instead.


The semantic difference between '''PlayerStartScript''' and '''StartScript''' is that this one considers the call being made from a player weapon, the latter is called from a map object.|seealso=
The semantic difference between '''PlayerStartScript''' and '''StartScript''' is that this one considers the call being made from a player weapon, the latter is called from a map object.|seealso=
*[[StartScript]]}}
*[[StartScript]]}}
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see Eternity Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Templates used on this page: