Difference between revisions of "TNewPlayer.Dummy"
(→Description) |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
'''''property TNewPlayer.Dummy: Boolean''''' | '''''property TNewPlayer.Dummy: Boolean''''' | ||
| − | + | Access mode: RW | |
==Description== | ==Description== | ||
| − | + | If a bot is a dummy bot or not. | |
== Example == | == Example == | ||
Latest revision as of 22:36, 30 June 2013
property TNewPlayer.Dummy: Boolean Access mode: RW
Description
If a bot is a dummy bot or not.
Example
var
MyBot: TNewPlayer;
begin
MyBot := TNewPlayer.Create;
try
MyBot.Name := 'Not so cool test bot!';
MyBot.Team := 1;
MyBot.Dummy := True; //he may be useful for target practice
MyBot.PantsColor := $FFFFFFFF;
MyBot.SkinColor := $FFFFFFFF;
Players.Add(MyBot);
finally
MyBot.Free;
end;
end;