Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Making it so Slime Damage can Kill, need help!
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#5
RE: Making it so Slime Damage can Kill, need help!

I just realized this. In GivePlayerDamage, the second argument is string &in asType. "blood" IS NOT one of them. The Types are: BloodSplat, Claws and Slash.

You need to experiment between the three. Replace the GivePlayerDamage function with one of these. If you don't like it then change into the other two.

BloodSplat Type:
Spoiler below!

PHP Code: (Select All)
GivePlayerDamage(25.0f"BloodSplat"falsetrue); 


Claws Type:
Spoiler below!

PHP Code: (Select All)
GivePlayerDamage(25.0f"Claws"falsetrue); 


Slash type:
Spoiler below!

PHP Code: (Select All)
GivePlayerDamage(25.0f"Slash"falsetrue); 


QUICK EDIT:
If the solution above don't work, make sure the names in the map and the script matches.

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 08-15-2014, 09:06 AM by PutraenusAlivius.)
08-15-2014, 09:05 AM
Find


Messages In This Thread
RE: Making it so Slime Damage can Kill, need help! - by PutraenusAlivius - 08-15-2014, 09:05 AM



Users browsing this thread: 1 Guest(s)