![]() ![]() |
Jun 16 2009, 11:08 AM
Post
#31
|
Jun 25 2009, 08:09 AM
Post
#32
|
Jun 25 2009, 08:12 AM
Post
#33
|
Duke Plus Developer
|
Look for anywhere in the code you are setting posz or poszv, or where the player is spawning stuff.
__________________ |
Jun 25 2009, 10:43 AM
Post
#34
|
Sentry Drone
|
I've checked, commented out anywhere I found posz or poszv (commented the whole code block I mean) and still it is there. Pretty annoying, got no clue why that happens yet.
|
Jun 25 2009, 02:51 PM
Post
#35
|
Jun 26 2009, 12:47 AM
Post
#36
|
Jun 26 2009, 07:16 AM
Post
#37
|
Jun 28 2009, 06:19 AM
Post
#38
|
Jun 28 2009, 07:51 AM
Post
#39
|
Jun 28 2009, 10:38 AM
Post
#40
|
Jun 28 2009, 10:58 AM
Post
#41
|
Sentry Drone
|
extra_extra8
There's this thing which could be useful to you, though I couldn't figure out how to use it properly. Does anyone know how to use it? Apart from that, how would you get player's ID from the monster? I know it has to do with the player structure member "i" but how, hitscans from monster ? |
Jun 29 2009, 07:14 PM
Post
#42
|
Assault Trooper
|
If I recall correctly:
CODE getplayer[THISACTOR].i temp getactor[temp].extra temp2 subvarvar temp2 damage setactor[temp].extra temp2 getplayer[THISACTOR] for actors besides APLAYER refers to the nearest player, just like addphealth does. "extra" means health/strength for most actors. James's method has advantages, but is more complicated--I can't remember all the necessary details. P.S.: Do you know about whilevarn? If you ever do need a loop. __________________ This post has been edited by Dr. Kylstein: Jun 29 2009, 07:17 PM |
Jun 30 2009, 09:06 AM
Post
#43
|
Jun 30 2009, 09:50 AM
Post
#44
|
Jun 30 2009, 12:05 PM
Post
#45
|
Jun 30 2009, 12:21 PM
Post
#46
|
Sentry Drone
|
Jun 30 2009, 03:48 PM
Post
#47
|
Jun 30 2009, 04:12 PM
Post
#48
|
Jun 30 2009, 04:24 PM
Post
#49
|
Jun 30 2009, 04:34 PM
Post
#50
|
Jun 30 2009, 04:52 PM
Post
#51
|
Pig Cop Tank
|
No dice. =(
__________________ A raving psycho, this guy once butchered 400 chickens and screwed a beagle.
Insert self-deprecating imagery here. |
Jul 1 2009, 03:38 PM
Post
#52
|
Jul 3 2009, 08:26 AM
Post
#53
|
Jul 3 2009, 08:56 AM
Post
#54
|
Jul 3 2009, 09:03 AM
Post
#55
|
Jul 3 2009, 09:06 AM
Post
#56
|
Jul 3 2009, 09:06 AM
Post
#57
|
Sentry Drone
|
Jul 3 2009, 09:07 AM
Post
#58
|
Duke Plus Developer
|
This is like using an instant messenger.
__________________ |
Jul 4 2009, 02:56 AM
Post
#59
|
Jul 4 2009, 08:17 AM
Post
#60
|
![]() ![]() |
— sponsored links —
|
Lo-Fi Version | Time is now: 8th September 2010 - 10:50 PM || Skin by RedSplat/TX © 2004-2010 Duke4.net |