Home   Help Search Login Register  

Author Topic: Marker Colours  (Read 424 times)

0 Members and 1 Guest are viewing this topic.

Offline Insanoblan

  • Members
  • *
  • Look! Im a chicken Marge!
Marker Colours
« on: 23 Jul 2004, 21:00:38 »
Simple question, I have a trigger (trig1) and a marker (mark1). I want the Marker color to turn from red to green once the trigger is activated. What do I type in the "On Activation" field of the trigger?
Hey kid, wanna see a dead body!?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Marker Colours
« Reply #1 on: 23 Jul 2004, 21:21:31 »
Simple answer, "mark1" setmarkercolor "colorgreenalpha"
* Artak wonders what the alpha has got to do with it.  ::)

Quote
marker setMarkerColor color
Operand types:
    marker: String
    color: String
Compatibility:
    Version 1.21 required.
Type of returned value:
    Nothing
Description:
    Set marker color. Color is one of: "Default", "ColorBlack", "ColorRed", "ColorRedAlpha", "ColorGreen", "ColorGreenAlpha", "ColorBlue", "ColorYellow", "ColorWhite".

Example:
    "MarkerOne" setMarkerColor "ColorBlack"

This and many more marker commands can be found in the official command reference, which can be found in the editors depot under 'references'.  :)
Not all is lost.

Kaliyuga

  • Guest
Re:Marker Colours
« Reply #2 on: 24 Jul 2004, 00:24:19 »
 I think the Alpha ones are slightly transparent because of the edition of an Alpha Channel perhaps  ;D

:toocool:

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Marker Colours
« Reply #3 on: 24 Jul 2004, 00:27:59 »
Oh yea right. Silly me.  :D
I've never used "colorgreenalpha" and couldn't see the 'normal' "colorgreen" on the list. That's when I started to question my sanity and then you came along  :tomato:  :D
Not all is lost.