Operateactivators

From EDukeWiki
Revision as of 03:34, 3 June 2013 by Hendricks266 (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.