View Single Post
  #6  
Old 05-21-2005, 06:34 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Quote:
Originally Posted by Stefan
with(this)?? x-x
You need to use the "clientside" action like in old script, but it is planned that the triggerserver/triggerclient functions like in Graal3D are added to Graal2D to make it simplier.
It is the only way to use triggeraction() when there is no currently associated player. (That I can see).

What do you mean that I need to use the clientside action? I already am, it's just that you can't do something like this from GScript2 right now:

HTML Code:
temp.player = findplayer("SomePlayer");
temp.player.triggeraction(0, 0, "clientside", "Weapon", etc...);
You have to do:
HTML Code:
temp.player = findplayer("SomePlayer");
with (temp.player)
{
  triggeraction(0, 0, "clientside", "Weapon", etc...);
}
Reply With Quote