Complete Example Scripts: Difference between revisions
Jump to navigation
Jump to search
→Move an Object to a Specific Location Without Fade - made use of new translatetoRef() function
imported>Evernewjoy |
imported>Evernewjoy |
||
| Line 188: | Line 188: | ||
if (akActionRef == Game.GetPlayer()) | if (akActionRef == Game.GetPlayer()) | ||
akActionRef. | akActionRef.TranslateToRef(dest,500) | ||
;500 is the speed value, it's pretty fast | ;500 is the speed value, it's pretty fast | ||
endif | endif | ||
| Line 211: | Line 211: | ||
Get used to these basics and you will find Papyrus much more powerful than prior scripting languages. | Get used to these basics and you will find Papyrus much more powerful than prior scripting languages. | ||
===A Fully Functional Dwemer Button=== | ===A Fully Functional Dwemer Button=== | ||