Epyo Posted February 11, 2004 How do I use set player property to make my dude fly? 0 Share this post Link to post
The Ultimate DooMer Posted February 11, 2004 SetPlayerProperty (0, 1, PROP_Fly); to turn it on. SetPlayerProperty (0, 0, PROP_Fly); to turn it off. (use '3' instead of 'PROP_Fly' if you want) 0 Share this post Link to post
Job Posted February 12, 2004 How do you alter thing health and the script compile in DB doesn't work? 0 Share this post Link to post
Cyb Posted February 12, 2004 setactorproperty(tid, aprop_health, new_health); 0 Share this post Link to post
Job Posted February 12, 2004 Cyb said:setactorproperty(tid, aprop_health, new_health); I put in this: SetActorProperty (46, APROP_Health, 2000); Does that work? Because for some reason, it's not. Would you be willing to look at the wad? 0 Share this post Link to post
ellmo Posted February 12, 2004 No big deal, sned it along. Should I add a wroking script when I'm able to? 0 Share this post Link to post
Job Posted February 12, 2004 Well, the script seems to be working well enough...it's just the health thing on tag 46 that gets me (but thanks for the offer!)...could I send you the map when I'm completely done with it and then you could look at [and possibly fix] the script? Thanks! :) 0 Share this post Link to post
Cyb Posted February 12, 2004 Job said:I put in this: SetActorProperty (46, APROP_Health, 2000); Does that work? Because for some reason, it's not. Would you be willing to look at the wad? make sure the actor has a tid of 46 (just a sanity check, but I still do dumb stuff like that myself sometimes), and uh if he starts with 2000 health then there obviously won't be any change... Add this script to your wad: script 1 enter { print(d:getactorproperty(46, aprop_health)); delay(35); restart; } adjust the script number as needed, and you can use a hudmessage if you want, but it's not necessary, but keep track of the output of that before and after the monster gets his health changed (it will refresh every 1 second). 0 Share this post Link to post
The Ultimate DooMer Posted February 12, 2004 Job said:I put in this: SetActorProperty (46, APROP_Health, 2000); Does that work? Because for some reason, it's not. Would you be willing to look at the wad? What monster were you using it on? 2000 is twice the health of a baron - see Dehacked for all the monster healths. 0 Share this post Link to post
Job Posted February 13, 2004 Yes, I was trying to double the baron actor's health. 0 Share this post Link to post