Difference between revisions of "Category talk:Scripting"
→So confused
imported>DragoonWraith |
imported>DragoonWraith |
||
Line 268: | Line 268: | ||
:::Five years ago, I would have recognized that instantly, but it's been a ''long'' time since I did any Morrowind scripting. Anyway, yes, they've changed the scripting language in quite a few places. The blocktypes, . instead of ->, and the ref variable type are probably the most notable, but there's also things like GetAV where they changed it from being several different functions to just one where you pass what value you're interested in. [[GetPos]] and [[SetPos]] are a similar story, IIRC (Morrowind had GetPosX, GetPosY, GetPosZ, right?) | :::Five years ago, I would have recognized that instantly, but it's been a ''long'' time since I did any Morrowind scripting. Anyway, yes, they've changed the scripting language in quite a few places. The blocktypes, . instead of ->, and the ref variable type are probably the most notable, but there's also things like GetAV where they changed it from being several different functions to just one where you pass what value you're interested in. [[GetPos]] and [[SetPos]] are a similar story, IIRC (Morrowind had GetPosX, GetPosY, GetPosZ, right?) | ||
:::As for [[Kill]], you could also use <tt>[[SetAV]] Health 0</tt>, similar to Morrowind, but the kill command is a little more convenient. Some modders like to use both just to be certain everything works correctly. | |||
:::Anyway, those tutorials should help you out. | :::Anyway, those tutorials should help you out. | ||
:::[[User:DragoonWraith|<span style="font-family: Oblivion; size=2;">D</span>ragoon <span style="font-family: Oblivion; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion; size=2;">TALK</span>]] 12:50, 29 September 2011 (EDT) | :::[[User:DragoonWraith|<span style="font-family: Oblivion; size=2;">D</span>ragoon <span style="font-family: Oblivion; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion; size=2;">TALK</span>]] 12:50, 29 September 2011 (EDT) |