setMimic – Talk
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
:[[User:Planck|Planck]] 12:13, 31 August 2007 (CEST) | :[[User:Planck|Planck]] 12:13, 31 August 2007 (CEST) | ||
It is not possible to execute setmimic on the server to affect a unit on the client. Please use talk page next time. | |||
--[[User:Killzone_Kid|Killzone Kid]] (in the edit comment) | |||
:That's correct, the command has only "local effects", i.e. when executing the command on the server or on client x there's no effect visible on client y. | |||
:But you've probably misunderstood the meaning of "local arguments" - it means that the command only can be used where the argument (object, group, ...) is local, i.e. where [[local]] returns [[true]] for the argument. | |||
:Because a command with "local effect" and "local arguments" is pretty unlikely (and mostly useless, too) I had tested it before I've done my edit - and indeed: on the server executing [[setMimic]] on a unit which is local to the server didn't change the mimic on the client, but executing the command on my client - where the unit isn't local - worked fine, i.e. "local effect" and "global arguments". | |||
:--[[User:Master85|Master85]] 02:54, 5 September 2013 (CEST) |
Revision as of 02:54, 5 September 2013
is MimicType 'agresive' correct or is this a copied over typo from the comref? ook? 08:52, 31 August 2007 (CEST)
- Agresive is both correct and incorrect.
- It is correct in that the classname in cfgMimics is called 'class Agresive'.
- It is incorrect in that it should be spelt 'Aggressive'.
- Of course we cannot change it as the game will not find class Aggressive in cfgMimics.
- Planck 12:13, 31 August 2007 (CEST)
It is not possible to execute setmimic on the server to affect a unit on the client. Please use talk page next time.
--Killzone Kid (in the edit comment)
- That's correct, the command has only "local effects", i.e. when executing the command on the server or on client x there's no effect visible on client y.
- But you've probably misunderstood the meaning of "local arguments" - it means that the command only can be used where the argument (object, group, ...) is local, i.e. where local returns true for the argument.
- Because a command with "local effect" and "local arguments" is pretty unlikely (and mostly useless, too) I had tested it before I've done my edit - and indeed: on the server executing setMimic on a unit which is local to the server didn't change the mimic on the client, but executing the command on my client - where the unit isn't local - worked fine, i.e. "local effect" and "global arguments".
- --Master85 02:54, 5 September 2013 (CEST)