Jump to content

Finding Players


GR_Modder

Recommended Posts

Err, I bin away coupla days in da 'big smoke' :lol:

I don't think you can do it. You can get a players name but I don't know of a way to query it in the sense of 'is present'. ActorActive won't work I think, because GR assigns it's own variable for the game engin to use. You could display a list of which players are present but I guess you can do that anyway by looking at the score. I'll take a look, but yeah, I think it may require an external app. We'll need the mighty Don for dat :thumbsup:

Link to comment
Share on other sites

Err, I bin away coupla days in da 'big smoke'  :lol:

What a weekend to come to Melbourne... :P

Saturday was the coldest day we've had this winter, and Sunday wasn't much better... :blink:

Edited by blistr
Link to comment
Share on other sites

LMAO, are you drunk Jack?

Come again :huh: That one went right by me :unsure:

Well as GR modder explains. Finding a player ingame (using the script) so you can make messages to showup or sounds being triggered :D.

Sure you can look in the scoring screen if he was playing but than what fun was there inside the mission??

I was just joking Jack I was confused by that answer cause I thought you knew what GR modder meant when reading your post about Don, so its logically to think you were drunk giving that answer :D

Link to comment
Share on other sites

Well, I really cant see a way to do it in IGOR.

Otherwise Jack would have told us already how to do it dont you think :D.

Maybe we should just ask Don cause I think thats the only solution to this.

It would be really great if this works :D, ill bet many guys will have good laughs :rocky:

Edited by el nino foxhound
Link to comment
Share on other sites

Is it possible through the script to determine if a certain person is playing the game?

If you just want to address a message to a particular player you can use GetActorOwnerName. Otherwise I don't think you can script an event to affect a particular player by his name because GR uses it own variable names to reference players not he ones we give ourselves.

Link to comment
Share on other sites

  • 2 weeks later...
where can I use 'Get actor own name'???

Here is an example of where you can get it. There are a lot more places you can use it, but have the same basic principle.

Example:

Group: <Default>

Comment:

Trigger Event:

Your trigger here

Responses:

Display ((The owner of (The actor with the most kills)) + " had the most kills") to all players.

This would be acheived by selecting DisplayMessageAll.

Message=Query=ConcenateStrings

Start=GetActorOwnerName-Actor=Query=GetActorOwnerName

End=had the most kills

Link to comment
Share on other sites

ah well, my thought didn't work :(

I thought of comparing the "actor nearest location" thing to a variable/integer or whatever, and if equal, script in some actions using "variable set" to that actor, but it didn't work out :(

It's a nice thought tho, checking whether someone is playing and then script in some reactions to it (eg. a nice plan to kill only that one actor

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...