I'm confused, I thought that for ctf mode you just placed a flag in-game and then added the needed scripting. What do these lines do then?
-- spawn Holodisk
Holocron1Spawn = GetPathPoint("HolodiskSpawn", 0) --gets the path point
CreateEntity("pol_icon_disk", Holocron1Spawn, "pol_icon_disk") --spawns the disk
And more improtantly how do I get that to work?
What is this line for?
Moderator: Moderators
- wishihadaname
- Captain

- Posts: 493
- Joined: Fri Dec 28, 2007 2:10 pm
- Projects :: The Corellian Resistance
- Location: Look to your left.... no, your other left....
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: What is this line for?
you should have a path called "HolodiskSpawn", the code spawns the holodisk on it
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: What is this line for?
Additionally, (correct me if I'm wrong, but I don't think I am) the path should have only one point.
