![]() |
|
|
#1 |
|
Registered User
Join Date: Feb. 16th, 2006
Posts: 24
|
First parameter in spawn() function?
What is it supposed to be?
I looked at http://udn.epicgames.com/Two/ActorFunctions#Spawn but i don't understand what the first parameter is supposed to be, there's no explaination. Could someone just give me a couple examples of use of this function with all the optional parameters filled in? Oh and as far as the context is concerned, I'm trying to spawn actor.navigationpoint.flagbase i know this is a n00b question but please forgive me thanks Last edited by {WE}Blue; 17th Feb 2006 at 11:06 AM. |
|
|
|
|
|
#2 |
|
__________________
64 65 61 74 68 62 6f 6f 67 65 72 73 20 6d 6f 74 68 65 72 20 6f 66 20 63 6f 75 72 73 65 ![]() Liandri Archives - A veritable smorgasbord of information about the Unreal series If Titanic taught me anything, it's to never let go until you're a frozen corpse staring hopelessly into a barren horizon. |
|
|
|
|
|
|
#3 | |
|
Registered User
Join Date: Feb. 16th, 2006
Posts: 24
|
Quote:
you wouldn't by any chance be able to show me an example of adding a flagbase at a specified location would you? |
|
|
|
|
|
|
#4 |
|
I couldn't say exactly... I'm guessing something like:
myFlagBase = Spawn(class'x[Blue][Red]FlagBase',,,Location,Rotation);
__________________
64 65 61 74 68 62 6f 6f 67 65 72 73 20 6d 6f 74 68 65 72 20 6f 66 20 63 6f 75 72 73 65 ![]() Liandri Archives - A veritable smorgasbord of information about the Unreal series If Titanic taught me anything, it's to never let go until you're a frozen corpse staring hopelessly into a barren horizon. |
|
|
|
|
|
|
#5 | |
|
Registered User
Join Date: Feb. 16th, 2006
Posts: 24
|
Quote:
So first I run a conditional to check if the map is DM-Turbine If the conditional is true, then it adds a red flag at loacation (-1520,-111,-192) and a blue flag at location (1215,-128,-79) with yaw pitch and roll all 0. and can i just put this code in my gametype.uc class? I want the whole mod to only have 1 .u file. oh and i should remind that this is for UT99 sorry i'm a total n00b |
|
|
|
|
|
|
#6 |
knowing it is for UT99 would have been helpful
__________________
64 65 61 74 68 62 6f 6f 67 65 72 73 20 6d 6f 74 68 65 72 20 6f 66 20 63 6f 75 72 73 65 ![]() Liandri Archives - A veritable smorgasbord of information about the Unreal series If Titanic taught me anything, it's to never let go until you're a frozen corpse staring hopelessly into a barren horizon. |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|