Yes, the command has a second parameter that lets you specify where it will be positioned. It's described in the manual.
cEgo.AddInventory (iKey, 1);
cEgo.AddInventory (iKey, 1);
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
function on_mouse_click(MouseButton button) {
if (mouse == eMouseLeft){
oProjectile.Visible = true;
oProjectile.Move (mouse.x, mouse.y, 10, eNoBlock, eAnywhere);
}
}
function repeatedly_execute() {
if (GetCharacterAt (oProjectile.X, oProjectile.Y) != null){
Character * target = GetCharacterAt (oProjectile.X, oProjectile.Y);
// then script "target"'s fate here...
}
}
Quote from: Darth Mandarb on Fri 23/08/2013 12:59:24
I picked up the book as well.
I can't guarantee my participation (working full time, working on a game (shhh!), planning a wedding, you know... the usual stuff) but I loved the idea enough to at least hope I can read along!
Quote from: Squinky on Sat 24/08/2013 02:13:07Code: ags // room script file function room_RepExec() { if (IsTimerExpired(1)) { cEgo.ChangeRoom (1, 620, 420); Display("Timer 1 expired"); Display ("Reset Zombie 1"); } if (cEgo.Room==1){ cEgo.FollowCharacter (cChar1); } } //Zombie scripts function cEgo_AnyClick() { Display ("Zombie destroyed"); cEgo.StopMoving (); cEgo.ChangeRoom (2); SetTimer(1,200); }
Quote from: AGA on Mon 19/08/2013 19:22:56
45cm, baby!
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.206 seconds with 18 queries.