Posts
123
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
so im trying to get my audio to play when i look at certain objects so i set up a trigger lookat and put the KVP's in and whenever i look at the trig the audio doesnt play so i was wondering if theres something else i need to do? and i have the audio converted and in the mod.ff i used ZK's tutorial
i will try the trigger_use then so how would i add the islookingat(org) utility function? first map pretty new to this
so would i put this anywhere in the script? and thats for mapname.gsc correct?
so with the variables i just change "trigger" to "trigger_use" then "targetname" to the kvp targetname i gave in radiant? and then the hintstring would be the same targetname?
so &&1hintstring will show the use button and the arrays are to bring down the line count?
alright does this look right?
trigger = getEnt("trigger_use","zk_eggtrig");
trigger setup();
setup()
{
self setHintString("&&1hintstring");
i got a bad syntax error idk if this is exactly right