Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-30-2009, 11:00 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
triggeraction2()

It's come to my attention that a triggerAction2(x, y, width, height, str, params, ...) could help out in many cases dealing with an area larger than a pixel on a level.
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #2  
Old 11-30-2009, 11:01 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
What would it be used for? Normally it's better to trigger a DB NPC or weapon from clientside.
__________________
Reply With Quote
  #3  
Old 11-30-2009, 11:10 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
I support this

Quote:
Originally Posted by cbk1994 View Post
What would it be used for? Normally it's better to trigger a DB NPC or weapon from clientside.
What are you talking about? o_O
Reply With Quote
  #4  
Old 11-30-2009, 11:11 PM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by cbk1994 View Post
What would it be used for? Normally it's better to trigger a DB NPC or weapon from clientside.
It would be for triggering in-level objects.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #5  
Old 11-30-2009, 11:20 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
It'd also be cool to have a triggeraction that triggered regardless of blocking and also triggered through multiple NPCs. Right now it's unreliable to use triggeractions for communicating serverside/clientside as if there's another NPC in the way it won't be caught by the intended NPC.
Reply With Quote
  #6  
Old 11-30-2009, 11:21 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Quote:
Originally Posted by DustyPorViva View Post
It'd also be cool to have a triggeraction that triggered regardless of blocking and also triggered through multiple NPCs. Right now it's unreliable to use triggeractions for communicating serverside/clientside as if there's another NPC in the way it won't be caught by the intended NPC.
This too

Quote:
Originally Posted by cbk1994 View Post
What would it be used for? Normally it's better to trigger a DB NPC or weapon from clientside.
Well I'm using it for a grabbing function to pick up things and open doors (see image), which would be easier to do if I could get the whole area in front of the player instead of just a pixel. It could also be used for hit detection as well as level objects like Tig said.

The light green is what's being triggered.
Inside the dark green is what I want to be triggered (one time for each NPC in the area).
Attached Thumbnails
Click image for larger version

Name:	grab.PNG
Views:	129
Size:	5.5 KB
ID:	49946  
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #7  
Old 12-01-2009, 12:25 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
You can use findareanpcs() for such things.
Reply With Quote
  #8  
Old 12-01-2009, 12:33 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Ah, I see. I support this, it could be quite useful.

Quote:
Originally Posted by Stefan View Post
You can use findareanpcs() for such things.
Indeed, but you would have to do it serverside in order to trigger the level NPCs since there's no reliable way of triggering the NPC you want in a level from clientside.

We are, in fact, doing just that on Era/Era dev, but I can still imagine some uses for this.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.