featurelist.org
 
U
D
1 points - posted 221 days ago by Jeff - status: Active - 1 comments watch
Not sure if this is possible with ES(I was able to have a buddy do it with SM so I hope we can do it with ES) but here it goes:

So lets say I want to prep def playerhurt(eventvar)

Maybe it could work like this:

def prepplayerhurt(eventvar):
#Maybe this could use es.ServerVar
#Set the damage that is about to be dealt to half of what it was going to be
es.ServerVar(event
var['dmghealth']).set(int(eventvar['dmghealth'])/2)
#Or maybe a new command in case es.ServerVar would not work
#Set damage to half again
es.ModEventVar('dmg
health', int(eventvar['dmghealth'])/2)

Basicly for each event you would have the option of running block before to either A. change values of the event_vars or fire commands on the users that are about to be involved with the event.

If this can be done great :) if not I under stand.(Its a big request)

~J3ff


featurelist.org

Add this feature widget to your own website by using the following code:


Add it to forums (using bbcode):