GearMessages.wiki
author Wuzzy
Mon, 05 Feb 2018 23:05:41 +0000
changeset 1149 af541bb2f242
parent 1109 6c9c95f51638
child 1242 c307fe8fb975
permissions -rw-r--r--
Taunts: as of 0.9.23
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
517
34caff484bbd First draft of a list of gear messages. Hey, it’s better than nothing!
almikes@aol.com
parents:
diff changeset
     1
#summary List of all gear messages.
34caff484bbd First draft of a list of gear messages. Hey, it’s better than nothing!
almikes@aol.com
parents:
diff changeset
     2
739
dbbb70728a29 GearMessages: Add title
Wuzzy
parents: 621
diff changeset
     3
This is a list of gear messages. Gear messages are used to e.g. control hedgehogs.
dbbb70728a29 GearMessages: Add title
Wuzzy
parents: 621
diff changeset
     4
dbbb70728a29 GearMessages: Add title
Wuzzy
parents: 621
diff changeset
     5
= List of gear messages =
517
34caff484bbd First draft of a list of gear messages. Hey, it’s better than nothing!
almikes@aol.com
parents:
diff changeset
     6
618
37175ce322cb Some additions
Wuzzy
parents: 592
diff changeset
     7
|| *Identifier* || *Meaning* || *Parameter* ||
620
c003b62124b6 Typo fix
Wuzzy
parents: 619
diff changeset
     8
|| `gmLeft` || Walk left || _Not used._ ||
618
37175ce322cb Some additions
Wuzzy
parents: 592
diff changeset
     9
|| `gmRight` || Walk right || _Not used._ ||
37175ce322cb Some additions
Wuzzy
parents: 592
diff changeset
    10
|| `gmUp` || Aim up || _Not used._ ||
37175ce322cb Some additions
Wuzzy
parents: 592
diff changeset
    11
|| `gmDown` || Aim down || _Not used._ ||
37175ce322cb Some additions
Wuzzy
parents: 592
diff changeset
    12
|| `gmSwitch` || Switch hedgehog || _Not used._ ||
37175ce322cb Some additions
Wuzzy
parents: 592
diff changeset
    13
|| `gmLJump` || Long jump || _Not used._ ||
37175ce322cb Some additions
Wuzzy
parents: 592
diff changeset
    14
|| `gmHJump` || High jump || _Not used._ ||
1109
6c9c95f51638 remove the annoying ????
nemo
parents: 1099
diff changeset
    15
|| `gmDestroy` || Request gear kill itself || _Not used._ ||
621
ed089d5730e5 Clarification of slots
Wuzzy
parents: 620
diff changeset
    16
|| `gmSlot` || Weapons slot selected. || Used. ||
618
37175ce322cb Some additions
Wuzzy
parents: 592
diff changeset
    17
|| `gmWeapon` || Weapon seleced. || Used. ||
37175ce322cb Some additions
Wuzzy
parents: 592
diff changeset
    18
|| `gmTimer` || Timer set. || Used. ||
1109
6c9c95f51638 remove the annoying ????
nemo
parents: 1099
diff changeset
    19
|| `gmAnimate` || Start animation || Used. ||
618
37175ce322cb Some additions
Wuzzy
parents: 592
diff changeset
    20
|| `gmPrecise` || Precise || _Not used._ ||
1109
6c9c95f51638 remove the annoying ????
nemo
parents: 1099
diff changeset
    21
|| `gmRemoveFromList` || Remove from gear list || _Not used._ ||
6c9c95f51638 remove the annoying ????
nemo
parents: 1099
diff changeset
    22
|| `gmAddToList` || Insert in gear list || _Not used._ ||
6c9c95f51638 remove the annoying ????
nemo
parents: 1099
diff changeset
    23
|| `gmDelete` || Delete gear || _Not used._ ||
618
37175ce322cb Some additions
Wuzzy
parents: 592
diff changeset
    24
|| `gmAllStoppable` || Bitwise OR of `gmLeft`, `gmRight`, `gmUp`, `gmDown` `gmAttack` and `gmPrecise` ||_Not used._ ||
517
34caff484bbd First draft of a list of gear messages. Hey, it’s better than nothing!
almikes@aol.com
parents:
diff changeset
    25
1109
6c9c95f51638 remove the annoying ????
nemo
parents: 1099
diff changeset
    26
gmAddToList and gmRemoveFromList are intended for use by the engine when changing order of gears in the list.  It is not recommended that lua change these, and at present they are used together when changing a gear's Z.  For example, if lua set gmRemoveFromList, it would cause a leak of the gear, since lua would no longer be able to restore it.  Setting both together would have no effect since lua cannot at present change Z.
6c9c95f51638 remove the annoying ????
nemo
parents: 1099
diff changeset
    27
1099
360ee8a95a1f remove line number
nemo
parents: 798
diff changeset
    28
See https://hg.hedgewars.org/hedgewars/file/default/hedgewars/uConsts.pas (search for "gear messages") for a current list.