Es.fire

From EventScripts Community Encyclopedia
This article is a stub. Please help by adding to it.



Method: fire

Module: es
Class: (no class)
EventScripts version: 2.0

Method Overview

Table of Contents

Contents


Description

Cause a player to manipulate game entities. It works the same as Valve's "ent_fire" but you can force players to run it without cheats.

Arguments

  • userid - Player that you wish to trigger the event
  • classname/targetname - Class or Target to trigger
  • input name - All entities have different input triggers
  • value - Value of input you wish to change.
  • delay - Delay the action for x seconds.


Examples


Notes

You cannot use this command with build 224 (EventScripts 2.0) since there are problems in Python with it. You have to use old ESS cmd call. Example:

es.server.cmd('es_xfire %i %s %s [%s] [%s]' % (<userid variable>, <classname/targetname>, <input name>, [optional parameter], [delay]))

See Also

http://www.eventscripts.com/pages/es_fire

blog comments powered by Disqus