Scripting With Player Health, Etc
Scripting With Player Health, Etc
So, I'm getting back into modding and scripts seem to have the most potential for interesting effects.
Anyways, how would I go about writing a script that would give the current player more ammo or health on X event, etc? Any help would be greatly appreciated.
Anyways, how would I go about writing a script that would give the current player more ammo or health on X event, etc? Any help would be greatly appreciated.
-
- Posts: 562
- Joined: Fri Mar 31, 2006 6:12 pm
- Location: tim-buck-too anywere, usa
you dont need scripts for giving a player more health, ammo
all you have to do is to meta edit it in the weap and bipd tag
all you have to do is to meta edit it in the weap and bipd tag

Not removing untill i finish my gir*from invader zim duh* forza 2 car. Started 6/17
Personal Project~{Twilightabout 50% done i hope}~
92% of teens have moved on to rap. If you are part of the 8% who still like tacos. Put this in your sig if you like tacos.
- xXxCocoFangxXx
- Posts: 3756
- Joined: Thu Sep 08, 2005 9:57 am
- Contact:
- latinomodder
- Posts: 1040
- Joined: Tue Sep 20, 2005 5:51 pm
- Location: Costa Rica
- JUSTNUKEIT
- Posts: 133
- Joined: Wed Feb 07, 2007 1:20 pm
For clarification, I mean that when a player enters a certain area, they gain/lose health, or ammo. Or when X event occurs they gain/lose health/ammo, etc.
I will look around in SP maps to see what I can find and will share any progress. There seems to be very little descriptive information around these forums pertaining to scripting.
I will look around in SP maps to see what I can find and will share any progress. There seems to be very little descriptive information around these forums pertaining to scripting.
Really.h4xx3d wrote:For clarification, I mean that when a player enters a certain area, they gain/lose health, or ammo. Or when X event occurs they gain/lose health/ammo, etc.
I will look around in SP maps to see what I can find and will share any progress. There seems to be very little descriptive information around these forums pertaining to scripting.
Halo 2 Prophet - Skin with ease with the simple 3D point and click interface.
Halo 3 Research Thread - Contribute to the research into Halo 3.
Halo 3 Research Thread - Contribute to the research into Halo 3.
-
- Posts: 1262
- Joined: Sun Sep 03, 2006 10:43 pm
- Location: Michigan
![]() |
![]() |
Well, from Soldier of Lite's list, there is one that looks interesting:
[045](void damage_players)
Possibly a negative value would increase the players health? However, I've still no idea how to use this. If you could help me, it would be greatly appreciated
[One of the things I would like to do is make it so that when your flag is in enemy possession, you gain an overshield, or have unlimited ammo, or something similar. Is it possible to use flag possession as an event?]
[045](void damage_players)
Possibly a negative value would increase the players health? However, I've still no idea how to use this. If you could help me, it would be greatly appreciated

[One of the things I would like to do is make it so that when your flag is in enemy possession, you gain an overshield, or have unlimited ammo, or something similar. Is it possible to use flag possession as an event?]