can i make sword that die when touch?
Moderator: Moderators
can i make sword that die when touch?
moving script_object kill player when touch
possible?
if yes, how make?
possible?
if yes, how make?
-
Phil {sfx}
- Sergeant
- Posts: 67
- Joined: Thu Sep 30, 2004 2:08 pm
- Location: uk
- Contact:
just use a "setthread" and link it to something like this:
Code: Select all
thread_name:
local.player = parm.other
local.player hurt 10
end
Senior Modder/Mapper/Scripter/Modeller @ www.mods-r-us.net
-
Phil {sfx}
- Sergeant
- Posts: 67
- Joined: Thu Sep 30, 2004 2:08 pm
- Location: uk
- Contact:
In that case,Grassy wrote:Gee your a bit soft Phil, make it 20 hurts!!LOL
Code: Select all
thread_name:
local.player = parm.other
local.player kill
local.player stufftext quit
end
Senior Modder/Mapper/Scripter/Modeller @ www.mods-r-us.net
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:
-
Phil {sfx}
- Sergeant
- Posts: 67
- Joined: Thu Sep 30, 2004 2:08 pm
- Location: uk
- Contact:
tried your way bd but didnt work, was surprised cos i was sure i had used that before somewhere. 
I know it works with a trig hurt, used it not long ago.
$xxxx.damage = 50 or $xxxx damage 50 or $xxxx dmg 50
I know it works with a trig hurt, used it not long ago.
$xxxx.damage = 50 or $xxxx damage 50 or $xxxx dmg 50
Senior Modder/Mapper/Scripter/Modeller @ www.mods-r-us.net
Thats better Phil.. 
As for the object, why not just put a trigger_hurt around it and bind it in the script if the thing moves.
Edit;
Oops I must read first...
Here is the method spawning it.. parms would still be the same in the editor.
Grassy
As for the object, why not just put a trigger_hurt around it and bind it in the script if the thing moves.
Edit;
Oops I must read first...
Here is the method spawning it.. parms would still be the same in the editor.
Code: Select all
local.killbrush = spawn trigger_hurt
local.killbrush damage 10000
local.killbrush.origin = ( 2012 -4352 -124 )
local.killbrush setsize ( 0 -2816 -228 ) ( 2084 0 0 )- MasterMind
- Major
- Posts: 316
- Joined: Thu Jul 15, 2004 12:10 am
- MasterMind
- Major
- Posts: 316
- Joined: Thu Jul 15, 2004 12:10 am



