Difference between revisions of "Questions"
no edit summary
imported>JOG (→Death) |
imported>Saveron |
||
Line 1,676: | Line 1,676: | ||
:[[User:JOG|JOG]] 11:41, 26 August 2006 (EDT): Resurrect doesn't work properly in the console (try it, you can move around while your body still lies there...) You can try using [[GetActorValue]] to test if the player's health is below 10 or so, and then do stuff. Another idea (though I doubt that it works) would be using '''[[SetEssential]] player 1''' | :[[User:JOG|JOG]] 11:41, 26 August 2006 (EDT): Resurrect doesn't work properly in the console (try it, you can move around while your body still lies there...) You can try using [[GetActorValue]] to test if the player's health is below 10 or so, and then do stuff. Another idea (though I doubt that it works) would be using '''[[SetEssential]] player 1''' | ||
[[User:Saveron|Saveron]] 18:07, 26 August 2006 (EDT) Is there a function that makes the character go into that "unconsious" state, i was looking in the function part of the wiki but the closest i got was SetUnconsious and from reading it, it doesnt seem like it kocksout the player only stops them from doing things. | |||
==Moving Activators and Statics== | ==Moving Activators and Statics== | ||
[[User:Sharpe|Sharpe]] 8:42, 26 August 2006 EST I am working on a Dwemer Airship at the moment and I can't figure out how to script it so when you activate the helm it will take off after a selection menu. Can statics move and if so can you tell me the script for moving activators and statics? | [[User:Sharpe|Sharpe]] 8:42, 26 August 2006 EST I am working on a Dwemer Airship at the moment and I can't figure out how to script it so when you activate the helm it will take off after a selection menu. Can statics move and if so can you tell me the script for moving activators and statics? | ||
:[[User:JOG|JOG]] 11:35, 26 August 2006 (EDT): use [[GetPos]] to get the current position, add a value, use [[SetPos]] to set the new position and use [[GetAngle]]/[[SetAngle]] to set the heading angle. | :[[User:JOG|JOG]] 11:35, 26 August 2006 (EDT): use [[GetPos]] to get the current position, add a value, use [[SetPos]] to set the new position and use [[GetAngle]]/[[SetAngle]] to set the heading angle. |