Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-23-2002, 05:21 AM
Aknts Aknts is offline
Level Designer
Aknts's Avatar
Join Date: Apr 2001
Location: USofA
Posts: 3,340
Aknts will become famous soon enough
Send a message via AIM to Aknts
Half Damage when hit?

if (washit) {
playerhearts+=playerhurtdpower/2;
}

Why doesn't that work?
I can't think of any way to put it other then that.
__________________
Reply With Quote
  #2  
Old 02-23-2002, 05:28 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Re: Half Damage when hit?

Quote:
Originally posted by Aknts
if (washit) {
playerhearts+=playerhurtdpower/2;
}

Why doesn't that work?
I can't think of any way to put it other then that.
um playerswordpower (Misunderstood your question first)
__________________
No Webhost at the moment
Reply With Quote
  #3  
Old 02-23-2002, 05:56 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
well, that will only deal the apropriate damage, i dont think you can take away .25 of a heart, you would have to keep a hit count in a string, and when it reaches 2 hits, then take away 1/2 heart
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:12 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.