Do they mean wkattack or wattack?Making a Turret
All that is required to make the robot act as a turret
which can fire upon the player when approached, is to make
the robot face the player before it fires. A single command, is
all that is required to do this. Modify the Attack Order to add
the following command.
Attack[()
{
RotateToPlayer(“wattack”, 160, false, ””);
FireProjectile(“pistolbullet”,”HandR”,0,0,0,”health”,””);
Delay(“stattack”,1,””);
RestartOrder();
}]
RotateToPlayer is a very useful command that turns
the Robot into a dangerous player enemy. By adding this
command, the robot will turn to face the player before firing at
it. Here is a breakdown of the parameters.
· wkattack - This is the name of the animation to be played
while the rotation is occurring. In this case the animation is
Asking for verification
Asking for verification
Whilst reading Dan Valeo's book on RF, I found a typo. It is bolded below:
Crator Games at http://atfreeforum.com/crator/index.php
- ardentcrest
- Posts: 735
- Joined: Wed Jan 25, 2006 10:55 pm
- Location: Ireland
Re: Asking for verification
all you need to make a turret actor
demo, scripts and a how to do it.
http://filestore.rfcommunity.0lx.net/do ... hp?list.15
hope this helps
demo, scripts and a how to do it.
http://filestore.rfcommunity.0lx.net/do ... hp?list.15
hope this helps
He's a Bot Jim, But not as we know It.