Page 1 of 1

how can i get this script to work?

Posted: Wed Nov 21, 2007 2:15 pm
by fuzzman
ok i want the masterchief bipd or the player you are currently to apply to the following script:

Code: Select all

(script startup damage_hack 
  (begin 
   (unit_set_maximum_vitality 
       (masterchief_mp.bipd)
       30 70) 
 )
)
would that be even close?

Posted: Wed Nov 21, 2007 2:43 pm
by grimdoomer
im pretty sure it would be like,

Code: Select all

(sript startup gravity_hack
 (begin
  (unit_set_minimum_vatality masterchief_mp.bipd 30, 70)
 )
)

Posted: Thu Nov 22, 2007 7:53 am
by fuzzman
dude i tried that and it said invalid header so i changed the header correctly and then it gives some debug error

Posted: Thu Nov 22, 2007 8:19 am
by grimdoomer
wtf what are you using to compile it?

Posted: Thu Nov 22, 2007 9:08 am
by fuzzman
well im using script complier, but u spelt "script" wrong lol. so thats y it said invalid header. so i fixed it then it gave me some framework error

Posted: Thu Nov 22, 2007 9:12 am
by grimdoomer
script compiler, in H2Guerilla or like script tools.

Posted: Thu Nov 22, 2007 11:32 am
by L0d3x
Well if you're using Guerilla you might encounter problems for no obvious reasons. I've had alot more succes with script tools, at least it compiles when it should.

Posted: Thu Nov 22, 2007 7:37 pm
by fuzzman
yea im using script tools