PDA

View Full Version : [Solved] how to Toggle Actor Visibility ? [UnrealScript/Kismet ]



adityagameprogrmer
02-22-2010, 12:06 AM
Hi,
how do i toggle Actor Visibility using Kismet

i have a trigger in the level and im able to trigger animations
but i have a model in level whose visibility i want to toggle.

where can i find the visibility modifier ???
Edit
Through UnrealScript You can Achieve it like this


/**
* Changes the value of bHidden.
*
* @param bNewHidden - The value to assign to bHidden.
*/
native final function SetHidden(bool bNewHidden);


also a very useful set of Actor Native Functions are available at
http://wiki.beyondunreal.com/UE3:Act...ions_%28UDK%29

Zerav
02-22-2010, 10:48 PM
Look at Actor-Toggle-Toggle Hidden.

adityagameprogrmer
02-23-2010, 12:29 AM
in kismet?
where exactly is that?
i find the toggle hidden property in toggle too. as per the kismet reference .
http://udn.epicgames.com/Three/KismetReference.html#Toggle
but im not able to locate it on the kismet interface.
Edit :
ok found it
New Action-Toggle-Toggle Hidden

the model as a new object var and its done :)
cant believe i missed this >_<