Operateactivators

From EDukeWiki
Revision as of 02:34, 3 June 2013 by Hendricks266 (talk | contribs)
Jump to navigation Jump to search

operateactivators <lotag> <player id>
activate <lotag>

Placed inside an actor code, operateactivators allows an actor to trigger ACTIVATOR and ACTIVATORLOCKED sprites. The actor does not need to be near the activator at hand, as long as it identifies the lotag specified in the map. The parameter "lotag" can be either a gamevar or a regular number. The player id specified determines which player receives the "LOCKED" and "UNLOCKED" messages (quotes 4 and 8, respectively). A value greater than the current MULTIMODE will cause the messages not to be sent to any player.

activate is a command originally found in pre-v1.0 prototypes of Duke Nukem 3D. In EDuke32, it functions the same as operateactivators but with a <player id> of 0.