Difference between revisions of "Talk:SetPos"
Jump to navigation
Jump to search
imported>DragoonWraith (formatting) |
imported>JOG |
||
Line 15: | Line 15: | ||
::[[User:DragoonWraith|<font face="Oblivion,Daedric" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 14:36, 13 June 2006 (EDT): Is ''that'' fact anywhere on the Wiki? Because I didn't realize that for a while... | ::[[User:DragoonWraith|<font face="Oblivion,Daedric" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 14:36, 13 June 2006 (EDT): Is ''that'' fact anywhere on the Wiki? Because I didn't realize that for a while... | ||
:::Well, it's implicit that only those things work that are specified as working, when we find out something that wasn't mentioned before we add it, but there is no point in adding info to random functions that things from other programming languages don't work here. There are no arrays, no sub-procedures, no default values on variable definition, no control structures besides if, and so on...--[[User:JOG|JOG]] 15:33, 13 June 2006 (EDT) |
Revision as of 14:33, 13 June 2006
I added some additional information that helped me in the process of scripting my mods.--Omzy 11:50, 13 June 2006 (EDT)
Setting this value via computations does not work. Instead, use GetPos with computations and use the result as a variable for SetPos.
This does not work:
SetPos X (GetPos X + 40)
This works:
short xPos Set xPos to (GetPos X + 40) SetPos X xPos
- What's the point of this info? No Function accepts expressions as parameters.--JOG 12:11, 13 June 2006 (EDT)
- Dragoon Wraith TALK 14:36, 13 June 2006 (EDT): Is that fact anywhere on the Wiki? Because I didn't realize that for a while...
- Well, it's implicit that only those things work that are specified as working, when we find out something that wasn't mentioned before we add it, but there is no point in adding info to random functions that things from other programming languages don't work here. There are no arrays, no sub-procedures, no default values on variable definition, no control structures besides if, and so on...--JOG 15:33, 13 June 2006 (EDT)