Frictional Games Forum (read-only)

Full Version: How do you turn off the "hand" icon when looking at a Area trigger?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(01-04-2013, 03:27 AM)Statyk Wrote: [ -> ]I believe you're looking for this function:

void ShowPlayerCrossHairIcons(bool abX);

Almost what im looking for, except it shows no cross hair in the whole game, There must be a way to turn it off ONLY for script area's. Ive seen it in the Amnesia game and other custom story's. Well there is a first step for everything. Close but no cigar.
I found changing the focus of the Area from -1 to 0 does the trick, had a bit of trouble with that myself Smile

That will only work if you're having the player or an entity collide with the area. I haven't tried it with interactions or on look Areas
(01-04-2013, 12:05 AM)jssjr90 Wrote: [ -> ]
(01-03-2013, 11:32 PM)i3670 Wrote: [ -> ]You have an interact-callback either in the script or in the area itself.

I don't quit understand, how do you do that?

Pick the problem Script Areas and on the right of the Level Editor, pick the "Area" tab. Remove anything in the entrybox labeled "PlayerInteractCallback".

That is what is probably causing your issue, otherwise, could you give us screenshots of this script area and/or be more specific? What I'm getting is any script area you place down, automatically has player interaction enabled... That doesn't sound right.
Quote: Pick the problem Script Areas and on the right of the Level Editor, pick the "Area" tab. Remove anything in the entrybox labeled "PlayerInteractCallback".

...And after 2 years of self learning and experimenting with the HPL2 editor, jssjr90 finally figures out that you don't need a function name in the entrybox labeled "PlayerInteractCallback" or "PlayerCollideCallback" box, the function only needs to be declared in the script file itself!


Boy...I should get the most over looked award of the year! I thought by doing what ive been doing was correct and did not come to my thought to try other means of doing scripts. Now I half to go back though all the 65 levels and go though all the scripts that are collide script areas and leave that box blank! 2 years ive been doing this!!! I am so special!


Thank you Statyk for ending my frustration with this hand icon thing. And it only took be 2 years to get there. Well its 4:58am and im tired. Been working on that castle, adding land in front of it. Anyways, the tinyist mistakes are mostly overlooked. Like finding your car keys or remote. Good night.
Lol no problem. I just learned yesterday what clip planes are/do in the Level editor. =P
Pages: 1 2