0 Members and 1 Guest are viewing this topic.
(method (handleEvent pEvent) (super handleEvent: pEvent) (if (== (pEvent type?) evMOUSEBUTTON) (if (& (pEvent modifiers?) emRIGHT_BUTTON) (if (== pEvent ctlFUCHSIA)
(if (pEvent onControl: ctlFUCHSIA)
(if (== (pEvent onControl: ctlFUCHSIA) TRUE)
I also tried Code: [Select](if (pEvent onControl: ctlFUCHSIA)and Code: [Select](if (== (pEvent onControl: ctlFUCHSIA) TRUE)But both crash the game because I clearly don't know the proper syntax for this.
== $0002 OnControl(ocPRIORITY (send pEvent:x) (send pEvent:y))
(if (== (OnControl ocSPECIAL (pEvent x?) (pEvent y?)) ctlFUCHSIA)
SMF 2.0.19 | SMF © 2021, Simple MachinesSimple Audio Video Embedder Page created in 0.118 seconds with 25 queries.